Commit 7bb36cc
gguf : enforce that tensor names are unique (ggml-org#6905)
* not allow adding duplicated tensor name
* no duplicated tensor while reading gguf
* typo
* throw exception inside llama_model_loader
Co-authored-by: slaren <slarengh@gmail.com>
---------
Co-authored-by: slaren <slarengh@gmail.com>1 parent ce023f6 commit 7bb36cc
4 files changed
+32
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20819 | 20819 | | |
20820 | 20820 | | |
20821 | 20821 | | |
| 20822 | + | |
| 20823 | + | |
| 20824 | + | |
| 20825 | + | |
| 20826 | + | |
| 20827 | + | |
| 20828 | + | |
| 20829 | + | |
20822 | 20830 | | |
20823 | 20831 | | |
20824 | 20832 | | |
| |||
21355 | 21363 | | |
21356 | 21364 | | |
21357 | 21365 | | |
| 21366 | + | |
| 21367 | + | |
| 21368 | + | |
| 21369 | + | |
21358 | 21370 | | |
21359 | 21371 | | |
21360 | 21372 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| 237 | + | |
237 | 238 | | |
238 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
239 | 245 | | |
240 | 246 | | |
241 | 247 | | |
| |||
267 | 273 | | |
268 | 274 | | |
269 | 275 | | |
270 | | - | |
| 276 | + | |
271 | 277 | | |
272 | 278 | | |
273 | 279 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
200 | 205 | | |
201 | 206 | | |
202 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3120 | 3120 | | |
3121 | 3121 | | |
3122 | 3122 | | |
| 3123 | + | |
3123 | 3124 | | |
3124 | 3125 | | |
3125 | 3126 | | |
| 3127 | + | |
| 3128 | + | |
| 3129 | + | |
| 3130 | + | |
| 3131 | + | |
| 3132 | + | |
| 3133 | + | |
3126 | 3134 | | |
3127 | 3135 | | |
3128 | 3136 | | |
| |||
0 commit comments