Commit 9c1cc42
committed
fix(test): match the current scan_layers mismatch error
The restore path now reports an unmatched checkpoint with 'Checkpoint does not
match the model', listing each weight the checkpoint didn't carry. The test
still expected the older wording. 'Failed to restore checkpoint' is not raised
anywhere, and 'Configuration mismatch' comes from the load_parameters_path
metadata check, which this test doesn't exercise.
Also assert the missing per-layer weight path, so the check is tied to the
scan/unscan mismatch rather than the generic hint line, which any architecture
mismatch would print.1 parent 7ab7732 commit 9c1cc42
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
232 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
0 commit comments