Commit 4e8d046
build: install fast-hadamard-transform with no build isolation
megatron-core[dev] (pulled in via the bumped Megatron-Bridge rev) now depends
on fast-hadamard-transform, a Dao-AILab CUDA extension that imports torch in
setup.py. Under build isolation uv builds it in a torch-less env, so the
container build fails with "ModuleNotFoundError: No module named 'torch'".
The previous extra-build-dependencies fix is silently ignored by the
CI-pinned uv 0.7.2 (unknown field warning). Add the package to
no-build-isolation-package instead, matching the other torch-at-build-time
packages (transformer-engine, mamba-ssm, causal-conv1d, nv-grouped-gemm);
torch is available from the PyTorch base image via --system-site-packages.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>1 parent e67b52c commit 4e8d046
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| |||
0 commit comments