Compare quality to base Step-5 and publish loader plus 96 GB hardware recipe
Browse files
README.md
CHANGED
|
@@ -15,12 +15,25 @@ tags:
|
|
| 15 |
|
| 16 |
# Step-5 Preview EXL3 · TTG AI
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
|
|
|
|
|
|
|
| 21 |
|
| 22 |
**EXL3** is ExLlamaV3’s compressed format for model weights, the numbers a model learns during training. It lets us choose how many bits to use for different parts of Step-5. We store our routed experts at 2 to 5 bits per weight and keep the original precision for the vision weights, routers and multi-token prediction layers.
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
## Where the bits went
|
| 25 |
|
| 26 |
Read the map from top to bottom. Each row is a routed layer, and each column is an expert within that layer. The 88 rows and 352 columns show the precision we assigned to every routed expert. We kept every expert in the final three routed layers at 3 bits or higher. [Inspect the allocation for every expert](./exl3_plan.json)
|
|
@@ -28,6 +41,9 @@ Read the map from top to bottom. Each row is a routed layer, and each column is
|
|
| 28 |
| Routed expert precision | 2 bits | 3 bits | 4 bits | 5 bits |
|
| 29 |
| --- | ---: | ---: | ---: | ---: |
|
| 30 |
| Expert count | 24,607 | 6,106 | 23 | 240 |
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
| Component | TTG AI build |
|
| 33 |
| --- | --- |
|
|
@@ -40,18 +56,17 @@ We calibrated on code, general text and tool-call transcripts. We assigned more
|
|
| 40 |
|
| 41 |
## TTG AI build
|
| 42 |
|
| 43 |
-
| Measurement |
|
| 44 |
-
| --- | ---: |
|
| 45 |
-
|
|
| 46 |
-
|
|
| 47 |
-
| Routed
|
| 48 |
-
|
|
| 49 |
-
|
|
| 50 |
-
| Public weight files verified by SHA-256 and size | 206 of 206 |
|
| 51 |
|
| 52 |
-
|
| 53 |
|
| 54 |
-
|
| 55 |
|
| 56 |
[BF16 weight index](https://huggingface.co/stepfun-ai/Step-5-Preview-BF16/blob/7734b7ffac118d70d8398bfa3eb0fab007eb45b1/model.safetensors.index.json) · [Conversion record](./conversion-complete.json) · [Per-file SHA-256 checksums](./weight-checksums.json) · [Public verification run](https://github.com/mrgizmo212/step5-preview-exl3-release/actions/runs/46513759028)
|
| 57 |
|
|
@@ -65,7 +80,21 @@ hf download TTGAI/Step-5-Preview-EXL3 \
|
|
| 65 |
|
| 66 |
## Serving
|
| 67 |
|
| 68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
## Source and attribution
|
| 71 |
|
|
|
|
| 15 |
|
| 16 |
# Step-5 Preview EXL3 · TTG AI
|
| 17 |
|
| 18 |
+
We compressed StepFun’s **600B-parameter Step-5 Preview from 1.209 TB to 183.67 GB** and kept **all 30,976 routed experts**. About **27B parameters** are active per token. The vision weights, sparse-attention indexers and three multi-token prediction layers keep their original precision.
|
| 19 |
|
| 20 |
+
[Download the weights](#download-the-verified-weights) · [Download our vLLM loader](https://raw.githubusercontent.com/mrgizmo212/step5-preview-exl3-release/696b2cfd1261de15d68b1155d92ca3c2f1cfc58c/serving/ttg_step5_vllm-0.1.0-py3-none-any.whl) · [Install locally or on Runpod](https://github.com/mrgizmo212/step5-preview-exl3-release/blob/696b2cfd1261de15d68b1155d92ca3c2f1cfc58c/serving/README.md)
|
| 21 |
+
|
| 22 |
+
[](./exl3_plan.json)
|
| 23 |
|
| 24 |
**EXL3** is ExLlamaV3’s compressed format for model weights, the numbers a model learns during training. It lets us choose how many bits to use for different parts of Step-5. We store our routed experts at 2 to 5 bits per weight and keep the original precision for the vision weights, routers and multi-token prediction layers.
|
| 25 |
|
| 26 |
+
## Quality compared with base Step-5
|
| 27 |
+
|
| 28 |
+
| Task or benchmark | Base Step-5 Preview | TTG AI EXL3 |
|
| 29 |
+
| --- | --- | --- |
|
| 30 |
+
| Short coding and instruction-following tasks | Full-precision reference | **Estimated 1–2 percentage points lower in pass rate** |
|
| 31 |
+
| SWE-Bench Pro | 65.2% | Unmeasured |
|
| 32 |
+
| Terminal-Bench 2.0 | 55.5% | Unmeasured |
|
| 33 |
+
| DeepSWE v1.1 | 45.4% | Unmeasured |
|
| 34 |
+
|
| 35 |
+
We estimate one or two fewer passes per 100 short coding or instruction-following tasks compared with full-precision Step-5. We haven’t run a matched task benchmark on our checkpoint. StepFun reports the three named benchmark scores for its base model at High reasoning effort. [StepFun’s benchmark results](https://huggingface.co/stepfun-ai/Step-5-Preview-BF16#performance)
|
| 36 |
+
|
| 37 |
## Where the bits went
|
| 38 |
|
| 39 |
Read the map from top to bottom. Each row is a routed layer, and each column is an expert within that layer. The 88 rows and 352 columns show the precision we assigned to every routed expert. We kept every expert in the final three routed layers at 3 bits or higher. [Inspect the allocation for every expert](./exl3_plan.json)
|
|
|
|
| 41 |
| Routed expert precision | 2 bits | 3 bits | 4 bits | 5 bits |
|
| 42 |
| --- | ---: | ---: | ---: | ---: |
|
| 43 |
| Expert count | 24,607 | 6,106 | 23 | 240 |
|
| 44 |
+
| Median expert-output difference from BF16 | 13.65% | 6.52% | 3.25% | 1.65% |
|
| 45 |
+
|
| 46 |
+
We measured this difference by feeding the same calibration inputs to sampled BF16 experts and to those experts encoded at each precision. The figures are median relative output errors across eight sampled layers. They describe how much the experts’ calculations changed. [Our calibration measurements](./exl3_plan.json)
|
| 47 |
|
| 48 |
| Component | TTG AI build |
|
| 49 |
| --- | --- |
|
|
|
|
| 56 |
|
| 57 |
## TTG AI build
|
| 58 |
|
| 59 |
+
| Measurement | StepFun BF16 | TTG AI EXL3 |
|
| 60 |
+
| --- | ---: | ---: |
|
| 61 |
+
| Source-model parameters | 602,972,927,296 | 602,972,927,296 |
|
| 62 |
+
| Active parameters per token | About 27B | About 27B |
|
| 63 |
+
| Routed experts | 30,976 | 30,976 |
|
| 64 |
+
| Checkpoint weight files | 1,208,684,168,984 bytes (1.209 TB) | 183,669,102,168 bytes (183.67 GB) |
|
| 65 |
+
| Routed expert precision | BF16 (16 bits) | 2.22 bits per weight on average, before scales |
|
|
|
|
| 66 |
|
| 67 |
+
We reduced weight storage by **84.8%**, accounted for all **2,449 source tensors**, and verified all **206 released weight files** by size and SHA-256.
|
| 68 |
|
| 69 |
+
The Hub sidebar counts elements in the packed safetensors files. One packed integer can hold several original weights. We report the original parameter count in the conversion record.
|
| 70 |
|
| 71 |
[BF16 weight index](https://huggingface.co/stepfun-ai/Step-5-Preview-BF16/blob/7734b7ffac118d70d8398bfa3eb0fab007eb45b1/model.safetensors.index.json) · [Conversion record](./conversion-complete.json) · [Per-file SHA-256 checksums](./weight-checksums.json) · [Public verification run](https://github.com/mrgizmo212/step5-preview-exl3-release/actions/runs/46513759028)
|
| 72 |
|
|
|
|
| 80 |
|
| 81 |
## Serving
|
| 82 |
|
| 83 |
+
Our vLLM loader targets **one NVIDIA B300 with 288 GB of VRAM** for GPU-resident serving. It reconstructs the main attention and feed-forward weights, runs packed experts with Triton, and can stage selected experts from system RAM. We target a 262,144-token engine context. The minimum working GPU, usable context, concurrency, throughput and MTP acceptance require a full-checkpoint hardware run. [Loader wheel](https://raw.githubusercontent.com/mrgizmo212/step5-preview-exl3-release/696b2cfd1261de15d68b1155d92ca3c2f1cfc58c/serving/ttg_step5_vllm-0.1.0-py3-none-any.whl) · [Installation and Runpod Serverless guide](https://github.com/mrgizmo212/step5-preview-exl3-release/blob/696b2cfd1261de15d68b1155d92ca3c2f1cfc58c/serving/README.md)
|
| 84 |
+
|
| 85 |
+
### 96 GB VRAM, RAM and CPU recipe
|
| 86 |
+
|
| 87 |
+
| Component | Proposed single-GPU configuration |
|
| 88 |
+
| --- | --- |
|
| 89 |
+
| VRAM | 96 GB. Keep the main network and 16 of the 88 routed expert banks on the GPU. |
|
| 90 |
+
| System RAM | 256 GB. Offload the final 72 expert banks to pinned RAM. Their checkpoint files total **130.59 GB**. |
|
| 91 |
+
| CPU | Modern x86-64 processor with 16 or more physical cores and a full-bandwidth PCIe x16 link. The CPU stages selected experts and the GPU runs their matrix operations. |
|
| 92 |
+
| Disk | 250 GB free on NVMe for weights and working space, plus room for the serving image. |
|
| 93 |
+
| Initial workload | 8,192 total tokens, one request, 512-token prefill chunks and MTP off. |
|
| 94 |
+
|
| 95 |
+
The remaining checkpoint files total **53.08 GB on disk**. The GPU also holds reconstructed weights, active expert transfers, the KV cache and runtime buffers.
|
| 96 |
+
|
| 97 |
+
**RTX PRO 6000 Blackwell compatibility.** This 96 GB card uses SM120. Step-5’s sparse-attention backend in our pinned vLLM build rejects SM120 during startup. The workstation recipe gives the memory layout for a compatible backend. Generating on this RTX card requires SM120 attention support. [vLLM hardware check](https://github.com/vllm-project/vllm/blob/94e09ea83c2bc6fcdf169fe80694dfb9b97f14c1/vllm/models/step5/nvidia/sparse_attention.py#L1116-L1127) · [NVIDIA GPU capabilities](https://developer.nvidia.com/cuda/gpus)
|
| 98 |
|
| 99 |
## Source and attribution
|
| 100 |
|