Files
CthomasdesignandClaude Opus 4.8 e9e8b52d6f fix: use cached base model without re-verifying against HF (Xet 403)
krea/Krea-2-Turbo moved to HuggingFace Xet storage, whose CDN 403s public
downloads. On every model load the pipeline re-verified the base assets
(VAE + Qwen3-VL encoder + tokenizer) via a HEAD size-check; the Xet
redirect returns no usable content-length, so a fully-cached file looked
stale and triggered a re-download that 403'd — breaking the model loader
even though the files were present.

_base_dir() now short-circuits to the cache when the assets are all
present (no network at all), and _http_download trusts a cached file when
the size is unknowable. Verified: load with base_dir=None (the ComfyUI
path) resolves the cache in 0.0s and the pipeline loads with no 403. v0.7.3.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-13 19:27:20 -04:00
..