Repository navigation
modelseek v0.1.1
Release v0.1.1 adds highest-resolution --quant best auto-selection, background X+1/X+2 model prefetching, parallel HTTP Range downloads with adaptive disk-safety reserves, OpenCode 2.4.3 proxy reliability fixes, GitHub Actions CI, and a rewritten top-level README.
Highlights
Intelligent Downloads, Background Prefetching & Disk Safety
- Background
X+1/X+2prefetcher (#4): Spawns a dedicated background prefetch worker (max_prefetch_models = 2) that downloads upcoming queued models while the current model qualifies on GPU, seamlessly promoting an active prefetch to foreground without racing on.partfiles. Pauses automatically during CPU/iGPU runs (prefetch_during_cpu_runs = false) to avoid memory-bandwidth contention, and displays liveprefetch:progress inmsc status. - Parallel multi-chunk HTTP Range downloader (#1, #4): Probes
Range: bytes=0-0on large (>= 64 MiB) artifacts and downloads 16 MiB chunks acrossdownload_concurrency = 4parallel streams withFileExt::write_all_at, atomic.part.doneresumable chunk bitmaps, exponential-backoff retries, andPOSIX_FADV_DONTNEEDpage-cache hygiene. - Adaptive storage guards & live free-space watchdog (#4): Defaults
max_model_cache_gb = 0to an adaptive cap ofmin(50% of headroom above reserve, 200 GiB)with a hard free-space reserve ofmax(min_free_disk_gb, min_free_disk_pct% of fs_total, 15 GiB)(defaults:20 GiB/10%). A live 5-second watchdog aborts downloads and removes.partfiles immediately if host free space drops below reserve mid-download. - Cache-aware FIFO stage scheduling & immediate reaping (#4, #5): Finishes already-cached Stage 1/2 configs before downloading equal-priority uncached peers (while honoring
--priority highpreemption), matches execution and prefetch FIFO order, cancels downloads immediately on daemon stop ormsc drop, and clearsactive_artifact_idbefore reaping terminal non-champion weights.
Model Auto-Selection (--quant best), KV Estimation & Hybrid Offload
--quant besthighest-resolution auto-fit (842fa45,18d76a0, #1): Selects the highest-resolution quantization that fits up to the model's native context ceiling (capped at 256K), exhausting full-VRAM>= Q4candidates across the context ladder before falling back to GPU+CPU hybrid offload (--fit on) for large MoE models.- Hybrid-attention & MLA KV cache estimation (
842fa45): Parses nestedtext_config, hybridlayer_types(full_attentionvs.linear_attention), and MLA (kv_lora_rank + qk_rope_head_dim) fields from Hugging Faceconfig.jsonfor accurate VRAM planning on modern architectures. - Auxiliary draft-head filtering (#1): Excludes speculative draft/auxiliary GGUFs (
dspark-*,dflash-*,mtp-*, and< 10%size outliers) and prefers multi-quant GGUF repositories during resolution.
Proxy, CI & Documentation
- OpenCode 2.4.3 proxy reliability (
f617047,88a8f4e): Short-circuits OpenCode's concurrent session-title generator prompt so it never starves single-slot inference, caps omittedmax_tokensto16384, and cancels upstream inference immediately on loop abort. - GitHub Actions CI (#2): Added parallel CI jobs running
cargo clippy --workspace --all-targets -- -D warnings, workspace unit tests, Docker sandbox image build + E2E test (with$HOME/.cachecreation fix), andmsc suite validate. - Rewritten
README.md(#3): Added problem/value pitch, terminal leaderboard preview, quick start, custom L3 suite guide, architecture overview, and local CI verification commands.