Add litertlm_manifest.json - #6288
Merged
Merged
Conversation
Deployment manifest for Hugging Face model repos that ship .litertlm bundles for the LiteRT-LM runtime. Draft-07, mirrors the schema the generator validates against (manifest_schema 0.1 line); positive tests include two manifests as published on the Hub plus a minimal and a full 0.1.1 sample; ten negative tests each fail on one constraint.
john-rocky
requested review from
hyperupcall and
madskristensen
as code owners
September 1, 2026 20:23
Contributor
|
Thanks for the PR! This section of the codebase is owned by @madskristensen and |
john-rocky
added a commit
to john-rocky/hf-to-litertlm
that referenced
this pull request
Sep 1, 2026
…strips every evidence key; schema submitted to SchemaStore Additive on the 0.1 line: measured rows may carry load_s (engine load time under the row's cache condition) and peak_memory_mb (peak resident memory during the run) — both were already shipping in the wild. --public now strips every `evidence` key under a variant, not only measured rows. derive_capabilities warns and omits channels[].is_reasoning on a builder whose proto predates Channel.is_reasoning_channel instead of crashing. quality[] is documented as present-but-unvalidated. The TypeScript reader types the two new optional fields. The Qwen3 example is refreshed to the manifest as published today (both reader suites pass: TS 19, Dart 18). Published-repo counts updated to 27. A draft-07 JSON Schema for this format is submitted to SchemaStore (github.com/SchemaStore/schemastore/pull/6288) so editors validate litertlm_manifest.json by file name.
Contributor
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
litertlm_manifest.jsonsits at the root of a Hugging Face model repo that ships.litertlmbundles for the LiteRT-LM on-device runtime. It tells a client which file fits which device: the backends each file is verified on, what it requires, and how fast it measured, with conditions and provenance. I maintain the spec, the generator, and the reference readers, so the CODEOWNERS entry points at me for follow-ups.Uptake
litert-community/*,mlboydaisuke/*), all produced by the same generator.flutter_gemma_litertlm1.6.0+ reads it for manifest-driven installs (LitertlmManifestResolver).Schema notes
additionalProperties: true, so a 0.1.x manifest that adds optional fields still validates.Links
node ./cli.js check,npm run prettier, and codespell pass locally. Thanks for maintaining the catalog.