-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
build Apex latest version failed with pytorch 1.4.0 due to missing ATen/cuda/DeviceUtils.cuh #1200
Comments
PyTorch recently removed THCDeviceUtils.cuh recently thus we needed the change you mentioned. |
Would you pls to provide a method to install apex on previous Pytorch? |
picking up a commit before #1191 may work -- https://github.com/NVIDIA/apex/commits/master |
maybe before #1171, commit between #1171 and #1191 doesn't work. |
Have you solved the problem? I am faced with this problem now. @AndyYuan96 |
Hi, I just solved my problem by rolling back the version of apex like this: |
yes, code changes commited at #1171, so, a little early version should work. A usable version zip: Download old version apex |
@crcrpar I think maybe apex should add something info into README.md file, which about these changes may affect some old version torch. |
git checkout -b f3a960f |
When running `make docker-build`, the following error occurs. (1) pip no more supports Python 3.6 It looks get-pip.py is updated on 03-Feb-2022 09:45. ERROR: This script does not work on Python 3.6 The minimum supported Python version is 3.7. Please use https://bootstrap.pypa.io/pip/3.6/get-pip.py instead. The command '/bin/bash -cu curl -O https://bootstrap.pypa.io/get-pip.py && python get-pip.py && rm get-pip.py' returned a non-zero code: 1 Makefile:65: recipe for target 'docker-build' failed make: *** [docker-build] Error 1 (2) NVIDIA apex build failure I got `ATen/cuda/DeviceUtils.cuh: No such file or directory`. As in NVIDIA/apex#1200, I roll back the version.
While i try to build the apex for my new pytorch env, there is a error says:
Actually, I could not find the file in the dir(Pytorch 1.4.0 just do not include this file), and I also found that the include dependency for
DeviceUtils.cuh
just added 1 month ago in the commit : cleanup missing THCDeviceUtils.cuh headerSo I can only build with an old-version-donwload-before apex to use (no bug in this time)
Is there something wrong with the recent commit?
The text was updated successfully, but these errors were encountered: