Has anyone tried ZLUDA? #34
Replies: 3 comments 5 replies
-
Just in case, I'm pretty sure the zluda docs say you need to be running ROCm 5.7, not ROCm 6. Are you running the older version? |
Beta Was this translation helpful? Give feedback.
-
With ROCm 5.7, running the benchmark on the oldcpu version, VRAM gets allocated, everything gets ready to roll, then:
103 seems to be a "validity test" error:
So presumably, something along the lines of a "-skip-cuda-test" command might resolve it? With sd during tasks that combine a bunch of different functions it sometimes takes a few repeated attempts for zluda to generate a workable zluda.db file, all the while reporting errors and aborting prematurely, then once the file stops growing it's generally set to work from then on. Perfect strat for a luddite like myself, just keep banging my head against the wall until it "magically" works. ;) EDIT: I forgot an important step that resolved the error -- the cublas.dll that's provided with Zluda should be inserted instead of the cublas64_11.dll provided with Kobold. This isn't always necessary with image generation, to make it work that is, but it seems to be crucial to get an application to actually recognize your GPU as compatible. So, with a bit of fiddling around, Zluda-CUDA is indeed functional (although I'm running everything at bare minimum at the moment). I'll do a bit of further testing, to see if any particular options break it. However, there's already lots that could be improved on my end to make the process smoother, if only I could figure out how:
|
Beta Was this translation helpful? Give feedback.
-
Installed HIP 6.1 to test gpu-specific libraries for ROCm, Zluda doesn't support 6.1 out of the box, asks for 5.7 specific files, tried building own Zluda, errors out -- save that experiment for when I have the time. |
Beta Was this translation helpful? Give feedback.
-
Curious how the performance of this compares to ZLUDA, however I couldn't get ZLUDA to work for kobaldcpp on my machine
ggml_init_cublas: found 1 CUDA devices:
CUDA error: invalid argument
current device: 0, in function ggml_init_cublas at d:\a\koboldcpp\koboldcpp\ggml-cuda.cu:7961
cuDeviceGetAttribute(&device_vmm, CU_DEVICE_ATTRIBUTE_VIRTUAL_MEMORY_MANAGEMENT_SUPPORTED, device)
GGML_ASSERT: d:\a\koboldcpp\koboldcpp\ggml-cuda.cu:241: !"CUDA error"
Not sure if this is a me problem or if this requires features that ZLUDA doesn't support.
Beta Was this translation helpful? Give feedback.
All reactions