mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-06-09 15:56:39 +00:00
feat: set tensor names on block params (#1622)
This commit is contained in:
parent
138da14cc3
commit
19bdfe22d2
@ -3327,6 +3327,7 @@ public:
|
|||||||
for (auto& pair : params) {
|
for (auto& pair : params) {
|
||||||
ggml_tensor* param = pair.second;
|
ggml_tensor* param = pair.second;
|
||||||
tensors[prefix + pair.first] = pair.second;
|
tensors[prefix + pair.first] = pair.second;
|
||||||
|
ggml_set_name(param, (prefix + pair.first).c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user