Running on Kepler #13286
Replies: 4 comments 17 replies
-
I didn't even imagine that anyone would be interested in making AI run on Kepler chips! I have a Kepler card with 4GB memory, which should technically be enough to fit SD in with a --lowvram argument. But I don't have the knowledge to make it work! |
Beta Was this translation helpful? Give feedback.
-
Hello, However, PyTorch only supports CUDA >3.5 and not CUDA 3.0, which is the baseline for the GT7XXX.Some people mention you could build PyTorch yourself for your CUDA 3.0 instructions, but I just gave up at that point. I found out that the only way to run models on those legacy hardware is through CLBlast NoAVX2. However, it's for textual models, not image ones. |
Beta Was this translation helpful? Give feedback.
-
I really need this in Windows... |
Beta Was this translation helpful? Give feedback.
-
@zceemja what steps are required to build Stable Diffusion for Titan Black GPU? |
Beta Was this translation helpful? Give feedback.
-
So everywhere I've seen in discussion it is impossible to run stable diffusion in Kepler GPUs except K80 because it supports CUDA compute capability 3.7. Main limitation to run it on CUDA 3.5 is that started pytorch packages come compiled without support for it, you can check it with:
But what if we compile torch with support for CUDA 3.5 support? Or even better, use precompiled torch from https://github.com/nelson-liu/pytorch-manylinux-binaries.
Tested on linux with:
c9c8485bc1e8720aba70f029d25cba1c4abf2b5c
,COMMANDLINE_ARGS
,I can confirm that stable diffusion works fine, no weird artefacts. 512x512 image with 20 sampling steps take about a minute to generate. One Titan Black was crashing once in a while but seems to be problem with that particular card.
If anyone interested I can run more tests.
Beta Was this translation helpful? Give feedback.
All reactions