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

@ -161,7 +161,7 @@ public:
bool diffusion_flash_attn) {
use_tiny_autoencoder = taesd_path.size() > 0;
std::string taesd_path_fixed = taesd_path;
#ifdef SD_USE_CUBLAS
#ifdef SD_USE_CUDA
LOG_DEBUG("Using CUDA backend");
backend = ggml_backend_cuda_init(0);
#endif