-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Open
Labels
module: buildBuild system issuesBuild system issuesmodule: third_partytriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
🐛 Describe the bug
Repro from @eqy
git clone https://github.com/pytorch/pytorch
TORCH_CUDA_ARCH_LIST=10.0 python setup.py develop
- open
third_party/cutlass/include/cutlass/arch/arch.h
for editing,
make random invalid changes to the file so it won't compile TORCH_CUDA_ARCH_LIST=10.0 python setup.py develop
observe the build completes normally, when it should fail
Alternatively, try to switch one of the ArchTags in aten/src/ATen/native/cuda/RowwiseScaledMM.cu
to Sm103 and observe the build breaks complaining that Sm103 isn't a member of cutlass::arch when it's clearly present in third_party/cutlass/include/cutlass/arch/arch.h
Versions
latest pytorch main branch, built from source
eqy
Metadata
Metadata
Assignees
Labels
module: buildBuild system issuesBuild system issuesmodule: third_partytriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module