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

Cuda version problem #27

Open
RRaphaell opened this issue Feb 13, 2024 · 2 comments
Open

Cuda version problem #27

RRaphaell opened this issue Feb 13, 2024 · 2 comments

Comments

@RRaphaell
Copy link

I'm trying to run this script on aws sagemaker

cd doremi && bash scripts/setup_flash.sh

it throws an error:

The detected CUDA version (12.1) mismatches the version that was used to compile
      PyTorch (11.7). Please make sure to use the same CUDA versions.
@Richard-Wth
Copy link

May I ask if you have solved this problem? I face the same problem.

@Richard-Wth
Copy link

You can install a cuda 11.7 in /usr/local and add the following configuration to the bashrc file:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-11.7/lib64
export PATH=$PATH:/usr/local/cuda-11.7/bin
export CUDA_HOME=/usr/local/cuda-11.7
Finally, run source bashrc. Then the compilation will succeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants