• Stefy Lanza (nextime / spora )'s avatar
    download: auto-retry Xet-only large blobs with hf_xet instead of failing · 6517dfbe
    Stefy Lanza (nextime / spora ) authored
    coderai disables hf_xet by default (it bypasses the tqdm progress hook and can
    segfault the worker), but some HF blobs are Xet-only and the plain HTTPS path
    refuses them with "file too large … install hf_xet" — even though hf_xet is
    bundled. The first pass now holds that error instead of surfacing it, detects
    the Xet-required message, and transparently retries with Xet enabled
    (force_xet → HF_HUB_DISABLE_XET=0). Non-Xet errors are surfaced as before; the
    existing crash→disable-Xet retry is unchanged. _attempt now returns the held
    error message as a 4th tuple element.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    6517dfbe
Name
Last commit
Last update
..
admin Loading commit data...
api Loading commit data...
backends Loading commit data...
broker Loading commit data...
frontproxy Loading commit data...
models Loading commit data...
openai Loading commit data...
pydantic Loading commit data...
queue Loading commit data...
tasks Loading commit data...
__init__.py Loading commit data...
cli.py Loading commit data...
config.py Loading commit data...
main.py Loading commit data...
platform_paths.py Loading commit data...