feat: add max-vram based segmented param offload (#1476)

This commit is contained in:
leejet authored and GitHub committed 2026-05-06 21:56:02 +08:00
1 parent 586b6f1481
commit 90e87bc846
26 files changed
+1576 -66

No files matched your search

+1
View File
@@ -109,6 +109,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;
bool enable_mmap = false;
bool control_net_cpu = false;
bool clip_on_cpu = false;