vosen / ZLUDA

CUDA on non-NVIDIA GPUs
https://vosen.github.io/ZLUDA/
Apache License 2.0
9.73k stars 636 forks source link

PYTORCH (FLOW FRAMES) #104

Open bisher13 opened 9 months ago

bisher13 commented 9 months ago

does Zluda recompile any python /pytorch to be compatible with amd gpu Like rife frame interpolator or its hard to make it ? i test and the programe doesnt detect my amd gpu by using rife on zluda

lshqqytiger commented 9 months ago

I built one that has better compatibility with pytorch. You can find it on my fork. You have to replace some dll files of pytorch with ZLUDA's. ps. cuDNN is unavailable for now. Disable it.

liuyang6055 commented 8 months ago

I built one that has better compatibility with pytorch. You can find it on my fork. You have to replace some dll files of pytorch with ZLUDA's. ps. cuDNN is unavailable for now. Disable it.

hello, I would like to ask a PyTorch question,I used Ubuntu 22.04, AMD GPU, ZLUDA, and I found that the compilation of pytorch did not use zluda/target/release. So how does zluda work?

The model I am using is fairseq.

lshqqytiger commented 8 months ago

My comment is mainly for Windows users. PyTorch built with CUDA for Windows has some dll files of CUDA (cublas, cudnn, etc). We can replace them with ZLUDA's dll files to make it work. I don't know how about Linux because I haven't tried ZLUDA on Linux.