IFM K2-Horizon: a tiny toolchain fixture

A small, independently initialized random-weight reference model for learning, debugging, and reproducing QFS capture workflows. It is a base/root fixture, not a quantized child.

These weights are untrained, not an assistant, and not a language-quality benchmark. Generated text has no useful semantic quality. No upstream trained weights or training data are implied by an architecture name.

Weight lineage

This checkpoint was initialized directly for an architecture test. It was not fine-tuned from a production model and does not inherit that model's trained weights. Architecture/configuration lineage is documented separately from weight lineage.

Browse the Random Architecture Fixtures collection. A random base may also serve as the common source for an aligned quantization family.

At a glance

Property Observed value
Artifact role Base/reference model; capture role root
Serialized top-level weight files 541,600 bytes (0.517 MiB); metadata, tokenizer and evidence excluded
Generated parameters 265,936
Saved semantic tensors 91 (parameters and buffers are not interchangeable)
Fixture vocabulary 272 tokens; independent byte tokenizer, not upstream vocabulary
CPU stack Python 3.12; Torch 2.11.0+cpu; Transformers 5.16.1; two Torch threads in the recorded capture workflow
Remote model code Explicit immutable consent required; see below

Size is serialized artifact size, not runtime RAM or a capacity/performance guarantee. Packed-array element counts are not model parameter counts.

What is actually included

Complete text-only K2HorizonForCausalLM, not Kimi: three-layer dense prefix followed by two real MoVA+MoE layers, grouped RMSNorm, sigmoid top-k routing with selection-only bias, shared expert, softplus attention gates, RoPE and dynamic KV cache. No MTP. Random BF16 fixture does not establish full 37.4B-weight model quality, GPU runtime, long-context accuracy, or quantization fidelity.

The repository file inventory includes config.json, generation_config.json, tokenizer.json, tokenizer_config.json, build-manifest.json, support.json, requirements-cpu.txt, patch-manifest.json, source-audit.json. Exact build/runtime/license inventories are linked below. A file may describe historical provenance without being an executable entry point.

Good community uses—and boundaries

  • Learn how to download pinned artifacts, seal a small synthetic token panel, capture hidden states and replay a full vocabulary head.
  • Debug model-family adapters, strict tensor loading, storage decoders, or reproducibility tooling without downloading a production-sized checkpoint.
  • Reproduce a narrowly scoped result, report an adapter/reader regression, and retain the source, panel and runtime identities needed to explain it.

Not established: trained-model accuracy; useful instruction following; quantizer optimization quality; original production-weight compatibility; GPU/NPU/serving-kernel parity; cross-hardware determinism; long-context behavior outside the recorded panel; throughput or paid-compute admission.

Original-release limitations

  • Fp8 or mxfp4 claim: False
  • Full upstream weights downloaded or executed: False
  • Limits: Full model requires at least about 74.9 GB just for BF16 parameters, plus cache/activations/runtime overhead. Tiny BF16 results do not establish full-model quality, GPU compatibility, long-context accuracy or original-weight runtime. No paid hardware provisioned.
  • Metadata parameter count: 37444792020
  • Minimum parameter bytes: 74889584040
  • Public format: BF16 safetensors
  • Quantization config: None

Model family, root dataset and evidence

This model is the base/root of its own random fixture family, not a reproduction of the trained upstream model. The fidelity-root dataset repository is the family reference location. A link is not a claim that registration or publication has completed.

The historical CPU evidence bundle retains two independent captures at first/ and repeat/, plus comparison/. Its repository root is a receipt bundle, not a single canonical QFS dataset. Those recorded same-machine/same-stack forced comparisons reported 0.0 nats on 252 synthetic scored positions; that is not a trained-quality result or a transferable hardware floor. The original detailed receipt and caveats remain authoritative.

Runtime requirements and safe local reproduction

Replay the published evidence without loading a model

This uses QFS's existing NumPy FP64 comparator in a Torch-free environment. It reads the stored hidden states and each side's own head. No model forward, remote model code, GPU, upload or registry mutation is involved. Runtime receipts name the actual backend; last-bit differences from another FP64 implementation are not a new quality claim. Synthetic exact controls remain zero.

Set QFS to a reviewed Quant Fidelity Suite checkout and use Bash:

: "${QFS:?Set QFS to your reviewed QFS checkout}"
WORK=$(mktemp -d)
export OMP_NUM_THREADS=2 MKL_NUM_THREADS=2 OPENBLAS_NUM_THREADS=2
python3.12 -m venv "$WORK/replay-env"
"$WORK/replay-env/bin/pip" install 'numpy==2.5.3' 'huggingface-hub==1.30.0'
"$WORK/replay-env/bin/hf" download malaiwah/qfs-fixture-root-captures-v1 --repo-type dataset \
  --revision f53b204091c988ce4a2161af81886f3018745559 --include 'roots/k2-horizon/**' --local-dir "$WORK/evidence"
"$WORK/replay-env/bin/python" "$QFS/bin/fidelity_dataset.py" verify \
  "$WORK/evidence/roots/k2-horizon/first" --verify-tensors
"$WORK/replay-env/bin/python" "$QFS/bin/fidelity_dataset.py" verify \
  "$WORK/evidence/roots/k2-horizon/repeat" --verify-tensors
"$WORK/replay-env/bin/python" "$QFS/bin/fidelity_dataset.py" compare \
  --reference "$WORK/evidence/roots/k2-horizon/first" \
  --candidate "$WORK/evidence/roots/k2-horizon/repeat" \
  --out "$WORK/replayed" --device cpu --replay-device numpy --replay-dtype float32 \
  --vocab-chunk 8192 --verify-tensors --self-compare --force-compute

