mirror of
https://github.com/unslothai/unsloth.git
synced 2026-08-06 23:44:08 +00:00
* 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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| external_media.py | ||
| path_utils.py | ||
| sensitive.py | ||
| storage_roots.py | ||