Update train-text-from-scratch for change
This commit is contained in:
parent
e7251ab827
commit
7c0fbc2f12
1 changed files with 3 additions and 11 deletions
|
@ -1354,17 +1354,9 @@ struct ggml_tensor * expand(struct ggml_cgraph * g, struct ggml_tensor * t) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (t->src0) {
|
for (int i = 0; i < GGML_MAX_SRC; ++i) {
|
||||||
expand(g, t->src0);
|
if (t->src[i]) {
|
||||||
}
|
expand(g, t->src[i]);
|
||||||
|
|
||||||
if (t->src1) {
|
|
||||||
expand(g, t->src1);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (int i = 0; i < GGML_MAX_OPT; ++i) {
|
|
||||||
if (t->opt[i]) {
|
|
||||||
expand(g, t->opt[i]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue