Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (51 loc) · 1.85 KB
/
Copy pathpyproject.toml
File metadata and controls
56 lines (51 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[build-system]
# _C links against libtorch, and WorkMCCL derives from c10d::Work, so the vtable picks up
# whatever virtuals the build-time torch declares. Building in pip's isolated env against a
# different torch than the install target yields a wheel that cannot dlopen
# (Symbol not found: c10d::Work::getTimeout). Prefer `pip install --no-build-isolation` so the
# build sees the installed torch; this range only bounds the isolated-build fallback.
requires = [
"setuptools>=68.0",
"wheel>=0.41",
"torch>=2.13,<2.16",
]
build-backend = "setuptools.build_meta"
[project]
name = "mccl"
version = "6.9.1"
description = "MPS-native ProcessGroup backend for PyTorch Distributed on Apple Silicon"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.11"
# CI installs torch from the PyTorch nightly index (see .github/workflows/ci.yml) to track MPS / distributed churn.
dependencies = [
"numpy>=1.20",
"torch>=2.5.0",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
[project.urls]
Repository = "https://github.com/mps-ddp/mccl"
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-timeout>=2.1",
]
[tool.setuptools.packages.find]
include = ["mccl*"]
[tool.pytest.ini_options]
addopts = "--tb=short --capture=no --log-cli-level=WARNING"
log_file = "test_failures.log"
log_file_level = "DEBUG"
markers = [
"timeout: Max seconds for this test (enforced by pytest-timeout; install dev extra).",
"slow: Long-running or redundant tests skipped in default CI (run nightly or with -m slow).",
]