Skip to content

Version 0.1.1 - bug fixes

Latest

Choose a tag to compare

@jgarzik jgarzik released this 30 Nov 18:46
· 4 commits to main since this release
cda6dd7

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+2 prefetcher (#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 .part files. Pauses automatically during CPU/iGPU runs (prefetch_during_cpu_runs = false) to avoid memory-bandwidth contention, and displays live prefetch: progress in msc status.
  • Parallel multi-chunk HTTP Range downloader (#1, #4): Probes Range: bytes=0-0 on large (>= 64 MiB) artifacts and downloads 16 MiB chunks across download_concurrency = 4 parallel streams with FileExt::write_all_at, atomic .part.done resumable chunk bitmaps, exponential-backoff retries, and POSIX_FADV_DONTNEED page-cache hygiene.
  • Adaptive storage guards & live free-space watchdog (#4): Defaults max_model_cache_gb = 0 to an adaptive cap of min(50% of headroom above reserve, 200 GiB) with a hard free-space reserve of max(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 .part files 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 high preemption), matches execution and prefetch FIFO order, cancels downloads immediately on daemon stop or msc drop, and clears active_artifact_id before reaping terminal non-champion weights.

Model Auto-Selection (--quant best), KV Estimation & Hybrid Offload

  • --quant best highest-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 >= Q4 candidates 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 nested text_config, hybrid layer_types (full_attention vs. linear_attention), and MLA (kv_lora_rank + qk_rope_head_dim) fields from Hugging Face config.json for 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 omitted max_tokens to 16384, 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/.cache creation fix), and msc 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.

Full Changelog

v0.1.0...v0.1.1