Fix ggml-cuda using a driver symbol in NO_VMM mode#11188
Fix ggml-cuda using a driver symbol in NO_VMM mode#11188milot-mirdita wants to merge 1 commit intoggml-org:masterfrom
Conversation
|
I don't follow your logic. How are these two things related? |
|
Would you prefer to rename As far as I can tell |
|
Can you explain the software and hardware setup where such an option would be beneficial? |
|
cudart exists as a static binary. The cuda driver exists only as a If you run |
|
You can also avoid adding a hard dependency to CUDA by loading the backend dynamically. This wouldn't require disabling any features. |
I have integrated the ProstT5 protein language into Foldseek. Thanks a lot for the great library! I am upstreaming a few fixes for issues I found in ggml during the integration. I hope that it's okay to push the changes here and that they get synced at some point to the main ggml repo.
This fix should be simple.
cuGetErrorStringuses the driver API and should not be available if GGML_CUDA_NO_VMM is set.