Skip to content

v0.55.0: folder walks no longer skip checkpoint.pth.tar, .pdparams and compressed joblib files

Choose a tag to compare

@munimv2 munimv2 released this 09 Nov 11:27
· 42 commits to main since this release

model-file-scan 0.13.0 (pickle_model_scan 0.4.0 unchanged). Made with AI agents working in the name of MV2 of Munim, Inc.

  • A folder scan now keeps *.pth.tar / *.pt.tar / *.ckpt.tar (torch.save checkpoints as pytorch/examples names them), .pdparams / .pdopt (paddle.save) and *.pkl / *.pickle / *.joblib ending in .z, .gz, .bz2, .xz, .lzma or .lz4 (joblib.dump picks the compressor from the name). Before, a folder holding only such files printed "no model files found" and exited 0, so a CI gate reported it as checked when nothing was read.
  • Nothing else changes: explicit-file scans, routing and every scanner are the same (38 files compared, no difference).
  • Known limit: a bare model.gz is still skipped by a folder walk (a bare .gz is too broad); name it explicitly to scan it.

Pre-registered check walk-names-v2, 15 of 15 rows held (REALFILE_CHECK_WALK_NAMES_V2_2026-11.md): every file written and re-loaded by torch 2.15, paddlepaddle 3.3.1 and joblib 1.6.0 is now kept; 25 of 25 published .pdparams/.pdopt files scanned with no finding; plain .tar/.tar.gz/.txt.gz/.tar.xz files are still skipped; the full suite (1,390 tests) passed.

A clean scan is not a guarantee of safety: pickle-based formats have no safe load mode, so only load files from sources you trust. Apache-2.0.