-
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
Failed to install apex on Ubuntu 22.04 with 4090 GPU #1563
Comments
Could you confirm whether or not the header file of |
@crcrpar thanks for your response. I searched for the file in the whole machine with `./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cudaVDPAU.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cuda_awbarrier_helpers.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cuda_gl_interop.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cudaEGL.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cuda_fp16.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cuda_awbarrier.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cuda_surface_types.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cudart_platform.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cuda_pipeline.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cuda_device_runtime_api.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cuda_texture_types.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cudaEGLTypedefs.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cuda_pipeline_primitives.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cuda_occupancy.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cuda_awbarrier_primitives.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cuda_bf16.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cudaProfilerTypedefs.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cudaGL.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cuda_pipeline_helpers.h ./anaconda3/pkgs/cuda-cudart-dev-11.7.99-0/include/cudaGLTypedefs.h I found a cuda_profiler_api.h file here, should I copy it to a certain directory in my machine? |
Hmm, I can’t tell the compatibility of the header you found. the missing header should come when installing cuda… |
Based on the output it seems you are trying to use the CUDA compiler from
Note that you would need a locally installed CUDA toolkit as I don't know if this Let us know if you still have trouble building from source after installing the CUDA toolkit locally and reopen if needed. |
I have the same issue, how to install the CUDA toolkit locally |
I'm trying to install apex as one of the dependencies of training OpenNMT model with the following codes from:
but it always failed. Here is the installation log:
Here's the basic information of my Ubuntu server:
nvidia-smi
shows that NVIDIA-SMI 525.60.11 Driver Version: 525.60.11 CUDA Version: 12.0 in the original setting, but I install 11.7 later, I'm not sure whether this will have impacts on the apex?I found some similar installation problems have been reported in the issues, and I tried many times according to guides, but always failed. Anyone can help me solve the problem? Thank you guys very much!
The text was updated successfully, but these errors were encountered: