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

Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check #112

Open
hotdogarea opened this issue Mar 13, 2024 · 5 comments

Comments

@hotdogarea
Copy link

image
image

how should i do?

@hotdogarea
Copy link
Author

image

@fychinesepjj
Copy link

你可以进入 X:\stable-diffusion-webui\venv 文件夹,这里有一个python版本,它内部安装了torch 版本是cpu版本,你删除env文件夹,修改launch.py源码,指定torch的安装是GPU版本,重新运行webui就行了,它会自动安装。
这个问题就是这个插件造成了,导致stable-diffusion都不能正常使用了

@fychinesepjj
Copy link

#86

@hotdogarea
Copy link
Author

hotdogarea commented Mar 14, 2024 via email

@ghost
Copy link

ghost commented Mar 25, 2024

感谢🙏 我卸载了torch torchvison torchaudio 重新安装和cuda cudnn对应的版本后 解决了! 发自我的iPhone

------------------ Original ------------------ From: fychinesepjj @.> Date: Thu,Mar 14,2024 11:23 AM To: numz/sd-wav2lip-uhq @.> Cc: hotdogarea @.>, Author @.> Subject: Re: [numz/sd-wav2lip-uhq] Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check (Issue #112) 你可以进入 X:\stable-diffusion-webui\venv 文件夹,这里有一个python版本,它内部安装了torch 版本是cpu版本,你删除env文件夹,修改launch.py源码,指定torch的安装是GPU版本,重新运行webui就行了,它会自动安装。 这个问题就是这个插件造成了,导致stable-diffusion都不能正常使用了 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

你是咋解决了?我也遇到同样问题了

@ghost
Copy link

ghost commented Mar 25, 2024

**修改launch.py源码,指定torch的安装是GPU版本,**这个是咋修改?怎么指定torch直接安装GPU版本的?

你可以进入 X:\stable-diffusion-webui\venv 文件夹,这里有一个python版本,它内部安装了torch 版本是cpu版本,你删除env文件夹,修改launch.py源码,指定torch的安装是GPU版本,重新运行webui就行了,它会自动安装。 这个问题就是这个插件造成了,导致stable-diffusion都不能正常使用了

@jonk999
Copy link

jonk999 commented Apr 20, 2024

@hotdogarea are you able to provide more info on what you did to get it working? Example commands to run to uninstall and reinstall the correct versions as I'm not familiar with what commands need to be run.

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

3 participants