mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 03:24:30 +00:00
feat: auto fit tensors across devices to guarantee optimal load (#1736)
This commit is contained in:
1 parent
68f3d6df9f
commit
b11c95a41c
8 files changed
+493
-16
No files matched your search
@@ -27,6 +27,8 @@ struct MmapTensorStore {
|
||||
std::shared_ptr<struct ggml_backend_buffer> mmbuffer;
|
||||
};
|
||||
|
||||
bool is_unused_tensor(const std::string& name);
|
||||
|
||||
class ModelLoader {
|
||||
protected:
|
||||
SDVersion version_ = VERSION_COUNT;
|
||||
|
||||
Reference in new issue
Block a user