Repository navigation
v0.4.0-alpha: CPU-validated, not run on GPUs
Pre-release
Pre-release
·
373 commits
to main
since this release
CPU-validated. Nothing in this release has run on a GPU or on RDMA hardware. It is not on PyPI.
uv pip install "gpubridge @ git+https://github.com/DavidCzartoryski/gpubridge@v0.4.0-alpha"Requires Python 3.10+ and PyTorch 2.8+. On GPU nodes, install the CUDA or ROCm build of PyTorch first.
What's new since v0.3.0-alpha
All of it is opt-in or experimental, and none of it is validated on GPUs.
- gpubridge as a
torch.distributedbackend (experimental).dist.init_process_group(backend="gpubridge")runs DDP and FSDP2 collectives through gpubridge across vendor islands. Before torch 2.14, addimport gpubridge; on 2.14 and later, a lazy entry point registers the backend. Nothing hooksimport torch. Unsupported calls (point-to-point, all-to-all, reduce, other reductions) are refused before any communication. Design: docs/TORCH_BACKEND.md (#38). - Subgroups and HSDP on the backend (experimental).
new_groupand multi-dimensionalDeviceMeshgroups get their own topology: native-only within one vendor, bridged across vendors. HSDP with shard groups set to the vendor islands keeps all-gathers and reduce-scatters inside each vendor and sends one replicate all_reduce per step over the bridge. Before patching a private torch function, subgroup creation checks that it is what gpubridge expects; if not, it refuses with an error naming the torch version (#39, #40). - Opt-in bridge compression,
GPUBRIDGE_BRIDGE_COMPRESSION=bf16|fp8. It is off by default, and with it on, results are no longer bit-exact against the uncompressed sum. Triton kernels do the work, with a PyTorch fallback; every rank still ends with the same bits. Design and error bounds: docs/COMPRESSION.md (#37). - An opt-in UCX bridge transport,
init(bridge="ucx"). It was tested only on CPU, over UCX's TCP transport, and was not run on InfiniBand/RoCE or with GPUDirect RDMA. Design and open questions: docs/RDMA_TRANSPORT.md (#35). - Fixed: the two-node job tests no longer hang on machines whose own hostname doesn't resolve (#36).
See CHANGELOG.md for the full list.
Validated (on CPU)
CI ran the full test suite in CPU simulation on Python 3.12 with the newest torch and on Python 3.10 with torch 2.8.0, plus the UCX bridge tests over TCP. Nothing in this release has run on GPUs.
Not yet validated
Anything on GPUs or RDMA hardware. HARDWARE_VALIDATION.md lists each open item, and the runbook maps each one to a script.