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

windows端是否支持通过zluda方式调用amd GPU训练和推理 #1076

Open
lqyiwwx opened this issue May 11, 2024 · 7 comments
Open

windows端是否支持通过zluda方式调用amd GPU训练和推理 #1076

lqyiwwx opened this issue May 11, 2024 · 7 comments

Comments

@lqyiwwx
Copy link

lqyiwwx commented May 11, 2024

疑问,求大佬解释一下

@lqyiwwx
Copy link
Author

lqyiwwx commented May 11, 2024

https://www.bilibili.com/read/cv32897766/?jump_opus=1
这是一个sd-webui通过zluda调用amd 780m核显案例,可以很好的支持zluda的调用。

@lqyiwwx
Copy link
Author

lqyiwwx commented May 11, 2024

DML也可以考虑支持一下,虽然性能损耗比zluda大,但是他支持GPU的驱动比较多。

@quuee
Copy link

quuee commented May 14, 2024

通过这篇https://github.com/vladmandic/automatic/wiki/ZLUDA 教程我可以打印cuda为true,我想做一个通用基础环境可以运行其他项目,但是每个项目需要的环境都不相同,费了很大精力也无法让项目运行GPU,脑壳痛

@lqyiwwx
Copy link
Author

lqyiwwx commented May 14, 2024

通过这篇https://github.com/vladmandic/automatic/wiki/ZLUDA 教程我可以打印cuda为true,我想做一个通用基础环境可以运行其他项目,但是每个项目需要的环境都不相同,费了很大精力也无法让项目运行GPU,脑壳痛

谢谢,大佬回复,加油,一起努力

@quuee
Copy link

quuee commented May 15, 2024

通过这篇https://github.com/vladmandic/automatic/wiki/ZLUDA 教程我可以打印cuda为true,我想做一个通用基础环境可以运行其他项目,但是每个项目需要的环境都不相同,费了很大精力也无法让项目运行GPU,脑壳痛

谢谢,大佬回复,加油,一起努力

我的环境pip install torch==2.2.1 torchvision==0.17.1 torchaudio==2.2.1 --index-url https://download.pytorch.org/whl/cu118
需要在代码里添加自己的amd显卡型号
但是运行打标时出现cudnn内部错误,无法像秋叶大佬那样可以用zluda转译,不知道怎么弄了

@KamioRinn
Copy link
Contributor

可以通过linux进行训练推理,win下单靠zluda目前无法简单修改支持训练,推理可以

@quuee
Copy link

quuee commented May 18, 2024

可以通过linux进行训练推理,win下单靠zluda目前无法简单修改支持训练,推理可以

我已经放弃在windows下使用zluda。ubuntu环境下运行该项目没有问题,但是我还不太会用gpt-sovits,特别是需要切割语音时长(le
10sec),我对那几个切割参数有点糊涂...

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