-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Run fails (CUDA error) - Linux/RTX3070 #411
Comments
Can't really investigate this myself, but I think this warning message could give you a place to look if you want to give it a try:
Pull requests are welcome, in case you find something that ought to be added to avatarify-python :) |
I got it to work by replacing the install.sh conda commands with the following:
The first one is directly from the pytorch "get started" page. On the second one, I removed the specific versions to avoid version conflicts with the pytorch stuff. I also removed numpy from the install command, since it's already installed by pytorch. |
Nice that you fixed it! Hopefully alievk will have time to look at it, and decide if the same change can be done here, or if it would break something for people with older GPUs. Unfortunately I know nothing about conda |
Thanks but all this stuff is greek to me. I was surprised I got it to work the first time with step-by-step instructions. I have no friggin clue what to do to "adapt it to my OS" |
darrellenns' fix modifies install.sh which is for Linux, so if you're using Windows you'd have to make the corresponding changes to install_windows.bat I.e. you find the following two lines
replace them with
and then run install_windows.bat from a Command Prompt (so that you see any possible error messages) I can't verify this myself, since I don't have an RTX30xx card |
If I can stomach getting back into this task I will give that a shot man. Thanks a bunch
On 7/28/2021 5:13:14 AM, Johan Aires Rastén ***@***.***> wrote:
darrellenns' fix modifies install.sh which is for Linux, so if you're using Windows you'd have to make the corresponding changes to install_windows.bat
I.e. you find the following two lines
call conda install -y numpy==1.19.0 scikit-image python-blosc==1.7.0 -c conda-forge call conda install -y pytorch==1.7.1 torchvision cudatoolkit=11.0 -c pytorch
replace them with
call conda install -y pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c nvidia call conda install -y scikit-image python-blosc -c conda-forge
and then run install_windows.bat from a Command Prompt (so that you see any possible error messages)
I can't verify this myself, since I don't have an RTX30xx card
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub [#411 (comment)], or unsubscribe [https://github.com/notifications/unsubscribe-auth/ARE3EP66SC6I2WDQZTJ57JDTZ7J3VANCNFSM46MNJFIQ].
|
I had the same problem, but when I updated the torch witch cuda 11.x, torchvision got errors during start. My solution was to download the wheel file from this list: https://download.pytorch.org/whl/cu116/torch/ and instaling it with pip. |
how did you install it with PIP |
Is there a working build for avatarify desktop or Python for rtx 30s graphic cards yet?? |
@Big-sly I think people have successfully run it on rtx30xx cards, however there are currently issues with installation regardless of GPU so expect having to do some troubleshooting yourself. |
Describe the bug
Running via run.sh fails with the following CUDA error:
This is on up to date Arch Linux with an RTX 3070. The system has CUDA 11.3.0 installed, which works fine for other applications.
To Reproduce
Info (please complete the following information):
(note - $PYTHONPATH is not set)
Logs
Full run.sh error output
The text was updated successfully, but these errors were encountered: