bupalinyu commited on
Commit
548a86f
·
verified ·
1 Parent(s): 99f38e3

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +18 -8
README.md CHANGED
@@ -31,9 +31,20 @@ pipeline_tag: text-generation
31
  **Edge0-35b-a3b** — an 35B MoE LLM that runs at viable speed on portable devices in under **2.9 GiB of active memory** (1/8 of its 23 GB weight footprint),
32
  via the [edge0](https://github.com/Edge0-AI/edge0) streaming inference framework.
33
 
34
- The key is streaming: experts are memory-mapped and fetched from SSD only as routed,
35
- so RAM holds just the active weights. What makes that viable — instead of stalling like plain parameter offloading —
36
- is a trained prerouter head that **predicts the next token's expert routing one step ahead**, hiding storage latency behind compute.
 
 
 
 
 
 
 
 
 
 
 
37
 
38
  > **Preview status:** this is an early preview release of the edge0
39
  > pipeline. The checkpoint ships as int4 quantization plus LoRA and
@@ -54,12 +65,11 @@ The LoRA and prerouter adapters are co-located with the base checkpoint
54
  and load automatically — this repository is a complete, ready-to-run
55
  model directory for `edge0`.
56
 
57
- ## Quality
58
 
59
- All benchmarks were run by us with
60
- [OpenCompass](https://github.com/open-compass/opencompass) under identical
61
- settings and parameters for both models. The loss of the edge0 pipeline
62
- (int4 + adapters) relative to the fp16 base model is small: **3.9 points on average** (max 100):
63
 
64
  | Benchmark | edge0-35b (int4) | Qwen3.5-MoE 35B-A3B (fp16) |
65
  |---|---:|---:|
 
31
  **Edge0-35b-a3b** — an 35B MoE LLM that runs at viable speed on portable devices in under **2.9 GiB of active memory** (1/8 of its 23 GB weight footprint),
32
  via the [edge0](https://github.com/Edge0-AI/edge0) streaming inference framework.
33
 
34
+ Three mechanisms make this work:
35
+
36
+ - **SSD expert offload**: expert weights are streamed from storage on
37
+ demand — fetched only as routed, so RAM holds just the active
38
+ weights. Peak memory is bounded by the active set, not the
39
+ parameter count.
40
+ - **Prerouter**: a trained head predicts expert routing one step
41
+ ahead, so expert loads overlap the forward pass instead of stalling
42
+ it — **up to +59%** decode throughput; the gain grows with storage
43
+ latency, model size, and routed width *K*.
44
+ - **Recover-LoRA**: the int4 base is frozen and LoRA adapters are
45
+ trained by distillation from the FP teacher, recovering most of the
46
+ quantization loss at 4-bit (see Quality below). Adapters stay
47
+ unmerged: one read-only base serves multiple adapter sets.
48
 
49
  > **Preview status:** this is an early preview release of the edge0
50
  > pipeline. The checkpoint ships as int4 quantization plus LoRA and
 
65
  and load automatically — this repository is a complete, ready-to-run
66
  model directory for `edge0`.
67
 
68
+ ## Quality (self-evaluation)
69
 
70
+ Internal self-evaluation of this checkpoint (int4 + adapters) relative to
71
+ the fp16 base model — the loss of the edge0 pipeline is small: **3.9
72
+ points on average** (max 100, all self-run):
 
73
 
74
  | Benchmark | edge0-35b (int4) | Qwen3.5-MoE 35B-A3B (fp16) |
75
  |---|---:|---:|