Skip to content

Commit 19bdfe2

Browse files
authored
feat: set tensor names on block params (#1622)
1 parent 138da14 commit 19bdfe2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/core/ggml_extend.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3327,6 +3327,7 @@ class GGMLBlock {
33273327
for (auto& pair : params) {
33283328
ggml_tensor* param = pair.second;
33293329
tensors[prefix + pair.first] = pair.second;
3330+
ggml_set_name(param, (prefix + pair.first).c_str());
33303331
}
33313332
}
33323333

0 commit comments

Comments
 (0)