Reconstructed format comparisons are intentionally advisory and normally return exit code 2 while writing a valid receipt. Inspect that receipt; do not silence refusals or interpret an advisory result as a production-quality ranking.

Capture the actual checkpoint

Capture uses a separate pinned Torch CPU environment. The input below is the original token-panel format, not a sealed capture's internal panel/ folder. The native source, tokenizer and model revisions remain explicit. Set AUTHOR to your own HF handle; the dataset repository argument is attribution only and nothing is uploaded by these commands.

: "${AUTHOR:?Set AUTHOR to your Hugging Face handle}"
"$WORK/replay-env/bin/hf" download malaiwah/k2-horizon-tiny-random-bf16 --revision 50627d8f2166ee04a172f4a5144dc0b3385b9ee9 --local-dir "$WORK/model"
"$WORK/replay-env/bin/hf" download malaiwah/k2-horizon-tiny-random-bf16 --revision 50627d8f2166ee04a172f4a5144dc0b3385b9ee9 --local-dir "$WORK/source"
"$WORK/replay-env/bin/hf" download malaiwah/qfs-fixture-root-captures-v1 --repo-type dataset \
  --revision f53b204091c988ce4a2161af81886f3018745559 --include 'requirements-capture.txt' --include 'roots/k2-horizon/input-panel/**' \
  --local-dir "$WORK/inputs"
python3.12 -m venv "$WORK/capture-env"
"$WORK/capture-env/bin/pip" install -r "$WORK/inputs/requirements-capture.txt"
"$WORK/capture-env/bin/python" "$QFS/bin/fidelity_dataset.py" architectures prepare \
  --architecture k2-horizon --model-dir "$WORK/model" \
  --model-repository malaiwah/k2-horizon-tiny-random-bf16 --model-revision 50627d8f2166ee04a172f4a5144dc0b3385b9ee9 \
  --panel "$WORK/inputs/roots/k2-horizon/input-panel" --tokenizer-root "$WORK/source" \
  --author "$AUTHOR" --dataset-repository "$AUTHOR/k2-horizon-tiny-random-bf16-capture" \
  --dataset-id "fidelity--$AUTHOR.k2-horizon-tiny-random-bf16" --out "$WORK/workflow" \
  --trust-remote-code --code-repository malaiwah/k2-horizon-tiny-random-bf16 --code-revision 953fbee42d1503202daf18328aa08d8e4e29c9de

Inspect workflow.json. This launcher executes its exact capture/verification commands and selects the Torch-free interpreter only for the final comparison:

export OMP_NUM_THREADS=2 MKL_NUM_THREADS=2 OPENBLAS_NUM_THREADS=2
"$WORK/replay-env/bin/python" - "$WORK/workflow/workflow.json" <<'PY'
import json, subprocess, sys
workflow = json.load(open(sys.argv[1]))
for step in workflow["commands"]:
    argv = list(step["argv"])
    if step["step"] == "compare":
        argv[0] = sys.executable
    result = subprocess.run(argv)
    if result.returncode:
        raise SystemExit(result.returncode)
PY

Use the actual root at malaiwah/k2-horizon-tiny-fidelity-root-v1@9131871ea54fbe9589a05fbb68ed4d26f236ec32. The community collection groups models and captures. Custom code, where required above, is explicitly pinned and executed only after your consent; hash verification is provenance, not a sandbox.

Licensing and detailed provenance

  • Adapted workflow scripts: MIT; WORKFLOW-LICENSE retained
  • Files: LICENSE; NOTICE; WORKFLOW-LICENSE
  • Fixture weights and tokenizer: Apache-2.0; independently generated seeded random weights and byte tokenizer
  • Runtime: Apache-2.0; retained Qwen/Alibaba/HuggingFace copyright headers and IFM pinned source
  • Upstream weights: Apache-2.0 per pinned model card; no standalone LICENSE in pinned repo
Immutable provenance, historical cards, source inventories and full caveats

Selected original provenance fields (full tensor/component evidence remains in the linked inventories):

{
  "generation": "Complete native random FP32 initialization rounded to BF16; no pretrained tensors.",
  "generator_sha256": "25a111bf26826db5bb979821cdd74878544290ea0e87af71fcb5153c8531e013",
  "lineage": {
    "relationship": "architecture source only; no upstream weights or tokenizer used",
    "repository": "IFM/K2-Horizon-MoVA-36B-A4B",
    "revision": "05cab0a4d7150c1c460a000b37ff40cc1af2feaa"
  },
  "parameter_count": 265936,
  "scope": "Complete text-only K2HorizonForCausalLM, not Kimi: three-layer dense prefix followed by two real MoVA+MoE layers, grouped RMSNorm, sigmoid top-k routing with selection-only bias, shared expert, softplus attention gates, RoPE and dynamic KV cache. No MTP. Random BF16 fixture does not establish full 37.4B-weight model quality, GPU runtime, long-context accuracy, or quantization fidelity.",
  "seed": 20260907,
  "versions": {
    "safetensors": "0.8.0",
    "tokenizers": "0.23.2",
    "torch": "2.11.0+cpu",
    "transformers": "5.16.1"
  },
  "reviewed_code_pin": {
    "repository": "malaiwah/k2-horizon-tiny-random-bf16",
    "revision": "953fbee42d1503202daf18328aa08d8e4e29c9de"
  }
}
Downloads last month
-
Safetensors
Model size
266k params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collections including malaiwah/k2-horizon-tiny-random-bf16