pretrained-rstr is optimized for models that an organization can run and
adapt on its own hardware. The primary use case is private inference and
fine-tuning of small models, with durable attention state and training artifacts
coordinated through Datahike. Large checkpoints are useful compatibility probes,
but they are not the center of the project.
The default path should remain useful on an integrated GPU or a modest discrete GPU:
The distributed programming model is not restricted to one machine. A private deployment can place workers near data, advertise exact resident prefixes, and move immutable numerical state through the Datahike/Konserve stack without routing tensor payloads through the HTTP control plane.
Architecture support should converge on one descriptor-driven contract instead of accumulating model-specific serving paths. A family implementation owns:
Task APIs (pretrained.lm, embedding, and ASR) remain curated entry points.
pretrained.loader/from-pretrained remains the bring-your-own-checkpoint escape
hatch, but recognizing an architecture is not itself a support claim.
Public documentation and the model registry should distinguish these tiers:
| Tier | Required evidence |
|---|---|
| Recognized | Configuration dispatches, tensors and tokenizer load, shapes validate. |
| Runnable | A bounded CPU or device generation smoke test completes with finite, non-degenerate output. |
| Anchored | Layer or token output is compared with an independent reference on a pinned checkpoint. |
| Continuation-ready | Paged decode, copy-on-write fork, restore, and uninterrupted-vs-resumed token equality pass. |
| Serving-ready | OpenAI non-streaming/streaming behavior, cancellation, backpressure, and multi-worker routing pass. |
| Adaptation-ready | A pinned adapter/fine-tuning fixture demonstrates loss movement, save/load, provenance, and unchanged base weights. |
The registry should eventually expose this evidence as data so model listing and documentation can be generated rather than hand-maintained.
Limits are capability- and hardware-dependent rather than promises that every checkpoint of a given parameter count will fit.
This sequence keeps privacy and useful local adaptation ahead of broad model count, while the shared descriptor and evidence model steadily expands reach.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |