rename define to match upstream

This commit is contained in:
Concedo 2025-05-23 17:10:12 +08:00
parent 22ef97d7d3
commit 499283c63a
6 changed files with 13 additions and 11 deletions

View file

@ -15,7 +15,7 @@ struct UpscalerGGML {
}
bool load_from_file(const std::string& esrgan_path) {
#ifdef SD_USE_CUBLAS
#ifdef SD_USE_CUDA
LOG_DEBUG("Using CUDA backend");
backend = ggml_backend_cuda_init(0);
#endif