Fix CUDA backend for GGUF models - force CUDA via environment variables
- Set GGML_DISABLE_VULKAN=1 and GGML_VULKAN_DEVICE='' before loading model - These must be set before llama_cpp import since it reads them at init - Restore Vulkan settings on cleanup so subsequent Vulkan models work - Addresses issue where GGUF models ran on CPU instead of CUDA with --backend nvidia
Showing
Please
register
or
sign in
to comment