feat: --stream-layers for streaming weights from CPU during generation (#1576)

This commit is contained in:
fszontagh authored and GitHub committed 2026-06-02 22:35:28 +08:00
1 parent 7948df8ac1
commit ed74577c40
12 files changed
+692 -12

No files matched your search

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