Skip to content

runtime-llama 0.11.0

Choose a tag to compare

@Damel91 Damel91 released this 22 Oct 20:22
· 73 commits to main since this release

Adds optional direct automatic embeddings while preserving the existing exact adapter APIs and one shared persistent engine/scheduler.

  • AutomaticEmbeddingService owns verified loaded-model and replica discovery, task prefixes, ordering, bounded concurrency, backpressure, cancellation, finite deadlines and drained close. Ordinary initialization, availability, synchronous embedding, queries and async windows send strings directly without per-input /tokenize or calibration/cache prerequisites.
  • Only an explicit character_budget() request loads or performs the optional 10,000-sample calibration. Categories are code, documentation, prose, structured and multilingual, 2,000 original texts each; mixed aggregates all 10,000. Single categories use 80% of measured characters/token; mixed uses 90%. Complete raw measurements persist independently of margins.
  • The consumer owns splitting and can save its character recommendation once, then send strings on subsequent starts. The recommendation is empirical; actual tokenization/context admission stays with the native server. No silent truncation or failed POST replay is added. Existing declared-model exact prepare_* / embed_prepared contracts remain available.

Verification: 1,730 tests, Ruff check/format, normalized builds and clean isolated installation. All 36 runtime package files match stable source; 35 are byte-identical to the live-qualified 0.11.0a1 candidate, with only the version literal changing in __init__.py. Corpus contents are unchanged.

Retained bounded live comparison on two already loaded verified Nomic replicas: 511 direct inputs in 1.5626 seconds, four embedding POSTs + 16 metadata GETs, zero tokenizer requests, both replicas used concurrently. Exact preparation plus embedding took 3.9873 seconds, 511 tokenizer POSTs + four embedding POSTs + 15 metadata GETs. All vectors matched exactly with unchanged numerical thresholds. Only the explicit budget request then performed 10,000 tokenizations in 54.3861 seconds; category selection and warm reuse needed no more. These are client wall times including applicable preparation, discovery, transport and server work, not pure GPU time or a general throughput guarantee. Stable publication adds no new inference benchmark or model administration.

The project lifecycle and evidence are managed with Flower MCP. See the API and consumer example, engineering qualification and stable release record.

Install the portable Python wheel below. The three optional tsnet archives reuse byte-identical v0.6.0 executables and license inventory; this release adds no native build, OS execution, VPN enrollment or VPN inference qualification. Apache-2.0, Davide Mele copyright, NOTICE and upstream MIT attribution are unchanged. Consumer installations/configuration/pins, services and model profiles remain unchanged by publication. No PyPI upload is included.

RELEASE-MANIFEST.json binds exact source and asset provenance; verify downloads using SHA256SUMS.