Closed ad12 closed 4 years ago
Hi @ad12 ,
Thanks for your bug report. @wyli @IsaacYangSLA I think you guys are experts on the build system, could you please help take a quick look?
Thanks.
looks like the issue is "/usr/local/cuda/include/crt/host_config.h:138:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported!"
Could you please try: SKIP_MONAI_BUILD=1 pip install git+https://github.com/Project-MONAI/MONAI#egg=MONAI
this will skip the cpp/cuda extensions but still allows you to use most of the MONAI features
Ah I see- thanks for the note. The command above did work.
Which specific features are disabled as a result of building without the cpp/cuda extensions? From what I can tell, standard torch
cuda functionality (conv, etc.) is working fine. Also, is there a plan to support gcc>=8
?
Thanks for your help!
Had the very same problem under Windows 10. It is not a bug in MONAI, but in PyTorch. The call to ninja is wrong. Should be ninja --version, instead of ninja -v
Describe the bug Building wheels for MONAI, which uses PEP 517, fails.
To Reproduce
Expected behavior A clear and concise description of what you expected to happen.
Environment (please complete the following information):
**Relevant Conda/Pip packages***
Error Message