mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 03:24:30 +00:00
refactor: remove obsolete unused tensor filtering (#1984)
This commit is contained in:
1 parent
269e726015
commit
656a1354c3
4 files changed
+2
-80
No files matched your search
@@ -102,7 +102,7 @@ namespace sd::backend_fit {
|
||||
for (const auto& [name, stored_tensor] : loader.get_tensor_storage_map()) {
|
||||
TensorStorage ts = stored_tensor;
|
||||
ComponentKind kind;
|
||||
if (is_unused_tensor(ts.name) || !classify_tensor(ts.name, kind)) {
|
||||
if (!classify_tensor(ts.name, kind)) {
|
||||
continue;
|
||||
}
|
||||
if (ts.expected_type != GGML_TYPE_COUNT) {
|
||||
|
||||
Reference in new issue
Block a user