SIGN IN SIGN UP

Fix duplicate model file downloads when progress_callback is active (#1663) (#1664)

When `progress_callback` is provided to `pipeline()`, model files are fetched from the server more times than necessary — `config.json` appears 3× and `tokenizer.json` 2× in the nginx logs, compared to once each without a callback.

Signed-off-by: anish k <ak8686@princeton.edu>
A
anish committed
f7487c737aa8cafbc106c9adf69dc9578c8f3fe0
Parent: 6688e09
Committed by GitHub <noreply@github.com> on 4/27/2026, 8:11:21 AM