Files
mscclpp/docs
Binyang Li eeea00b298 Support python wheel build (#787)
## Support Python wheel build

This PR modernizes the Python packaging for MSCCL++ by defining
dependencies and optional extras in `pyproject.toml`, enabling proper
wheel builds with `pip install ".[cuda12]"`.

### Changes

**`pyproject.toml`**
- Add `dependencies` (numpy, blake3, pybind11, sortedcontainers)
- Add `optional-dependencies` for platform-specific CuPy (`cuda11`,
`cuda12`, `cuda13`, `rocm6`), `benchmark`, and `test` extras
- Bump minimum Python version from 3.8 to 3.10

**`test/deploy/setup.sh`**
- Use `pip install ".[<platform>,benchmark,test]"` instead of separate
`pip install -r requirements_*.txt` + `pip install .` steps
- Add missing CUDA 13 case

**`docs/quickstart.md`**
- Update install instructions to use extras (e.g., `pip install
".[cuda12]"`)
- Document all available extras and clarify that `rocm6` builds CuPy
from source
- Update Python version references to 3.10

**`python/csrc/CMakeLists.txt`**, **`python/test/CMakeLists.txt`**
- Update `find_package(Python)` from 3.8 to 3.10

### Notes
- The `requirements_*.txt` files are kept for Docker base image builds
where only dependencies (not the project itself) should be installed.
- CuPy is intentionally not in base dependencies — users must specify a
platform extra to get the correct pre-built wheel (or source build for
ROCm).

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-16 21:24:45 -07:00
..
2026-01-21 20:32:24 -08:00
2026-04-07 13:37:02 -07:00
2025-08-11 10:34:29 -07:00
2026-02-03 10:13:20 -08:00
2025-10-23 00:34:53 +00:00
2025-10-23 00:34:53 +00:00
2025-12-19 15:17:08 -08:00
2023-11-22 12:58:04 -08:00
2025-08-07 15:37:37 -07:00
2026-01-21 20:32:24 -08:00
2026-02-03 10:13:20 -08:00
2024-10-18 06:08:31 +00:00
2025-08-07 15:37:37 -07:00

How to build docs

  1. Install doxygen.

    $ sudo apt-get install doxygen graphviz
    
  2. Install Python packages below. If you install them on the user's local, you need to include ~/.local/bin to $PATH (to use sphinx-build).

    $ sudo python3 -m pip install -r ./requirements.txt
    
  3. Create Doxygen documents.

    $ doxygen
    
  4. Create Sphinx documents.

    $ make html
    
  5. Done. The HTML files will be on _build/ directory.