nixpkgs/pkgs/development/python-modules/compressed-tensors
Ihar Hrachyshka 65b802a6fd python312Packages.torch: build torch.distributed on darwin
It's disabled on MacOS by default:
https://pytorch.org/docs/stable/distributed.html#torch.distributed.is_available

When distributed module build is enabled, a compilation error happens on
fresh clang.

Upstream repo (which is a submodule in pytorch) is archived so it's
impossible to contribute the fix there. Instead, an inline patch is
included that is enough to fix the error.

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-01 21:23:51 -04:00
..
default.nix python312Packages.torch: build torch.distributed on darwin 2025-04-01 21:23:51 -04:00