Query file sizes from HuggingFace via get_paths_info() before downloading, and compare against free disk space on the cache partition. Raises a clear error if there is not enough space, instead of failing mid-download. Uses get_paths_info() instead of repo_info() because xet-stored repos return size=None from repo_info().siblings, but get_paths_info() returns the actual file sizes. If the size check fails for any reason (network error, API change), it logs a warning and continues with the download anyway. |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| __init__.py | ||
| install_python_stack.py | ||
| LICENSE.AGPL-3.0 | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||