unsloth/studio/backend/hub/utils
Unsloth db64cd2ab4 Align background picks with inventory selection and drop remaining install/network paths
Cached checkpoint repos (pickle weights) are excluded from background picks
like local checkpoint rows: forced-offline validation cannot consult the Hub
security scan and pickles can execute code on load. The worker keeps its
entire bootstrap offline under local-only (base resolution, transformers
activation, security gates, kernel probes and the initial load) and never
pip-installs SSM kernels for a background load; a missing fatal kernel fails
into candidate failover. The offline guard is refcounted so overlapping
local-only requests share one env override restored only when the last
exits, closing the race where one request finishing re-enabled network for
another still running. Snapshot resolution now prefers the newest snapshot
dir, the same selection the inventory scanner surfaces, before consulting
refs/main. MLX loads read config.path so the live-cache rewrite is honored.
Cached non-GGUF rows carry snapshot_size_bytes (the newest snapshot's weight
bytes) and the cascade orders on it instead of the all-revisions blob total,
so a small current revision no longer sinks behind larger candidates.
2026-07-26 23:19:03 -07:00
..
__init__.py feat(studio): Hub + Download Manager (#5916) 2026-06-09 04:11:24 -07:00
dataset_cache.py feat(studio): Hub + Download Manager (#5916) 2026-06-09 04:11:24 -07:00
dataset_format.py feat(studio): Hub + Download Manager (#5916) 2026-06-09 04:11:24 -07:00
download_manifest.py Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
download_registry.py Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
gguf.py Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
gguf_plan.py Studio: resolve the repo-root MTP drafter after the MTP/ GGUF rename (#7031) 2026-07-09 06:46:00 -07:00
hf_cache_state.py Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
hf_errors.py feat(studio): Hub + Download Manager (#5916) 2026-06-09 04:11:24 -07:00
inventory_scan.py Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
llm_assist.py feat(studio): Hub + Download Manager (#5916) 2026-06-09 04:11:24 -07:00
local_snapshot.py Align background picks with inventory selection and drop remaining install/network paths 2026-07-26 23:19:03 -07:00
paths.py Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
snapshot_filters.py feat(studio): Hub + Download Manager (#5916) 2026-06-09 04:11:24 -07:00
state_dir.py Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00