unsloth/studio/backend/hub/services/models
Daniel Han 1daaa5cbb4
Let a decode failure degrade instead of escaping a fail-closed helper (#7487)
* Let a decode failure degrade instead of escaping a fail-closed helper

Pinning utf-8 makes a read that used to return mojibake on Windows raise
instead. 33 of those reads sit under a handler catching OSError or
json.JSONDecodeError but not UnicodeDecodeError, which subclasses
ValueError, so a corrupt file would now escape a helper written to return
a default. Adds UnicodeDecodeError to those tuples only.

* Treat an undecodable install lock as stale instead of retrying forever
2026-07-27 03:26:08 -07:00
..
__init__.py feat(studio): Hub + Download Manager (#5916) 2026-06-09 04:11:24 -07:00
cache_inventory.py Studio: add local speech-to-text dictation engine (#7095) 2026-07-23 01:39:03 -07:00
common.py Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
deletion.py Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
downloads.py Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
folder_browser.py Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
gguf_variants.py Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
local_inventory.py Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
ollama.py Let a decode failure degrade instead of escaping a fail-closed helper (#7487) 2026-07-27 03:26:08 -07:00