Daniel Han
213df585b9
convert: fix the qwen4exp lint and type-check failures
...
flake8 flagged an unused MmprojModel import, and ty flagged seven errors in
the PLE streaming path: eos_token_id can be absent, and _ple_map, _ple_path,
_ple_row_dim and _ple_rows_per_shard are all Optional at the declaration but
were dereferenced without narrowing.
The map is opened and the stride fixed before the first shard is written, and
_finish_ple_table only runs once every shard has landed, so the invariants
hold. Assert them so the checker can see it. A missing eos_token_id now raises
with the reason instead of a TypeError from int(None).
2026-08-27 02:26:31 +00:00
..
2026-08-26 13:40:35 +00:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-22 10:35:50 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-24 13:21:00 +03:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-19 16:53:31 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-06-07 21:41:39 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-26 12:05:31 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-05-15 15:18:12 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-27 02:26:31 +00:00
2026-08-22 12:19:48 +03:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00