Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compile/build cuda_ext on H100 #1778

Open
GuanhuaWang opened this issue Mar 1, 2024 · 0 comments
Open

Cannot compile/build cuda_ext on H100 #1778

GuanhuaWang opened this issue Mar 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@GuanhuaWang
Copy link

Describe the Bug

Try install on HGX-H100 nodes, pip install cannot enable build on cuda extensions like amp_C, etc.

Minimal Steps/Code to Reproduce the Bug

pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --config-settings "--build-option=--cpp_ext" --config-settings "--build-option=--cuda_ext" ./

also tried with -e, not helpful.

Expected Behavior

compile and build cuda extensions successfully.

Environment

cuda 12.2, torch 2.2.1

My temporary fix

My temporary fix is comment out check_cuda_torch_binary_vs_bare_metal in setup.py which force cuda_extension to build.

@GuanhuaWang GuanhuaWang added the bug Something isn't working label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant