C_Tamas
d09d733b07
core: bound the loader's layer index to the table it fills, and log the file's own count
...
The direction table is indexed by layer (row 0 unused) and sized n_layers, so a
file carrying direction.<n_layers> passed the range check and then wrote one
row past `dir`, and a package JSON whose range ended at n_layers read one past
`scales`. Both bounds are exclusive now, and cvec_test covers each: direction.48
of a 48-layer model, and a JSON range 4..48 on the same model.
The startup line printed `n_layers - 1` as the direction count -- the published
file's count, but wrong for a file carrying fewer directions; the loader records
what it read and the line prints that. Also drops an unused <cstring>.
2026-10-21 09:26:17 +02:00
..
2026-10-19 15:34:15 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-21 09:26:17 +02:00
2026-10-21 09:26:17 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-21 09:25:49 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 20:13:47 +02:00
2026-10-19 21:58:07 +02:00
2026-10-19 15:34:15 +02:00
2026-10-19 15:34:15 +02:00
2026-10-20 21:05:16 +02:00
2026-10-19 21:58:07 +02:00
2026-10-20 21:05:16 +02:00
2026-10-18 15:41:44 +02:00
2026-10-21 09:26:17 +02:00
2026-10-19 17:35:05 +00:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:38:06 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 13:37:01 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-12 11:46:14 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 20:52:09 -05:00
2026-10-20 21:05:16 +02:00
2026-10-19 20:13:47 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-04 12:02:41 +02:00
2026-10-16 18:25:18 +02:00
2026-10-12 11:46:14 +02:00
2026-10-16 18:25:18 +02:00
2026-10-04 12:02:41 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:37:07 +02:00
2026-10-16 18:25:18 +02:00
2026-10-21 09:24:15 +02:00
2026-10-19 21:58:07 +02:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-10-21 09:26:17 +02:00
2026-10-19 10:41:22 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:42:13 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:38:33 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 13:37:01 +02:00
2026-10-16 18:25:18 +02:00
2026-10-21 09:26:17 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-19 10:38:33 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 21:58:07 +02:00
2026-10-20 21:05:16 +02:00
2026-10-21 09:26:17 +02:00
2026-10-19 20:13:47 +02:00
2026-10-20 21:05:16 +02:00
2026-10-18 11:38:37 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:36:27 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 21:58:07 +02:00
2026-10-19 21:58:07 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00