Runtime source evidenceSource code evidence3.5 KB

TinyRustLM Rust Runtime Source Bundle

A durable summary and checksum ledger for the supplied Rust runtime files covering .slm parsing, adapter-delta validation, tokenization, quantization, deterministic generation, diagnostics, eval sidecars, and WASM exports.

Download original MarkdownSHA-256 49d89e1bd2bb766cba2bb0797252cb86b5a7563de21c4ade47f84fd8a710e805
Raw source report

This page renders the original supplied document for reference. It has not been fact-checked line by line. Use the curated learning guides for normalized terminology, maturity labels, implementation boundaries, and safety framing.

TinyRustLM Rust Runtime Source Bundle

This durable source note preserves the local Rust/WASM runtime files supplied for the ModelBreeder.com v2.3.0 comparison pass. The raw source files are stored under docs/tinyrustlm-source/ inside the deployable ZIP so the implementation trail is not lost. The public curriculum uses these files as evidence for a browser-local model-breeding lab path, not as a compiled runtime bundled into the site.

Runtime themes extracted for site theory

  • A strict .slm model format with header, tensor directory, tokenizer section, checksums, and supported tensor dtypes.
  • A validated adapter-delta pipeline using raw, sparse, and low-rank package formats with model identity checks before application.
  • Deterministic local generation with configurable temperature, top-k, top-p, seed, KV cache state, diagnostics, and bounded result buffers.
  • Quantized matvec paths for q80 and q40 plus f32 fallback paths.
  • WASM exports that keep browser interactions inside a narrow ABI: allocate, load model, validate adapter, apply adapter, generate, and read diagnostics.
  • Native eval-case sidecar generation that turns local test cases into quality-gate evidence.

Source files and checksums

FileBytesSHA-256
docs/tinyrustlm-source/model.rs684452fa2149c17d301271316eae29d214887597c63a313997c61ca5225f785c2373e
docs/tinyrustlm-source/generate.rs490545880a713465935ca9937044dcc0f82741d08dc3b248f4a5f04f9e5bfc3207db8
docs/tinyrustlm-source/adapter.rs19168e45628be16c7758c3a60c190ff866732a03bc442556bd35d81bd183d64b26df6
docs/tinyrustlm-source/tokenizer.rs17504ab51e0eda9f89e1567d5a3610dd97902390f8e8e9b22283137a089659fb13750
docs/tinyrustlm-source/eval_runner.rs146454907408005acfa229c9ba8e2007eb95612fcd07c5f0c3ea17c2ce5b45624ca1a
docs/tinyrustlm-source/model_format.rs11788b2041c774bb82009a57904a28ebeb5a08bb713fdafcb30c5f83ccc6b4f8289d5
docs/tinyrustlm-source/diagnostics.rs9646e48b2478938e73afc8f486a6a21c360a864434bdc7efad152ae3c7d7033bea0e
docs/tinyrustlm-source/sampler.rs69722fdb1bc4ba798258a4adf2034b3ed931083377e4c276e3d1bf5ac46eec26488f
docs/tinyrustlm-source/ops.rs631047d6fedd08b4dc3059f36c3203c13e0eca8f53f2f18dcdc46b20a4a4e5b1028b
docs/tinyrustlm-source/kv_cache.rs59590885152e6b189b894da5ce4a2f438b4f1068fab3c96e4709ec8372e0da97edd1
docs/tinyrustlm-source/quant.rs572190e9f3103d39d00a75a1ac52756436d745eb0d24de748affe5c3f462b183a914
docs/tinyrustlm-source/wasm_exports.rs5227fb382f3a85d8232a9fb58aaf9f3f3612722fb578a2f1d327db58e1baf1753185
docs/tinyrustlm-source/tensor.rs3942611ed2feea28b9e53d415291f9e1962b4eb6d56657437fb61af16e994b710589
docs/tinyrustlm-source/errors.rs262293b775552f722b3c7dedd5b6ac36f1e95149d1f52afc8ce8674207bae7deba6a
docs/tinyrustlm-source/memory.rs1465078bc01720160fb816d5ecff493f4184417d985accf45ec9c5d0f0bc5874fa59
docs/tinyrustlm-source/lib.rs13837fdfe094576f7cb4c63847e6594cbf9dfcd4130f48b6ae7ee95426043364d578
docs/tinyrustlm-source/rope.rs10558f760bf3b39f72c2270533c4b50f9f5769639ae02c5208b584f836898e73ace6

Implementation boundary

The current ModelBreeder.com package remains a plain PHP research site. The Rust runtime files are preserved as long-term technical source memory and have been used to expand architecture, lab, and tool guidance. They are not executed by the PHP site build, and the site does not ship model weights.