Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to LLMRig will be documented here.

## 0.12.0 - 2026-12-02

- Add read-only Frontier Model Preflight for complete remote Safetensors weight sets, with revision provenance, declared precision, byte counts, RAM ratio and serialized weight shortfall.
- Fail closed on ambiguous, incomplete or conflicting size metadata; keep runtime compatibility and inference separate.
- Validate all three Amazon Ergo variants against a separate metadata audit on an Apple M4 Max 48 GiB; no weight downloads or inference.
- Pin Ubuntu CI to 24.04 to preserve Python 3.9 testing and smoke-test the installed preflight command.

## 0.11.0 - 2026-10-18

### LLMRig Rescue (experimental)
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ type: software
authors:
- family-names: Vadlamani
given-names: Sunil Kumar
version: 0.11.0
date-released: 2026-10-18
version: 0.12.0
date-released: 2026-12-02
repository-code: "https://github.com/sunilteja93/llmrig"
url: "https://github.com/sunilteja93/llmrig"
license: MIT
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@

## Start here

**Install LLMRig v0.11.0** using isolated [`pipx`](https://pipx.pypa.io/).
**New:** inspect frontier model weight footprints before downloading: `llmrig preflight Amazon-FMR/Ergo`.

**Install LLMRig v0.12.0** using isolated [`pipx`](https://pipx.pypa.io/).
See the [installation guide](https://github.com/sunilteja93/llmrig/blob/main/docs/INSTALL.md) for platform-specific setup.

~~~bash
Expand Down Expand Up @@ -233,7 +235,7 @@ Every applied workflow emits a privacy-safe receipt: plan ID, receipt ID, model/

Verified measurements persist locally as graph-shaped evidence across machine × model × artifact × quantization × runtime × context × measurement. Predictions and measurements are stored as separate facts; calibration deltas are computed only when the same metric exists on both sides. No community upload happens by default.

## Frontier model preflight
## New in v0.12.0: Frontier Model Preflight

Inspect an exact Hugging Face repository without downloading weights or starting runtimes:

Expand All @@ -244,6 +246,8 @@ llmrig preflight Amazon-FMR/Ergo --json

Preflight reports the serialized footprint of a complete listed Safetensors set, repository revision, declared precision, and its ratio to total system RAM. Ambiguous or incomplete metadata stays unknown. This is not a peak inference memory estimate, runtime compatibility claim, or benchmark; offloading and alternative conversions are not assessed. Existing execution planning remains unchanged.

**Day-zero Ergo validation** on one Apple M4 Max (48 GiB), December 1, 2026: MXFP4 626.06 GB (12.15x RAM), MXFP8 1167.23 GB (22.65x), BF16 2215.74 GB (42.99x). All three matched a separate metadata audit; no inference was run. See the [reproducible field notes](https://github.com/sunilteja93/llmrig/blob/main/docs/RELEASE_NOTES_v0.12.0.md) for revisions and limitations.

## Runtime intelligence

```bash
Expand Down Expand Up @@ -308,7 +312,7 @@ The SDK prints nothing and never exits the process. `SolveResult` and `SolveCand

## Installation

For LLMRig v0.10.0, use the published package via
For LLMRig v0.12.0, use the package via
[`pipx`](https://pipx.pypa.io/) or a clean virtual environment:

```bash
Expand Down
10 changes: 5 additions & 5 deletions docs/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
LLMRig is a Python 3.9+ command-line tool. It **does not install** Ollama,
oMLX, MLX-LM or llama.cpp just because you installed the CLI.

**Published release: v0.10.0.** Use the stable PyPI package for
**Target release: v0.12.0.** Use the stable PyPI package for
the demonstrated `runtimes`, model-specific `doctor`, `plan`,
`run` and `report` flows. If the new version has not propagated
to your package index yet, check
[the GitHub release](https://github.com/sunilteja93/llmrig/releases/tag/v0.10.0)
[the GitHub release](https://github.com/sunilteja93/llmrig/releases/tag/v0.12.0)
before retrying. Installation does not start or install model runtimes.

## Recommended: isolated pipx installation
Expand Down Expand Up @@ -37,7 +37,7 @@ pipx upgrade llmrig
```

Inspect `llmrig --help` for `runtimes`, `doctor`, `plan`, `run`,
`verify` and `report`. Probe commands must not download model weights.
`verify`, `report` and `preflight`. Probe commands must not download model weights.

For development from unreleased source, install an exact Git commit:
`pipx install 'git+https://github.com/sunilteja93/llmrig.git@COMMIT_SHA'`,
Expand Down Expand Up @@ -77,8 +77,8 @@ Do not infer that editable installation succeeded solely from

## PyPI release vs GitHub source

The documented first-run workflow targets the published v0.10.0 CLI.
Pin `llmrig==0.10.0` in reproducible Python environments, or use the
The documented first-run workflow targets the v0.12.0 CLI once published.
Pin `llmrig==0.12.0` in reproducible Python environments, or use the
exact Git tag/commit if testing unreleased changes.
Do not assume a model runtime is installed just because the CLI is available.

Expand Down
17 changes: 17 additions & 0 deletions docs/RELEASE_NOTES_v0.12.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# LLMRig v0.12.0: Frontier Model Preflight

New read-only command: `llmrig preflight OWNER/REPOSITORY [--json]`. It reports the serialized footprint of one complete listed Safetensors set, the repository revision, declared precision, and the ratio and shortfall relative to total system RAM. Ambiguous or missing size evidence remains unknown. No weights are downloaded and no inference runs.

## Day-zero field validation

On December 1, 2026 (Pacific time), the author ran the development CLI on an Apple M4 Max with 48 GiB RAM. These locally reported results matched a separate Hugging Face metadata audit:

| Repository | Revision | Files | Serialized GB | GiB | RAM ratio | Shortfall GiB |
|---|---|---:|---:|---:|---:|---:|
| Amazon-FMR/Ergo | 5700ec7df58ec686f71aff5705e640c03aa530f9 | 65 | 626.06 | 583.07 | 12.15x | 535.07 |
| Amazon-FMR/Ergo-mxfp8 | badd2eca7a6b08fac13d11766c3b207084f7737c | 65 | 1167.23 | 1087.07 | 22.65x | 1039.07 |
| Amazon-FMR/Ergo-bf16 | f47e685ec4b5095a0880e05cc514a4026859f9ed | 65 | 2215.74 | 2063.57 | 42.99x | 2015.57 |

Reproduce with `llmrig preflight Amazon-FMR/Ergo --json` and the other two exact identifiers. Remote revisions may change. These are serialized file sizes, not measured peak inference memory, runtime compatibility, independent attestation, or proof about offloading or conversion. BF16 is declared configuration dtype, not a tensor-by-tensor inspection. Existing execution planning is unchanged.

PR #85 passed the cross-platform matrix, package checks and CodeQL before merge. Five offline preflight regression tests also passed locally.
2 changes: 1 addition & 1 deletion llmrig.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

PROJECT_NAME = "LLMRig"
PROJECT_SLUG = "llmrig"
VERSION = "0.11.0"
VERSION = "0.12.0"
CURATED_SNAPSHOT_DATE = "2026-08-19"
DEFAULT_OLLAMA_HOST = os.environ.get("OLLAMA_HOST", "http://127.0.0.1:11434").rstrip("/")
HF_MODELS_API = "https://huggingface.co/api/models"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_autopilot_foundation.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def test_private_package_and_existing_import_identity_are_unchanged(self):

self.assertEqual(Path(llmrig.__file__).name, "llmrig.py")
self.assertTrue(_llmrig.__spec__.submodule_search_locations)
self.assertEqual(llmrig.VERSION, "0.11.0")
self.assertEqual(llmrig.VERSION, "0.12.0")
for symbol in (
"Confidence",
"RecommendationEvidence",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_llmrig.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def race_workload(self):
def test_project_branding(self):
self.assertEqual(llmrig.PROJECT_NAME, "LLMRig")
self.assertEqual(llmrig.PROJECT_SLUG, "llmrig")
self.assertEqual(llmrig.VERSION, "0.11.0")
self.assertEqual(llmrig.VERSION, "0.12.0")

def test_catalog_is_valid(self):
self.assertEqual(llmrig.validate_curated_catalog(), [])
Expand Down
2 changes: 1 addition & 1 deletion tests/test_onboarding_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_vector_card_parses_and_labels_reconstruction(self):
def test_installation_guide_does_not_confuse_unreleased_main_and_pypi(self):
guide = (ROOT / "docs/INSTALL.md").read_text(encoding="utf-8")
self.assertIn("PyPI", guide)
self.assertIn("v0.10.0", guide)
self.assertIn("v0.12.0", guide)
self.assertIn("exact Git commit", guide)
self.assertIn("(cd /tmp", guide)
self.assertIn("pipx ensurepath", guide)
Expand Down
6 changes: 6 additions & 0 deletions tests/test_release_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ def test_release_metadata_matches_source_version(self):
self.assertIsNotNone(citation_match)
self.assertEqual(citation_match.group(1), llmrig.VERSION)
self.assertIn(f"## {llmrig.VERSION} - ", changelog)
if llmrig.VERSION == "0.12.0":
self.assertIn("date-released: 2026-12-02", citation)
readme = (root / "README.md").read_text(encoding="utf-8")
self.assertIn("Install LLMRig v0.12.0", readme)
self.assertIn("llmrig preflight Amazon-FMR/Ergo", readme)
self.assertTrue((root / "docs/RELEASE_NOTES_v0.12.0.md").exists())
if llmrig.VERSION == "0.11.0":
self.assertIn("date-released: 2026-10-18", citation)
readme = (root / "README.md").read_text(encoding="utf-8")
Expand Down
Loading