feat: support backend-specific max-vram budgets

This commit is contained in:
leejet committed 2026-06-14 22:46:32 +08:00
1 parent 517abc777d
commit bb90bfa00f
9 files changed
+223 -39

No files matched your search

+1 -1
View File
@@ -144,7 +144,7 @@ struct SDContextParams {
rng_type_t rng_type = CUDA_RNG;
rng_type_t sampler_rng_type = RNG_TYPE_COUNT;
bool offload_params_to_cpu = false;
float max_vram = 0.f;
std::string max_vram = "0";
bool stream_layers = false;
std::string backend;
std::string params_backend;