Skip to content

Commit 3efd12e

Browse files
PCfVWclaude
andcommitted
chore(release): finalize v0.11.1 (version bump + CHANGELOG)
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent f2b6c2f commit 3efd12e

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.11.1] — Remote safetensors via anamnesis
11+
1012
### Changed
1113

1214
- **Remote `.safetensors` inspect now goes through anamnesis, like the cache-hit path.** `hf-fm inspect <repo> file.safetensors` (no `--cached`) drops its bespoke two-Range-request fetcher (`fetch_header_bytes` + an in-tree JSON parser) in favor of feeding the v0.11.0 [`HttpRangeReader`](src/http_range.rs) directly into `anamnesis::parse_safetensors_header_from_reader` — the same primitive the cache-hit path has used since v0.10.3, and the two paths now share a single `safetensors_header_to_info` mapping so they cannot drift. No new anamnesis work was needed: the reader-generic primitive has shipped since anamnesis 0.4.4, well before this phase. **User-facing:** the `Source:` line now reports honest transfer stats (`remote (N range requests, X fetched)`, matching NPZ's v0.11.0 wording) instead of a hardcoded `remote (2 HTTP requests)` — live-verified at `remote (4 range requests, 8.0 KiB fetched)` against a small `hf-internal-testing/tiny-random-gpt2` shard (2 of those are the substrate's fixed access probe; the rest fetch the length prefix and header, one or two depending on header size relative to the reader's 4 KiB read-ahead window). Remote safetensors inspect also gains quantization detection (`Format:` / `Size:` lines) for free, previously cached-only. Library API: `inspect::inspect_safetensors` now returns a `(SafetensorsHeaderInfo, InspectSource, Option<RangeStats>)` triple (was a pair), matching `inspect_npz`'s shape.

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hf-fetch-model"
3-
version = "0.11.0"
3+
version = "0.11.1"
44
edition = "2021"
55
rust-version = "1.88"
66
description = "Download, inspect, and compare HuggingFace models from Rust. Multi-connection parallel downloads plus safetensors and NPZ header inspection via HTTP Range. No weight data downloaded."

0 commit comments

Comments
 (0)