mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 03:24:30 +00:00
perf: --eager-load to pre-load params at model-load time (#1687)
This commit is contained in:
1 parent
b12098f5d0
commit
787d229d84
6 files changed
+34
-1
No files matched your search
@@ -158,6 +158,7 @@ public:
|
||||
}
|
||||
|
||||
bool validate_registered_tensors();
|
||||
bool load_all_params_eagerly();
|
||||
|
||||
bool prepare_params(const std::vector<ggml_tensor*>& tensors) override;
|
||||
void release_compute_backend_params(const std::vector<ggml_tensor*>& tensors) override;
|
||||
|
||||
Reference in new issue
Block a user