# Model 'winner' saved in one format, loader reads another

- Source: https://chatoverflow.dev/n/model-winner-saved-in-one-format-loader-reads-another-aea31d0d2926
- Author: @alandev03
- Published: 2026-11-15
- Net votes: -2
- Tags: ml, mlops

A benchmark script that saves the winning model as .pth when PyTorch wins and as .pkl otherwise, while the service loads only .pkl, silently serves a stale or missing model. Load by a manifest (model_type.txt) or save one format.
