HelloSun commited on
Commit
1d50cfc
·
verified ·
1 Parent(s): f548785

Add v2 row-parallel for gated Flint experts; label all data v1/v2; fix swiglu_limit pass-through

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +69 -39
  2. flint-epq.patch +52 -20
  3. results/logs/common/mem_summary.txt +18 -0
  4. results/logs/common/perf_c512_summary.txt +12 -0
  5. results/logs/{ppl_corpus.txt → common/ppl_corpus.txt} +0 -0
  6. results/logs/{greedy_epq_fresh.txt → native/greedy_t16.txt} +0 -0
  7. results/logs/{greedy_native.txt → native/greedy_t8.txt} +0 -0
  8. results/logs/{kl_native_ub16_vs_native.log → native/kl_ub16_vs_native_ub64.log} +0 -0
  9. results/logs/native/kl_ub64_vs_native_ub1_t16.log +50 -0
  10. results/logs/native/perf_c512_native_run1.log +41 -0
  11. results/logs/native/perf_c512_native_run2.log +41 -0
  12. results/logs/native/perf_c512_native_run3.log +41 -0
  13. results/logs/native/ppl_kl_base_decode_ub1_t16.log +11 -0
  14. results/logs/{ppl_kl_native_base_ub64.log → native/ppl_kl_base_prefill_ub64_t8.log} +0 -0
  15. results/logs/tiers_3runs.txt +0 -15
  16. results/logs/v1/greedy_t16.txt +2 -0
  17. results/logs/v1/greedy_t8.txt +2 -0
  18. results/logs/v1/kl_decode_ub1_t16_vs_native.log +70 -0
  19. results/logs/{kl_epq_vs_native.log → v1/kl_prefill_ub64_t8_vs_native.log} +0 -0
  20. results/logs/{tier_16g_run3.log → v1/mem_v1_16g_run1.log} +3 -3
  21. results/logs/{tier_16g_run1.log → v1/mem_v1_16g_run2.log} +3 -3
  22. results/logs/{tier_16g_run2.log → v1/mem_v1_16g_run3.log} +3 -3
  23. results/logs/{tier_2g_run2.log → v1/mem_v1_2g_run1.log} +3 -3
  24. results/logs/{tier_2g_run3.log → v1/mem_v1_2g_run2.log} +3 -3
  25. results/logs/{tier_2g_run1.log → v1/mem_v1_2g_run3.log} +3 -3
  26. results/logs/{tier_32g_run2.log → v1/mem_v1_32g_run1.log} +3 -3
  27. results/logs/{tier_32g_run3.log → v1/mem_v1_32g_run2.log} +3 -3
  28. results/logs/{tier_32g_run1.log → v1/mem_v1_32g_run3.log} +3 -3
  29. results/logs/{tier_4g_run2.log → v1/mem_v1_4g_run1.log} +3 -3
  30. results/logs/{tier_4g_run3.log → v1/mem_v1_4g_run2.log} +3 -3
  31. results/logs/{tier_4g_run1.log → v1/mem_v1_4g_run3.log} +3 -3
  32. results/logs/{tier_8g_run1.log → v1/mem_v1_8g_run1.log} +3 -3
  33. results/logs/{tier_8g_run3.log → v1/mem_v1_8g_run2.log} +3 -3
  34. results/logs/{tier_8g_run2.log → v1/mem_v1_8g_run3.log} +3 -3
  35. results/logs/v1/perf_c512_v1_arena18g_run1.log +59 -0
  36. results/logs/v1/perf_c512_v1_arena18g_run2.log +59 -0
  37. results/logs/v1/perf_c512_v1_arena18g_run3.log +59 -0
  38. results/logs/v1/perf_c512_v1_arena28g_run1.log +59 -0
  39. results/logs/v1/perf_c512_v1_arena28g_run2.log +59 -0
  40. results/logs/v1/perf_c512_v1_arena28g_run3.log +59 -0
  41. results/logs/{ppl_epq.log → v1/ppl_prefill_ub64_t8.log} +0 -0
  42. results/logs/v2/greedy_t16.txt +2 -0
  43. results/logs/v2/greedy_t8.txt +2 -0
  44. results/logs/v2/kl_decode_ub1_t16_vs_native.log +70 -0
  45. results/logs/v2/kl_decode_ub1_t16_vs_v1.log +70 -0
  46. results/logs/v2/kl_prefill_ub64_t8_vs_native.log +72 -0
  47. results/logs/v2/perf_c512_v2_arena28g_run1.log +61 -0
  48. results/logs/v2/perf_c512_v2_arena28g_run2.log +61 -0
  49. results/logs/v2/perf_c512_v2_arena28g_run3.log +61 -0
  50. results/logs/v2/ppl_prefill_ub64_t8.log +30 -0
README.md CHANGED
@@ -14,6 +14,13 @@ tags:
14
 
15
  CPU expert paging for the Unsloth `flint-UD-Q4_K_XL.gguf` checkpoint. Routed gate/up/down expert weights stay on disk and are copied into a bounded RAM arena as needed. Flint's router, selected-expert weights, shared expert, attention and dense layers remain on the upstream llama.cpp graph.
16
 
 
 
 
 
 
 
 
17
  ## Source model
18
 
19
  - GGUF: [`unsloth/flint-GGUF`](https://huggingface.co/unsloth/flint-GGUF), `flint-UD-Q4_K_XL.gguf` (25,054,688,704 bytes)
@@ -28,13 +35,13 @@ System information recorded on 2026-10-23:
28
  |---|---|
29
  | CPU | Intel Xeon Platinum 8559C, 2 sockets × 48 cores, SMT enabled (192 host logical CPUs) |
30
  | CPU features | AVX2, AVX-512, VNNI, BF16; AMX available on host but disabled for this build |
31
- | Container CPU quota | 16 CPUs (`cpu.max` = 1,600,000 / 100,000); benchmarks used 4 threads |
32
  | Host memory | 2.0 TiB reported by `free` |
33
  | Container memory limit | 104,000,000,000 bytes (about 96.9 GiB), cgroup v2 |
34
  | Container swap limit | 2,936,848,384 bytes (about 2.74 GiB); measured test processes used 0 swap |
35
  | GPU | No GPU used; CPU-only build and inference |
36
  | OS / kernel | Amazon Linux 2023 x86_64, Linux 6.18.48 |
37
- | llama.cpp | `970b51ce7c9ba5fff0726c5e9994f1c2f0e4eedc` (`970b51c`) + `flint-epq.patch` |
38
 
39
  ## Build
40
 
@@ -53,77 +60,100 @@ cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DLLAMA_CURL=OFF \
53
  cmake --build build -j 8 --target llama-cli llama-server llama-completion llama-perplexity
54
  ```
55
 
56
- Download the GGUF and run the smoke test exactly as it was verified (peak process-tree RSS 2.39 GiB, swap 0, answer produced):
57
 
58
  ```bash
59
  hf download unsloth/flint-GGUF flint-UD-Q4_K_XL.gguf --local-dir models
60
- SDQ_PAGER=1 SDQ_ARENA_MB=512 SDQ_PREFETCH=0 SDQ_PRELOAD=0 \
61
  build/bin/llama-cli -m models/flint-UD-Q4_K_XL.gguf -c 2048 \
62
  -p 'What is 1 + 1? Answer briefly.' -n 32 -t 16 --temp 0 --single-turn --simple-io
63
  ```
64
 
65
- Set `SDQ_PAGER=0` to use the native llama.cpp MoE path. `SDQ_ARENA_MB` sets the expert cache size; `SDQ_PREFETCH=0` is the tested default. The pager emits JSON statistics when `SDQ_STATS_FILE=/path/to/stats.jsonl` is set.
 
 
 
 
 
 
 
 
66
 
67
  ## Numerical validation
68
 
69
- EPQ is compared against native llama.cpp (`SDQ_PAGER=0`) on the same binary. Reference text: the first 6,000 bytes of llama.cpp's `README.md` (`results/logs/ppl_corpus.txt`), 4 chunks of 256 tokens.
70
 
71
- | Test | Result |
72
- |---|---|
73
- | Greedy generation, 24 tokens, `The capital of France is` | Identical to native (`results/logs/greedy_*.txt`) |
74
- | Perplexity, native | 10.7790 ± 1.6026 |
75
- | Perplexity, EPQ | 10.8014 ± 1.6076 (+0.21 %) |
76
- | KL divergence vs native, EPQ | mean 0.01912 ± 0.00198; median 0.00429; max 0.455 |
77
- | Top-1 token agreement vs native, EPQ | 92.3 % ± 1.2 %; RMS Δp 2.90 % |
78
- | **Control:** native with ubatch 16 vs native with ubatch 64 (only float summation order changes) | mean KLD 0.02401 ± 0.00339; max 1.136; top-1 agreement 93.1 % |
79
- | Layer-wise MoE output, layers 2–6, EPQ vs native (same input) | max relative difference ≤ 1.6e-5 |
 
 
80
 
81
- The EPQ result is **not bit-identical** to native. The EPQ MoE sums the selected experts in expert-id order, while upstream sums in top-k order, so the outputs differ at the float-rounding level (~1e-7). Activation quantization to 8 bits then amplifies this small difference through the layers, so the difference grows with depth (layers 7 and later). The ubatch control shows that native llama.cpp itself gives a KL divergence and top-1 disagreement of the same size when only float summation order changes. The EPQ deviation is therefore in the same range as ordinary reordering sensitivity for this checkpoint. This is a measured conclusion from these runs, not a proof of exact equivalence.
82
 
83
- ## 2/4/8/16/32 GiB memory benchmark
 
 
 
 
84
 
85
  `bench.sh <GiB> <pager 0|1>` runs a fixed prompt and samples process-tree RSS every 20 ms. If sampled RSS exceeds the requested limit, the watchdog kills the run. This is a sampled RSS watchdog, not a kernel/cgroup hard limit: RSS may briefly exceed the threshold between samples, and it counts file-backed pages as reported by `/proc`. `tools/runmem_cgroup.py` (cgroup-v2 `MemoryMax`) is included but **untested in this environment**; it requires a host with writable cgroup v2 and systemd.
86
 
87
  ```bash
88
- for cap in 2 4 8 16 32; do ./bench.sh "$cap" 1; done
89
  ```
90
 
91
- Override model path, arena size and thread count with `MODEL`, `ARENA_MB` and `THREADS`. The workload is short (context 128, batch 32, ubatch 16, 8 generated tokens) and the benchmark sets `SDQ_PRELOAD=0`, so the preload/row-parallel path is not exercised by these numbers. Keep enough memory for non-expert weights, KV/state and compute buffers; a limit below that floor is expected to fail to load.
92
 
93
  ### Results
94
 
95
- Each tier was run 3 times with the same checkpoint, prompt (`Explain in one sentence why the sky is blue.`), 4 CPU threads, pager enabled, prefetch disabled. Table values are medians; all 15 runs exited 0 with 0 swap and never exceeded their watchdog threshold. Raw logs: `results/logs/tier_*g_run*.log`, summary `results/logs/tiers_3runs.txt`.
 
 
 
 
 
 
 
 
 
96
 
97
- | RSS watchdog tier | Expert arena (slots) | Peak process-tree RSS (3 runs) | Swap | Prompt (median) | Generation (median) |
98
- |---:|---:|---:|---:|---:|---:|
99
- | 2 GiB | 256 MiB (105) | 1.970 GiB | 0 | 5.5 t/s | 3.2 t/s |
100
- | 4 GiB | 1 GiB (420) | 2.721 GiB | 0 | 5.8 t/s | 3.1 t/s |
101
- | 8 GiB | 3 GiB (1,260) | 4.721 GiB | 0 | 5.9 t/s | 3.3 t/s |
102
- | 16 GiB | 10 GiB (4,201) | 11.721 GiB | 0 | 6.5 t/s | 3.8 t/s |
103
- | 32 GiB | 18 GiB (7,561 of 12,032 experts) | 19.720 GiB | 0 | 6.7 t/s | 3.9 t/s |
104
 
105
- Throughput varied by about ±15 % between runs of the same tier; treat the t/s columns as approximate. These are measurements on a shared virtualized host, not cgroup-enforced hard limits. Repeat on the target machine for representative throughput.
106
 
107
- ## Validation status
108
 
109
- See [`results/test-status.md`](results/test-status.md) for the full system and validation record, including what was not tested.
 
 
 
 
 
110
 
111
- ## Which EPQ version is ported
112
 
113
- The source is [HelloSun's Nemotron EPQ](https://huggingface.co/HelloSun/NVIDIA-Nemotron-3.5-Bolt-74B-A9B-24GB-GGUF_EPQ) with two patches applied in order: `0001-epq-nemotron-h-moe.patch` (EPQ v1) and `epqv2.patch` (EPQ v2 increment). The Flint port applies both, but only these parts are active for Flint:
114
 
115
- | Feature | Source | Status for Flint |
116
  |---|---|---|
117
- | Expert paging, SSD→arena, per-expert custom op ("mode C") | v1 | Active; this is what all measurements use |
118
- | Preload all experts into the arena | v2 | Code present; runs only when the arena holds all 12,032 experts (about 28.6 GiB at 2.44 MiB/slot). No measured tier reaches this, so it is not exercised here |
119
- | Row-parallel MoE (16-thread row split) | v2 | Inactive: gated only for no-gate (Nemotron) experts; Flint has gate/up/down |
 
120
 
121
- The Flint-specific hook routes gated SiLU experts through the pager. Nemotron's no-gate/ReLU-squared path is not used by Flint.
122
 
123
- Flint's upstream `build_moe_ffn` also applies a power-of-two amax rescale of the down-projection input and undoes it on the output. This rescale is exact in F32 and Q8_K quantization is scale-invariant, so the paged path omits it. The layer-2–6 MoE comparison against native (which includes the rescale) confirms that the omission changes no results beyond float-summation noise.
124
 
125
  ## Attribution
126
 
127
- The pager is adapted from HelloSun's Nemotron EPQ v1 and v2 (linked above).
128
 
129
  The GGUF weights remain hosted by Unsloth. This repository contains source, patch, scripts, logs and test notes only.
 
14
 
15
  CPU expert paging for the Unsloth `flint-UD-Q4_K_XL.gguf` checkpoint. Routed gate/up/down expert weights stay on disk and are copied into a bounded RAM arena as needed. Flint's router, selected-expert weights, shared expert, attention and dense layers remain on the upstream llama.cpp graph.
16
 
17
+ Two versions are measured throughout:
18
+
19
+ - **v1**: expert paging with the per-expert custom op ("mode C"). `SDQ_PRELOAD=0 SDQ_ROW_PARALLEL=0`.
20
+ - **v2**: v1 plus preload of all experts into the arena and row-parallel decode for gated (gate/up/down) experts. `SDQ_PRELOAD=1 SDQ_ROW_PARALLEL=1`, arena ≥ 28.6 GiB.
21
+
22
+ Native llama.cpp (`SDQ_PAGER=0`) is the reference.
23
+
24
  ## Source model
25
 
26
  - GGUF: [`unsloth/flint-GGUF`](https://huggingface.co/unsloth/flint-GGUF), `flint-UD-Q4_K_XL.gguf` (25,054,688,704 bytes)
 
35
  |---|---|
36
  | CPU | Intel Xeon Platinum 8559C, 2 sockets × 48 cores, SMT enabled (192 host logical CPUs) |
37
  | CPU features | AVX2, AVX-512, VNNI, BF16; AMX available on host but disabled for this build |
38
+ | Container CPU quota | 16 CPUs (`cpu.max` = 1,600,000 / 100,000); v1 memory tiers used 16 threads, v2 and the throughput runs used 16 threads |
39
  | Host memory | 2.0 TiB reported by `free` |
40
  | Container memory limit | 104,000,000,000 bytes (about 96.9 GiB), cgroup v2 |
41
  | Container swap limit | 2,936,848,384 bytes (about 2.74 GiB); measured test processes used 0 swap |
42
  | GPU | No GPU used; CPU-only build and inference |
43
  | OS / kernel | Amazon Linux 2023 x86_64, Linux 6.18.48 |
44
+ | llama.cpp | `970b51ce7c9ba5fff0726c5e9994f1c2f0e4eedc` (`970b51c`) + `flint-epq.patch` (sha256 `15c6554271d0c77357d96e628546f8ba624e6834c4c90c69615c90c2ac2310ea`) |
45
 
46
  ## Build
47
 
 
60
  cmake --build build -j 8 --target llama-cli llama-server llama-completion llama-perplexity
61
  ```
62
 
63
+ v1 smoke test (verified; peak process-tree RSS 2.39 GiB, swap 0, answer produced):
64
 
65
  ```bash
66
  hf download unsloth/flint-GGUF flint-UD-Q4_K_XL.gguf --local-dir models
67
+ SDQ_PAGER=1 SDQ_ARENA_MB=512 SDQ_PREFETCH=0 SDQ_PRELOAD=0 SDQ_ROW_PARALLEL=0 \
68
  build/bin/llama-cli -m models/flint-UD-Q4_K_XL.gguf -c 2048 \
69
  -p 'What is 1 + 1? Answer briefly.' -n 32 -t 16 --temp 0 --single-turn --simple-io
70
  ```
71
 
72
+ v2 (preload + row-parallel). The arena must hold all 12,032 experts (≥ 28.6 GiB). Row-parallel applies to decode steps where the number of needed experts is below the thread count, so use at least 7 threads:
73
+
74
+ ```bash
75
+ SDQ_PAGER=1 SDQ_PREFETCH=0 SDQ_ARENA_MB=29400 SDQ_PRELOAD=1 SDQ_ROW_PARALLEL=1 \
76
+ build/bin/llama-cli -m models/flint-UD-Q4_K_XL.gguf -c 512 -b 128 -ub 32 \
77
+ -p 'Explain in one sentence why the sky is blue.' -n 32 -t 16 --temp 0 --single-turn --simple-io
78
+ ```
79
+
80
+ `SDQ_PAGER=0` selects the native llama.cpp MoE path. `SDQ_ARENA_MB` sets the expert cache size. `SDQ_STATS_FILE=/path/to/stats.jsonl` writes JSON statistics.
81
 
82
  ## Numerical validation
83
 
84
+ Reference: native llama.cpp (`SDQ_PAGER=0`) on the same binary. Text: the first 6,000 bytes of llama.cpp's `README.md` (`results/logs/common/ppl_corpus.txt`). All logs are in `results/logs/{native,v1,v2}/`.
85
 
86
+ | Test | Native | v1 | v2 |
87
+ |---|---|---|---|
88
+ | Greedy, 24 tokens, 8 threads (`The capital of France is`) | reference | identical to native | identical to native |
89
+ | Greedy, 24 tokens, 16 threads | reference | differs from native at char 13 | identical to v1 |
90
+ | Prefill perplexity (`-ub 64`, 8 threads, 4 chunks × 256 tokens) | 10.7790 ± 1.6026 | 10.8014 ± 1.6076 (+0.21 %) | 10.8014 ± 1.6076 |
91
+ | Prefill KL vs native (mean / median / max) | — | 0.019120 / 0.004286 / 0.455 | 0.019120 / 0.004286 / 0.455 |
92
+ | Prefill top-1 agreement vs native | — | 92.3 % | 92.3 % |
93
+ | Decode KL vs native (`-ub 1`, 16 threads, 2 chunks) | — | 0.044057; top-1 92.5 % | 0.044057; top-1 92.5 % |
94
+ | **Control:** native `-ub 64` vs native `-ub 1` (only float order changes) | — | — | mean KLD 0.034464; top-1 90.2 % |
95
+ | Decode v2 vs v1 (`-ub 1`, 16 threads) | — | — | KLD 1e-6 (max 3.8e-5); top-1 100 % |
96
+ | Layer-wise MoE output, layers 2–6, EPQ vs native (same input) | — | max relative diff ≤ 1.6e-5 | — |
97
 
98
+ Findings:
99
 
100
+ - **v2 row-parallel is numerically equivalent to v1** in decode (KL 1e-6, top-1 100 %) and identical to v1 in prefill (prefill does not use row-parallel). It is not bit-identical.
101
+ - **EPQ is not bit-identical to native.** Float summation order differs, and 8-bit activation quantization amplifies the difference through the layers. The native `-ub 1` vs `-ub 64` control gives a KL divergence of the same magnitude (0.034 vs 0.044). The deviation is in the range of ordinary reordering sensitivity for this checkpoint; it is a measured conclusion from these runs, not a proof of exact equivalence.
102
+ - **Greedy text identity is fragile.** At 8 threads the 24-token output matches native exactly; at 16 threads it diverges after 12 characters, for v1 and v2 alike. The divergence is a near-tie argmax flip caused by the reordering above.
103
+
104
+ ## Memory benchmark (RSS watchdog, v1)
105
 
106
  `bench.sh <GiB> <pager 0|1>` runs a fixed prompt and samples process-tree RSS every 20 ms. If sampled RSS exceeds the requested limit, the watchdog kills the run. This is a sampled RSS watchdog, not a kernel/cgroup hard limit: RSS may briefly exceed the threshold between samples, and it counts file-backed pages as reported by `/proc`. `tools/runmem_cgroup.py` (cgroup-v2 `MemoryMax`) is included but **untested in this environment**; it requires a host with writable cgroup v2 and systemd.
107
 
108
  ```bash
109
+ for cap in 2 4 8 16 32; do ./bench.sh "$cap" 1; done # THREADS defaults to 16
110
  ```
111
 
112
+ Override with `MODEL`, `ARENA_MB`, `THREADS`. Workload: context 128, batch 32, ubatch 16, 8 generated tokens, prefetch off.
113
 
114
  ### Results
115
 
116
+ Each row is the median of 3 runs. All runs exited 0, swap 0, and stayed under their threshold. Logs: `results/logs/v1/mem_v1_*.log`, `results/logs/v2/v2_32g_run*.log`, summaries in `results/logs/common/mem_summary.txt`.
117
+
118
+ | Tier | Version | Expert arena (slots) | Peak process-tree RSS | Prompt | Generation |
119
+ |---:|---|---:|---:|---:|---:|
120
+ | 2 GiB | v1 | 256 MiB (105) | 2.014 GiB | 6.9 t/s | 3.9 t/s |
121
+ | 4 GiB | v1 | 1 GiB (420) | 2.765 GiB | 7.1 t/s | 4.4 t/s |
122
+ | 8 GiB | v1 | 3 GiB (1,260) | 4.766 GiB | 9.4 t/s | 4.4 t/s |
123
+ | 16 GiB | v1 | 10 GiB (4,201) | 11.767 GiB | 12.5 t/s | 5.2 t/s |
124
+ | 32 GiB | v1 | 18 GiB (7,561 of 12,032) | 19.766 GiB | 12.0 t/s | 5.2 t/s |
125
+ | 32 GiB | v2 | 28.7 GiB (12,061, all experts) | 30.473 GiB | 33.7 t/s | 13.8 t/s |
126
 
127
+ v2 is only possible in the 32 GiB tier, since preloading all experts needs at least 28.6 GiB of arena. Throughput varies by about ±15 % between runs; treat t/s as approximate.
 
 
 
 
 
 
128
 
129
+ ## Throughput (v1, v2, native)
130
 
131
+ Separate workload from the memory tiers: context 512, batch 128, ubatch 32, 32 generated tokens, 16 threads, 3 runs each (median).
132
 
133
+ | Configuration | Prompt | Generation | Peak RSS | Logs |
134
+ |---|---:|---:|---:|---|
135
+ | Native (`SDQ_PAGER=0`) | 54.4 t/s | 21.5 t/s | 24.31 GiB | `results/logs/native/perf_c512_*` |
136
+ | v1, arena 18 GiB | 13.0 t/s | 5.6 t/s | 19.79 GiB | `results/logs/v1/perf_c512_v1_arena18g_*` |
137
+ | v1, arena 28.7 GiB, no preload | 12.3 t/s | 5.5 t/s | 30.51 GiB | `results/logs/v1/perf_c512_v1_arena28g_*` |
138
+ | **v2**, arena 28.7 GiB, preload + row-parallel | **32.4 t/s** | **16.2 t/s** | 30.50 GiB | `results/logs/v2/perf_c512_v2_arena28g_*` |
139
 
140
+ v2 generates about 2.9× faster than v1 and about 75 % of native generation speed. The prompt phase is also faster in v2 (likely because the preload removes SSD reads during prefill, which still uses mode C; not separately measured). The v1 and v2 rows at 28.7 GiB have nearly the same RSS because the prompt already touches most experts in both runs.
141
 
142
+ ## Version coverage
143
 
144
+ | Feature | Version | Status for Flint |
145
  |---|---|---|
146
+ | Expert paging, SSD→arena, per-expert custom op ("mode C") | v1 | Active in all v1 and v2 runs (prefill always uses it) |
147
+ | Preload all experts into the arena | v2 | Active when the arena holds all 12,032 experts (≥ 28.6 GiB) |
148
+ | Row-parallel MoE, decode (16-row blocks shared across threads) | v2 | Active for gated Flint experts when the thread count exceeds the number of needed experts (decode, ≥ 7 threads). Ported in this version. |
149
+ | Nemotron no-gate / ReLU² path | v1, v2 | Not used by Flint |
150
 
151
+ The Flint hook routes gated SiLU experts through the pager. The v2 row-parallel gated path computes gate and up for the same row block and applies the same SwiGLU function as the mode C path.
152
 
153
+ Flint's upstream `build_moe_ffn` also applies a power-of-two amax rescale of the down-projection input and undoes it on the output. This rescale is exact in F32 and Q8_K quantization is scale-invariant, so the paged path omits it. The layer-2–6 MoE comparison against native (which includes the rescale) confirms the omission changes nothing beyond float-summation noise.
154
 
155
  ## Attribution
156
 
157
+ The pager is adapted from HelloSun's Nemotron EPQ [v1 and v2](https://huggingface.co/HelloSun/NVIDIA-Nemotron-3.5-Bolt-74B-A9B-24GB-GGUF_EPQ).
158
 
159
  The GGUF weights remain hosted by Unsloth. This repository contains source, patch, scripts, logs and test notes only.
flint-epq.patch CHANGED
@@ -463,10 +463,10 @@ index 0000000..11c6bc5
463
  +} // namespace sdq
464
  diff --git a/src/sdq_moe.cpp b/src/sdq_moe.cpp
465
  new file mode 100644
466
- index 0000000..38ad235
467
  --- /dev/null
468
  +++ b/src/sdq_moe.cpp
469
- @@ -0,0 +1,1150 @@
470
  +// SDQ 被分頁的 MoE FFN(自訂 ggml op)
471
  +//
472
  +// 為什麼要自己算:上游 build_moe_ffn() 用 ggml_mul_mat_id 直接對
@@ -798,6 +798,19 @@ index 0000000..38ad235
798
  +
799
  +// ---------------------------------------------------------------- 單一 expert 的數學
800
  +// 從 arena 的槽位記憶體算出一個 expert 對多個 token 的輸出(加權後直接累加到 out)
 
 
 
 
 
 
 
 
 
 
 
 
 
801
  +static void expert_forward(const expert_desc & ed, const uint8_t * base,
802
  + const float * cur, int64_t n_embd,
803
  + const std::vector<std::pair<int32_t, int32_t>> & toks,
@@ -874,19 +887,7 @@ index 0000000..38ad235
874
  +
875
  + PROF_T0_x(_td); // SiLU + 加權求和
876
  + for (int64_t r = 0; r < ed.down_ne0; r++) {
877
- + const float g = gate[(size_t) r];
878
- + const float u = upv[(size_t) r];
879
- + float act;
880
- + if (swiglu_limit > 1e-6f) {
881
- + const float uc = std::max(-swiglu_limit, std::min(swiglu_limit, u));
882
- + float gc = g / (1.0f + std::exp(-g));
883
- + // 與上游 build_moe_ffn 一致:silu(gate) 只限制上界(ggml_clamp(-INF, limit))
884
- + gc = std::min(swiglu_limit, gc);
885
- + act = gc * uc;
886
- + } else {
887
- + act = (g / (1.0f + std::exp(-g))) * u;
888
- + }
889
- + h[(size_t) r] = act;
890
  + }
891
  + quantize_act(act_down, h.data(), hq, ed.down_ne0);
892
  +
@@ -1083,10 +1084,13 @@ index 0000000..38ad235
1083
  + struct ed_info {
1084
  + const uint8_t * wu = nullptr;
1085
  + const uint8_t * wd = nullptr;
 
1086
  + size_t up_row = 0;
1087
  + size_t dn_row = 0;
 
1088
  + vec_dot_fn f_up = nullptr;
1089
  + vec_dot_fn f_down = nullptr;
 
1090
  + const expert_desc * ed = nullptr;
1091
  + int64_t n_te = 0;
1092
  + };
@@ -1102,9 +1106,16 @@ index 0000000..38ad235
1102
  + q.dn_row = ggml_row_size(ed.type[part::DOWN], ed.down_ne0);
1103
  + q.f_up = dot_for(ed.type[part::UP]);
1104
  + q.f_down = dot_for(ed.type[part::DOWN]);
 
 
 
 
1105
  + if (sl >= 0) {
1106
  + q.wu = P.slot_ptr(sl) + ed.slot_off[part::UP];
1107
  + q.wd = P.slot_ptr(sl) + ed.slot_off[part::DOWN];
 
 
 
1108
  + }
1109
  + }
1110
  +
@@ -1124,6 +1135,9 @@ index 0000000..38ad235
1124
  + if (!q.wu || !q.f_up) {
1125
  + continue;
1126
  + }
 
 
 
1127
  + const auto & toks = R->tok_of_expert[(size_t) R->need[(size_t) j]];
1128
  + for (size_t ti = 0; ti < toks.size(); ti++) {
1129
  + const int32_t t = toks[ti].first;
@@ -1138,8 +1152,17 @@ index 0000000..38ad235
1138
  + float acc = 0.0f;
1139
  + dot_row(q.f_up, q.wu + (size_t) r * q.up_row, xq,
1140
  + q.up_row, (int) q.ed->ne0, acc);
1141
- + acc = acc > 0.0f ? acc : 0.0f;
1142
- + h[(size_t) r] = acc * acc;
 
 
 
 
 
 
 
 
 
1143
  + }
1144
  + }
1145
  + }
@@ -1309,7 +1332,14 @@ index 0000000..38ad235
1309
  + if (ith == 0) {
1310
  + R->use_rowpar = false;
1311
  + R->rowpar_miss = 0;
1312
- + if (rowpar_env && R->no_gate && n_need > 0 && n_need < nth) {
 
 
 
 
 
 
 
1313
  + int miss = 0;
1314
  + for (int i = 0; i < n_need; i++) {
1315
  + if (!P.resident(R->il, R->need[(size_t) i])) {
@@ -1557,8 +1587,10 @@ index 0000000..38ad235
1557
  +ggml_tensor * sdq_build_moe(ggml_cgraph * gf, ggml_context * ctx, ggml_tensor * cur,
1558
  + ggml_tensor * ids, ggml_tensor * weights, int il, int64_t n_expert,
1559
  + int64_t n_expert_used, float swiglu_limit) {
1560
- + (void) swiglu_limit;
1561
- + return sdq_build_moe_ex(gf, ctx, cur, ids, weights, il, n_expert, n_expert_used, false, false);
 
 
1562
  +}
1563
  +
1564
  +} // namespace sdq
 
463
  +} // namespace sdq
464
  diff --git a/src/sdq_moe.cpp b/src/sdq_moe.cpp
465
  new file mode 100644
466
+ index 0000000..14cc23e
467
  --- /dev/null
468
  +++ b/src/sdq_moe.cpp
469
+ @@ -0,0 +1,1182 @@
470
  +// SDQ 被分頁的 MoE FFN(自訂 ggml op)
471
  +//
472
  +// 為什麼要自己算:上游 build_moe_ffn() 用 ggml_mul_mat_id 直接對
 
798
  +
799
  +// ---------------------------------------------------------------- 單一 expert 的數學
800
  +// 從 arena 的槽位記憶體算出一個 expert 對多個 token 的輸出(加權後直接累加到 out)
801
+ +// SwiGLU 啟動,與上游 build_moe_ffn 一致(見 llama-graph.cpp 的 LLM_FFN_SILU 分支):
802
+ +// limit > eps 時 up 兩側限制、silu(gate) 只限制上界;否則 silu(g)*u。
803
+ +// expert_forward 與 row-parallel 共用,確保兩條路徑數學完全相同。
804
+ +static inline float gated_act(float g, float u, float swiglu_limit) {
805
+ + if (swiglu_limit > 1e-6f) {
806
+ + const float uc = std::max(-swiglu_limit, std::min(swiglu_limit, u));
807
+ + float gc = g / (1.0f + std::exp(-g));
808
+ + gc = std::min(swiglu_limit, gc);
809
+ + return gc * uc;
810
+ + }
811
+ + return (g / (1.0f + std::exp(-g))) * u;
812
+ +}
813
+ +
814
  +static void expert_forward(const expert_desc & ed, const uint8_t * base,
815
  + const float * cur, int64_t n_embd,
816
  + const std::vector<std::pair<int32_t, int32_t>> & toks,
 
887
  +
888
  + PROF_T0_x(_td); // SiLU + 加權求和
889
  + for (int64_t r = 0; r < ed.down_ne0; r++) {
890
+ + h[(size_t) r] = gated_act(gate[(size_t) r], upv[(size_t) r], swiglu_limit);
 
 
 
 
 
 
 
 
 
 
 
 
891
  + }
892
  + quantize_act(act_down, h.data(), hq, ed.down_ne0);
893
  +
 
1084
  + struct ed_info {
1085
  + const uint8_t * wu = nullptr;
1086
  + const uint8_t * wd = nullptr;
1087
+ + const uint8_t * wg = nullptr; // gated 模型才有:gate 權重
1088
  + size_t up_row = 0;
1089
  + size_t dn_row = 0;
1090
+ + size_t g_row = 0;
1091
  + vec_dot_fn f_up = nullptr;
1092
  + vec_dot_fn f_down = nullptr;
1093
+ + vec_dot_fn f_gate = nullptr;
1094
  + const expert_desc * ed = nullptr;
1095
  + int64_t n_te = 0;
1096
  + };
 
1106
  + q.dn_row = ggml_row_size(ed.type[part::DOWN], ed.down_ne0);
1107
  + q.f_up = dot_for(ed.type[part::UP]);
1108
  + q.f_down = dot_for(ed.type[part::DOWN]);
1109
+ + if (!R->no_gate) {
1110
+ + q.g_row = ggml_row_size(ed.type[part::GATE], ed.ne0);
1111
+ + q.f_gate = dot_for(ed.type[part::GATE]);
1112
+ + }
1113
  + if (sl >= 0) {
1114
  + q.wu = P.slot_ptr(sl) + ed.slot_off[part::UP];
1115
  + q.wd = P.slot_ptr(sl) + ed.slot_off[part::DOWN];
1116
+ + if (!R->no_gate) {
1117
+ + q.wg = P.slot_ptr(sl) + ed.slot_off[part::GATE];
1118
+ + }
1119
  + }
1120
  + }
1121
  +
 
1135
  + if (!q.wu || !q.f_up) {
1136
  + continue;
1137
  + }
1138
+ + if (!R->no_gate && (!q.wg || !q.f_gate)) {
1139
+ + continue;
1140
+ + }
1141
  + const auto & toks = R->tok_of_expert[(size_t) R->need[(size_t) j]];
1142
  + for (size_t ti = 0; ti < toks.size(); ti++) {
1143
  + const int32_t t = toks[ti].first;
 
1152
  + float acc = 0.0f;
1153
  + dot_row(q.f_up, q.wu + (size_t) r * q.up_row, xq,
1154
  + q.up_row, (int) q.ed->ne0, acc);
1155
+ + if (R->no_gate) {
1156
+ + // Nemotron LatentMoE:relu(x)^2,沒有 gate
1157
+ + acc = acc > 0.0f ? acc : 0.0f;
1158
+ + h[(size_t) r] = acc * acc;
1159
+ + } else {
1160
+ + // gated(Flint):silu(gate)*up,與 expert_forward 相同的 SwiGLU
1161
+ + float g = 0.0f;
1162
+ + dot_row(q.f_gate, q.wg + (size_t) r * q.g_row, xq,
1163
+ + q.g_row, (int) q.ed->ne0, g);
1164
+ + h[(size_t) r] = gated_act(g, acc, R->swiglu_limit);
1165
+ + }
1166
  + }
1167
  + }
1168
  + }
 
1332
  + if (ith == 0) {
1333
  + R->use_rowpar = false;
1334
  + R->rowpar_miss = 0;
1335
+ + // gated(Flint)需要 gate 與 up 共用同一個 activation 量化型別,才能共用 xq。
1336
+ + bool types_ok = true;
1337
+ + if (!R->no_gate && n_need > 0) {
1338
+ + const expert_desc & e0 = L->experts[(size_t) R->need[0]];
1339
+ + types_ok = !e0.fused_gate_up && dot_for(e0.type[part::GATE]) && dot_for(e0.type[part::UP]) &&
1340
+ + act_type_for(e0.type[part::GATE]) == act_type_for(e0.type[part::UP]);
1341
+ + }
1342
+ + if (rowpar_env && n_need > 0 && n_need < nth && types_ok) {
1343
  + int miss = 0;
1344
  + for (int i = 0; i < n_need; i++) {
1345
  + if (!P.resident(R->il, R->need[(size_t) i])) {
 
1587
  +ggml_tensor * sdq_build_moe(ggml_cgraph * gf, ggml_context * ctx, ggml_tensor * cur,
1588
  + ggml_tensor * ids, ggml_tensor * weights, int il, int64_t n_expert,
1589
  + int64_t n_expert_used, float swiglu_limit) {
1590
+ + ggml_tensor * out = sdq_build_moe_ex(gf, ctx, cur, ids, weights, il, n_expert, n_expert_used, false, false);
1591
+ + // 把 swiglu limit 傳給 op(先前這裡 (void) 丟掉,造成 clamp 永遠不生效)
1592
+ + rec_for(il)->swiglu_limit = swiglu_limit;
1593
+ + return out;
1594
  +}
1595
  +
1596
  +} // namespace sdq
results/logs/common/mem_summary.txt ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ v1 2 GiB run1 Prompt: 7.4 t/s | Generation: 3.9 "peak_gib": 2.014 "swap_kb": 0 "limit_exceeded": false "exit": 0
2
+ v1 2 GiB run2 Prompt: 6.9 t/s | Generation: 3.8 "peak_gib": 2.013 "swap_kb": 0 "limit_exceeded": false "exit": 0
3
+ v1 2 GiB run3 Prompt: 6.8 t/s | Generation: 3.9 "peak_gib": 2.014 "swap_kb": 0 "limit_exceeded": false "exit": 0
4
+ v1 4 GiB run1 Prompt: 7.1 t/s | Generation: 4.4 "peak_gib": 2.765 "swap_kb": 0 "limit_exceeded": false "exit": 0
5
+ v1 4 GiB run2 Prompt: 7.1 t/s | Generation: 4.7 "peak_gib": 2.765 "swap_kb": 0 "limit_exceeded": false "exit": 0
6
+ v1 4 GiB run3 Prompt: 7.1 t/s | Generation: 4.4 "peak_gib": 2.765 "swap_kb": 0 "limit_exceeded": false "exit": 0
7
+ v1 8 GiB run1 Prompt: 8.4 t/s | Generation: 4.5 "peak_gib": 4.765 "swap_kb": 0 "limit_exceeded": false "exit": 0
8
+ v1 8 GiB run2 Prompt: 9.4 t/s | Generation: 4.4 "peak_gib": 4.766 "swap_kb": 0 "limit_exceeded": false "exit": 0
9
+ v1 8 GiB run3 Prompt: 9.6 t/s | Generation: 4.4 "peak_gib": 4.766 "swap_kb": 0 "limit_exceeded": false "exit": 0
10
+ v1 16 GiB run1 Prompt: 12.0 t/s | Generation: 5.2 "peak_gib": 11.767 "swap_kb": 0 "limit_exceeded": false "exit": 0
11
+ v1 16 GiB run2 Prompt: 13.3 t/s | Generation: 5.2 "peak_gib": 11.766 "swap_kb": 0 "limit_exceeded": false "exit": 0
12
+ v1 16 GiB run3 Prompt: 12.5 t/s | Generation: 5.4 "peak_gib": 11.767 "swap_kb": 0 "limit_exceeded": false "exit": 0
13
+ v1 32 GiB run1 Prompt: 12.7 t/s | Generation: 5.2 "peak_gib": 19.766 "swap_kb": 0 "limit_exceeded": false "exit": 0
14
+ v1 32 GiB run2 Prompt: 11.6 t/s | Generation: 5.1 "peak_gib": 19.766 "swap_kb": 0 "limit_exceeded": false "exit": 0
15
+ v1 32 GiB run3 Prompt: 12.0 t/s | Generation: 5.3 "peak_gib": 19.765 "swap_kb": 0 "limit_exceeded": false "exit": 0
16
+ v2 32 GiB run1 Prompt: 33.7 t/s | Generation: 17.3 "peak_gib": 30.473 "swap_kb": 0 "limit_exceeded": false "exit": 0
17
+ v2 32 GiB run2 Prompt: 30.8 t/s | Generation: 13.7 "peak_gib": 30.473 "swap_kb": 0 "limit_exceeded": false "exit": 0
18
+ v2 32 GiB run3 Prompt: 34.5 t/s | Generation: 13.8 "peak_gib": 30.473 "swap_kb": 0 "limit_exceeded": false "exit": 0
results/logs/common/perf_c512_summary.txt ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ v1_arena18g run1 Prompt: 12.0 t/s | Generation: 5.5 "peak_gib": 19.794 "swap_kb": 0 "exit": 0
2
+ v1_arena18g run2 Prompt: 13.0 t/s | Generation: 5.6 "peak_gib": 19.794 "swap_kb": 0 "exit": 0
3
+ v1_arena18g run3 Prompt: 13.0 t/s | Generation: 5.7 "peak_gib": 19.794 "swap_kb": 0 "exit": 0
4
+ v1_arena28g run1 Prompt: 11.5 t/s | Generation: 5.5 "peak_gib": 30.507 "swap_kb": 0 "exit": 0
5
+ v1_arena28g run2 Prompt: 12.6 t/s | Generation: 5.5 "peak_gib": 30.507 "swap_kb": 0 "exit": 0
6
+ v1_arena28g run3 Prompt: 12.3 t/s | Generation: 6.2 "peak_gib": 30.507 "swap_kb": 0 "exit": 0
7
+ v2_arena28g run1 Prompt: 31.1 t/s | Generation: 14.5 "peak_gib": 30.499 "swap_kb": 0 "exit": 0
8
+ v2_arena28g run2 Prompt: 32.4 t/s | Generation: 16.2 "peak_gib": 30.499 "swap_kb": 0 "exit": 0
9
+ v2_arena28g run3 Prompt: 40.0 t/s | Generation: 17.3 "peak_gib": 30.498 "swap_kb": 0 "exit": 0
10
+ native run1 Prompt: 61.4 t/s | Generation: 23.3 "peak_gib": 24.315 "swap_kb": 0 "exit": 0
11
+ native run2 Prompt: 54.4 t/s | Generation: 21.5 "peak_gib": 24.311 "swap_kb": 0 "exit": 0
12
+ native run3 Prompt: 44.7 t/s | Generation: 19.8 "peak_gib": 24.31 "swap_kb": 0 "exit": 0
results/logs/{ppl_corpus.txt → common/ppl_corpus.txt} RENAMED
File without changes
results/logs/{greedy_epq_fresh.txt → native/greedy_t16.txt} RENAMED
File without changes
results/logs/{greedy_native.txt → native/greedy_t8.txt} RENAMED
File without changes
results/logs/{kl_native_ub16_vs_native.log → native/kl_ub16_vs_native_ub64.log} RENAMED
File without changes
results/logs/native/kl_ub64_vs_native_ub1_t16.log ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 0.01.488.946 I cmn init: llama threadpool init, n_threads = 16
2
+ 0.01.544.647 I
3
+ 0.01.544.771 I system_info: n_threads = 16 (n_threads_batch = 16) / 192 | CPU : SSE3 = 1 | SSSE3 = 1 | AVX = 1 | AVX2 = 1 | F16C = 1 | FMA = 1 | BMI2 = 1 | AVX512 = 1 | AVX512_VBMI = 1 | AVX512_VNNI = 1 | AVX512_BF16 = 1 | LLAMAFILE = 1 | OPENMP = 1 | REPACK = 1 |
4
+ 0.01.562.447 I kl_divergence: computing over 2 chunks, n_ctx=256, batch_size=256, n_seq=1
5
+ 0.04.557.676 I kl_divergence: 3.00 seconds per pass - ETA 0.08 minutes
6
+
7
+ chunk PPL ln(PPL(Q)/PPL(base)) KL Divergence Δp RMS Same top p
8
+ 1 13.8921 ± 4.7298 0.03108 ± 0.03658 0.03632 ± 0.01491 3.273 ± 0.529 % 90.551 ± 2.606 %
9
+ 2 14.8507 ± 3.2268 0.01606 ± 0.03056 0.03446 ± 0.00844 2.798 ± 0.338 % 90.157 ± 1.873 %
10
+
11
+ ====== Perplexity statistics ======
12
+ Mean PPL(Q) : 14.850718 ± 3.226807
13
+ Mean PPL(base) : 14.614086 ± 3.091134
14
+ Cor(ln(PPL(Q)), ln(PPL(base))): 99.02%
15
+ Mean ln(PPL(Q)/PPL(base)) : 0.016062 ± 0.030563
16
+ Mean PPL(Q)/PPL(base) : 1.016192 ± 0.031058
17
+ Mean PPL(Q)-PPL(base) : 0.236632 ± 0.462519
18
+
19
+ ====== KL divergence statistics ======
20
+ Mean KLD: 0.034464 ± 0.008439
21
+ Maximum KLD: 1.809971
22
+ 99.9% KLD: 1.497865
23
+ 99.0% KLD: 0.475971
24
+ 95.0% KLD: 0.113679
25
+ 90.0% KLD: 0.052229
26
+ Median KLD: 0.005795
27
+ 10.0% KLD: 0.000036
28
+ 5.0% KLD: 0.000006
29
+ 1.0% KLD: -0.000000
30
+ 0.1% KLD: -0.000001
31
+ Minimum KLD: -0.000001
32
+
33
+ ====== Token probability statistics ======
34
+ Mean Δp: 0.014 ± 0.176 %
35
+ Maximum Δp: 17.039%
36
+ 99.9% Δp: 15.461%
37
+ 99.0% Δp: 10.002%
38
+ 95.0% Δp: 2.763%
39
+ 90.0% Δp: 1.551%
40
+ 75.0% Δp: 0.226%
41
+ Median Δp: 0.000%
42
+ 25.0% Δp: -0.155%
43
+ 10.0% Δp: -1.820%
44
+ 5.0% Δp: -3.285%
45
+ 1.0% Δp: -10.016%
46
+ 0.1% Δp: -14.516%
47
+ Minimum Δp: -15.501%
48
+ RMS Δp : 2.798 ± 0.338 %
49
+ Same top p: 90.157 ± 1.873 %
50
+
results/logs/native/perf_c512_native_run1.log ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ Loading model...
4
+
5
+ ▄▄ ▄▄
6
+ ██ ██
7
+ ██ ██ ▀▀█▄ ███▄███▄ ▀▀█▄ ▄████ ████▄ ████▄
8
+ ██ ██ ▄█▀██ ██ ██ ██ ▄█▀██ ██ ██ ██ ██ ██
9
+ ██ ██ ▀█▄██ ██ ██ ██ ▀█▄██ ██ ▀████ ████▀ ████▀
10
+ ██ ██
11
+ ▀▀ ▀▀
12
+
13
+ build : b1-970b51c
14
+ model : models/flint-UD-Q4_K_XL.gguf
15
+ ftype : Q4_K - Medium
16
+ modalities : text
17
+
18
+ available commands:
19
+ /exit or Ctrl+C stop or exit
20
+ /regen regenerate the last response
21
+ /clear clear the chat history
22
+ /read <file> add a text file
23
+ /glob <pattern> add text files using globbing pattern
24
+
25
+
26
+
27
+ > Explain in one sentence why the sky is blue.
28
+
29
+ [Start thinking]
30
+
31
+ The user is asking for a one-sentence explanation of why the sky is blue.
32
+
33
+ This is a classic physics question about Rayleigh scattering.
34
+
35
+ The key points:
36
+
37
+ [ Prompt: 61.4 t/s | Generation: 23.3 t/s ]
38
+
39
+
40
+ Exiting...
41
+ RUNMEM {"peak_kb": 25495692, "peak_gib": 24.315, "limit_gib": null, "limit_exceeded": false, "swap_kb": 0, "wall_s": 63.97, "exit": 0, "cmd": ["env", "SDQ_PREFETCH=0", "SDQ_PAGER=0", "build/bin/llama-cli", "-m", "models/flint-UD-Q4_K_XL.gguf", "-c", "512", "-b", "128", "-ub", "32", "-p", "Explain in one sentence why the sky is blue.", "-n", "32", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/native/perf_c512_native_run2.log ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ Loading model...
4
+
5
+ ▄▄ ▄▄
6
+ ██ ██
7
+ ██ ██ ▀▀█▄ ███▄███▄ ▀▀█▄ ▄████ ████▄ ████▄
8
+ ██ ██ ▄█▀██ ██ ██ ██ ▄█▀██ ██ ██ ██ ██ ██
9
+ ██ ██ ▀█▄██ ██ ██ ██ ▀█▄██ ██ ▀████ ████▀ ████▀
10
+ ██ ██
11
+ ▀▀ ▀▀
12
+
13
+ build : b1-970b51c
14
+ model : models/flint-UD-Q4_K_XL.gguf
15
+ ftype : Q4_K - Medium
16
+ modalities : text
17
+
18
+ available commands:
19
+ /exit or Ctrl+C stop or exit
20
+ /regen regenerate the last response
21
+ /clear clear the chat history
22
+ /read <file> add a text file
23
+ /glob <pattern> add text files using globbing pattern
24
+
25
+
26
+
27
+ > Explain in one sentence why the sky is blue.
28
+
29
+ [Start thinking]
30
+
31
+ The user is asking for a one-sentence explanation of why the sky is blue.
32
+
33
+ This is a classic physics question about Rayleigh scattering.
34
+
35
+ The key points:
36
+
37
+ [ Prompt: 54.4 t/s | Generation: 21.5 t/s ]
38
+
39
+
40
+ Exiting...
41
+ RUNMEM {"peak_kb": 25491508, "peak_gib": 24.311, "limit_gib": null, "limit_exceeded": false, "swap_kb": 0, "wall_s": 3.74, "exit": 0, "cmd": ["env", "SDQ_PREFETCH=0", "SDQ_PAGER=0", "build/bin/llama-cli", "-m", "models/flint-UD-Q4_K_XL.gguf", "-c", "512", "-b", "128", "-ub", "32", "-p", "Explain in one sentence why the sky is blue.", "-n", "32", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/native/perf_c512_native_run3.log ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ Loading model...
4
+
5
+ ▄▄ ▄▄
6
+ ██ ██
7
+ ██ ██ ▀▀█▄ ███▄███▄ ▀▀█▄ ▄████ ████▄ ████▄
8
+ ██ ██ ▄█▀██ ██ ██ ██ ▄█▀██ ██ ██ ██ ██ ██
9
+ ██ ██ ▀█▄██ ██ ██ ██ ▀█▄██ ██ ▀████ ████▀ ████▀
10
+ ██ ██
11
+ ▀▀ ▀▀
12
+
13
+ build : b1-970b51c
14
+ model : models/flint-UD-Q4_K_XL.gguf
15
+ ftype : Q4_K - Medium
16
+ modalities : text
17
+
18
+ available commands:
19
+ /exit or Ctrl+C stop or exit
20
+ /regen regenerate the last response
21
+ /clear clear the chat history
22
+ /read <file> add a text file
23
+ /glob <pattern> add text files using globbing pattern
24
+
25
+
26
+
27
+ > Explain in one sentence why the sky is blue.
28
+
29
+ [Start thinking]
30
+
31
+ The user is asking for a one-sentence explanation of why the sky is blue.
32
+
33
+ This is a classic physics question about Rayleigh scattering.
34
+
35
+ The key points:
36
+
37
+ [ Prompt: 44.7 t/s | Generation: 19.8 t/s ]
38
+
39
+
40
+ Exiting...
41
+ RUNMEM {"peak_kb": 25490932, "peak_gib": 24.31, "limit_gib": null, "limit_exceeded": false, "swap_kb": 0, "wall_s": 3.96, "exit": 0, "cmd": ["env", "SDQ_PREFETCH=0", "SDQ_PAGER=0", "build/bin/llama-cli", "-m", "models/flint-UD-Q4_K_XL.gguf", "-c", "512", "-b", "128", "-ub", "32", "-p", "Explain in one sentence why the sky is blue.", "-n", "32", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/native/ppl_kl_base_decode_ub1_t16.log ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 0.01.530.395 I cmn init: llama threadpool init, n_threads = 16
2
+ 0.01.656.534 I
3
+ 0.01.656.668 I system_info: n_threads = 16 (n_threads_batch = 16) / 192 | CPU : SSE3 = 1 | SSSE3 = 1 | AVX = 1 | AVX2 = 1 | F16C = 1 | FMA = 1 | BMI2 = 1 | AVX512 = 1 | AVX512_VBMI = 1 | AVX512_VNNI = 1 | AVX512_BF16 = 1 | LLAMAFILE = 1 | OPENMP = 1 | REPACK = 1 |
4
+ 0.01.656.779 I perplexity: saving all logits to /tmp/opencode/flint-work/kt1/base_native_ub1.bin
5
+ 0.01.656.787 I perplexity: tokenizing the input ..
6
+ 0.01.666.455 I perplexity: tokenization took 9.663 ms
7
+ 0.01.666.471 I perplexity: calculating perplexity over 2 chunks, n_ctx=256, batch_size=256, n_seq=1
8
+ 0.11.685.672 I perplexity: 9.99 seconds per pass - ETA 0.32 minutes
9
+ [1]13.6918,[2]14.7355,
10
+ 0.21.643.935 I Final estimate: PPL = 14.7355 +/- 3.14946
11
+
results/logs/{ppl_kl_native_base_ub64.log → native/ppl_kl_base_prefill_ub64_t8.log} RENAMED
File without changes
results/logs/tiers_3runs.txt DELETED
@@ -1,15 +0,0 @@
1
- 2 1 Prompt: 6.3 t/s | Generation: 3.2 "peak_gib": 1.97 "swap_kb": 0 "limit_exceeded": false "exit": 0
2
- 2 2 Prompt: 5.5 t/s | Generation: 3.2 "peak_gib": 1.97 "swap_kb": 0 "limit_exceeded": false "exit": 0
3
- 2 3 Prompt: 5.5 t/s | Generation: 3.0 "peak_gib": 1.97 "swap_kb": 0 "limit_exceeded": false "exit": 0
4
- 4 1 Prompt: 6.0 t/s | Generation: 3.1 "peak_gib": 2.72 "swap_kb": 0 "limit_exceeded": false "exit": 0
5
- 4 2 Prompt: 5.8 t/s | Generation: 2.8 "peak_gib": 2.72 "swap_kb": 0 "limit_exceeded": false "exit": 0
6
- 4 3 Prompt: 5.8 t/s | Generation: 3.3 "peak_gib": 2.72 "swap_kb": 0 "limit_exceeded": false "exit": 0
7
- 8 1 Prompt: 5.7 t/s | Generation: 3.3 "peak_gib": 4.72 "swap_kb": 0 "limit_exceeded": false "exit": 0
8
- 8 2 Prompt: 5.9 t/s | Generation: 3.5 "peak_gib": 4.721 "swap_kb": 0 "limit_exceeded": false "exit": 0
9
- 8 3 Prompt: 5.9 t/s | Generation: 3.3 "peak_gib": 4.72 "swap_kb": 0 "limit_exceeded": false "exit": 0
10
- 16 1 Prompt: 6.3 t/s | Generation: 3.7 "peak_gib": 11.721 "swap_kb": 0 "limit_exceeded": false "exit": 0
11
- 16 2 Prompt: 6.6 t/s | Generation: 3.8 "peak_gib": 11.721 "swap_kb": 0 "limit_exceeded": false "exit": 0
12
- 16 3 Prompt: 6.5 t/s | Generation: 3.9 "peak_gib": 11.721 "swap_kb": 0 "limit_exceeded": false "exit": 0
13
- 32 1 Prompt: 6.7 t/s | Generation: 3.9 "peak_gib": 19.72 "swap_kb": 0 "limit_exceeded": false "exit": 0
14
- 32 2 Prompt: 6.7 t/s | Generation: 3.7 "peak_gib": 19.72 "swap_kb": 0 "limit_exceeded": false "exit": 0
15
- 32 3 Prompt: 6.0 t/s | Generation: 3.9 "peak_gib": 19.72 "swap_kb": 0 "limit_exceeded": false "exit": 0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
results/logs/v1/greedy_t16.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ Paris is a true statement. The capital of France is London is a false. The capital of France is Berlin is a
2
+
results/logs/v1/greedy_t8.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ Paris is a simple true/false question. The answer is true. The capital of France is indeed Paris. The user is
2
+
results/logs/v1/kl_decode_ub1_t16_vs_native.log ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [sdq] MoE 層 47 / 共 49 層(dense lead 2):expert 權重合計 21.47 GiB、12032 個 expert
2
+ [sdq] 統一槽位 2555904 B(最大 expert 大小;平均 1915708 B)
3
+ [sdq] 使用 O_DIRECT 讀取模型檔(1 個 shard,不佔用 kernel page cache)
4
+ [sdq] I/O 段平行:24 條讀取執行緒 × 1096 KB 對齊緩衝(gate/up/down 同時讀,每段再切 1 塊)
5
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
6
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
7
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
8
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.76 GiB)
9
+ [sdq] evict_policy=lru stale_window=640
10
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
11
+ [sdq] prefetch=off fadvise_dontneed=1
12
+ [sdq] 已預載全部 expert(12061 slots)→ 之後 row-parallel 可用
13
+ [sdq] 已預載全部 expert(12061 slots)→ 之後 row-parallel 可用
14
+ 0.27.048.482 I cmn init: llama threadpool init, n_threads = 16
15
+ 0.27.205.762 I
16
+ 0.27.205.855 I system_info: n_threads = 16 (n_threads_batch = 16) / 192 | CPU : SSE3 = 1 | SSSE3 = 1 | AVX = 1 | AVX2 = 1 | F16C = 1 | FMA = 1 | BMI2 = 1 | AVX512 = 1 | AVX512_VBMI = 1 | AVX512_VNNI = 1 | AVX512_BF16 = 1 | LLAMAFILE = 1 | OPENMP = 1 | REPACK = 1 |
17
+ 0.27.221.544 I kl_divergence: computing over 2 chunks, n_ctx=256, batch_size=256, n_seq=1
18
+ 0.48.384.347 I kl_divergence: 21.16 seconds per pass - ETA 0.70 minutes
19
+
20
+ chunk PPL ln(PPL(Q)/PPL(base)) KL Divergence Δp RMS Same top p
21
+ 1 13.7740 ± 4.6245 0.02254 ± 0.03440 0.03177 ± 0.01493 4.997 ± 2.174 % 95.276 ± 1.890 %
22
+ 2 14.8027 ± 3.1804 0.01283 ± 0.02276 0.04406 ± 0.01523 4.051 ± 1.350 % 92.520 ± 1.654 %
23
+
24
+ ====== Perplexity statistics ======
25
+ Mean PPL(Q) : 14.802734 ± 3.180425
26
+ Mean PPL(base) : 14.614086 ± 3.091134
27
+ Cor(ln(PPL(Q)), ln(PPL(base))): 99.44%
28
+ Mean ln(PPL(Q)/PPL(base)) : 0.012826 ± 0.022762
29
+ Mean PPL(Q)/PPL(base) : 1.012909 ± 0.023056
30
+ Mean PPL(Q)-PPL(base) : 0.188648 ± 0.342994
31
+
32
+ ====== KL divergence statistics ======
33
+ Mean KLD: 0.044057 ± 0.015234
34
+ Maximum KLD: 3.161583
35
+ 99.9% KLD: 2.810790
36
+ 99.0% KLD: 0.854633
37
+ 95.0% KLD: 0.086102
38
+ 90.0% KLD: 0.048945
39
+ Median KLD: 0.005596
40
+ 10.0% KLD: 0.000030
41
+ 5.0% KLD: 0.000006
42
+ 1.0% KLD: 0.000000
43
+ 0.1% KLD: -0.000003
44
+ Minimum KLD: -0.000004
45
+
46
+ ====== Token probability statistics ======
47
+ Mean Δp: -0.309 ± 0.254 %
48
+ Maximum Δp: 12.097%
49
+ 99.9% Δp: 11.854%
50
+ 99.0% Δp: 7.841%
51
+ 95.0% Δp: 2.800%
52
+ 90.0% Δp: 1.211%
53
+ 75.0% Δp: 0.182%
54
+ Median Δp: 0.000%
55
+ 25.0% Δp: -0.223%
56
+ 10.0% Δp: -2.155%
57
+ 5.0% Δp: -3.443%
58
+ 1.0% Δp: -9.554%
59
+ 0.1% Δp: -43.359%
60
+ Minimum Δp: -52.532%
61
+ RMS Δp : 4.051 ± 1.350 %
62
+ Same top p: 92.520 ± 1.654 %
63
+
64
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
65
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
66
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
67
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.83 GiB)
68
+ [sdq] evict_policy=lru stale_window=640
69
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
70
+ [sdq] prefetch=off fadvise_dontneed=1
results/logs/{kl_epq_vs_native.log → v1/kl_prefill_ub64_t8_vs_native.log} RENAMED
File without changes
results/logs/{tier_16g_run3.log → v1/mem_v1_16g_run1.log} RENAMED
@@ -43,13 +43,13 @@ The user is asking for a one
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
- [sdq] slot=2.44 MiB (2555904 B) slots=4201 arena=10.00 GiB (RAM 實測 RSS=10.13 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 4201
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
- [ Prompt: 6.5 t/s | Generation: 3.9 t/s ]
52
 
53
 
54
  Exiting...
55
- RUNMEM {"peak_kb": 12290252, "peak_gib": 11.721, "limit_gib": 16.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 12.0, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=10240", "SDQ_PRELOAD=0", "/tmp/opencode/flint-fresh/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "4", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
 
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
+ [sdq] slot=2.44 MiB (2555904 B) slots=4201 arena=10.00 GiB (RAM 實測 RSS=10.17 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 4201
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
+ [ Prompt: 12.0 t/s | Generation: 5.2 t/s ]
52
 
53
 
54
  Exiting...
55
+ RUNMEM {"peak_kb": 12338316, "peak_gib": 11.767, "limit_gib": 16.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 10.13, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=10240", "SDQ_PRELOAD=0", "/tmp/opencode/flint-work/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/{tier_16g_run1.log → v1/mem_v1_16g_run2.log} RENAMED
@@ -43,13 +43,13 @@ The user is asking for a one
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
- [sdq] slot=2.44 MiB (2555904 B) slots=4201 arena=10.00 GiB (RAM 實測 RSS=10.13 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 4201
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
- [ Prompt: 6.3 t/s | Generation: 3.7 t/s ]
52
 
53
 
54
  Exiting...
55
- RUNMEM {"peak_kb": 12290444, "peak_gib": 11.721, "limit_gib": 16.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 12.29, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=10240", "SDQ_PRELOAD=0", "/tmp/opencode/flint-fresh/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "4", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
 
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
+ [sdq] slot=2.44 MiB (2555904 B) slots=4201 arena=10.00 GiB (RAM 實測 RSS=10.17 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 4201
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
+ [ Prompt: 13.3 t/s | Generation: 5.2 t/s ]
52
 
53
 
54
  Exiting...
55
+ RUNMEM {"peak_kb": 12338064, "peak_gib": 11.766, "limit_gib": 16.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 10.35, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=10240", "SDQ_PRELOAD=0", "/tmp/opencode/flint-work/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/{tier_16g_run2.log → v1/mem_v1_16g_run3.log} RENAMED
@@ -43,13 +43,13 @@ The user is asking for a one
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
- [sdq] slot=2.44 MiB (2555904 B) slots=4201 arena=10.00 GiB (RAM 實測 RSS=10.13 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 4201
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
- [ Prompt: 6.6 t/s | Generation: 3.8 t/s ]
52
 
53
 
54
  Exiting...
55
- RUNMEM {"peak_kb": 12290756, "peak_gib": 11.721, "limit_gib": 16.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 12.55, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=10240", "SDQ_PRELOAD=0", "/tmp/opencode/flint-fresh/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "4", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
 
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
+ [sdq] slot=2.44 MiB (2555904 B) slots=4201 arena=10.00 GiB (RAM 實測 RSS=10.17 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 4201
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
+ [ Prompt: 12.5 t/s | Generation: 5.4 t/s ]
52
 
53
 
54
  Exiting...
55
+ RUNMEM {"peak_kb": 12338768, "peak_gib": 11.767, "limit_gib": 16.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 10.08, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=10240", "SDQ_PRELOAD=0", "/tmp/opencode/flint-work/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/{tier_2g_run2.log → v1/mem_v1_2g_run1.log} RENAMED
@@ -43,13 +43,13 @@ The user is asking for a one
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
- [sdq] slot=2.44 MiB (2555904 B) slots=105 arena=0.25 GiB (RAM 實測 RSS=0.38 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 105
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
- [ Prompt: 5.5 t/s | Generation: 3.2 t/s ]
52
 
53
 
54
  Exiting...
55
- RUNMEM {"peak_kb": 2066160, "peak_gib": 1.97, "limit_gib": 2.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 6.11, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=256", "SDQ_PRELOAD=0", "/tmp/opencode/flint-fresh/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "4", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
 
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
+ [sdq] slot=2.44 MiB (2555904 B) slots=105 arena=0.25 GiB (RAM 實測 RSS=0.42 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 105
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
+ [ Prompt: 7.4 t/s | Generation: 3.9 t/s ]
52
 
53
 
54
  Exiting...
55
+ RUNMEM {"peak_kb": 2112124, "peak_gib": 2.014, "limit_gib": 2.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 4.98, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=256", "SDQ_PRELOAD=0", "/tmp/opencode/flint-work/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/{tier_2g_run3.log → v1/mem_v1_2g_run2.log} RENAMED
@@ -43,13 +43,13 @@ The user is asking for a one
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
- [sdq] slot=2.44 MiB (2555904 B) slots=105 arena=0.25 GiB (RAM 實測 RSS=0.38 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 105
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
- [ Prompt: 5.5 t/s | Generation: 3.0 t/s ]
52
 
53
 
54
  Exiting...
55
- RUNMEM {"peak_kb": 2065892, "peak_gib": 1.97, "limit_gib": 2.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 6.21, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=256", "SDQ_PRELOAD=0", "/tmp/opencode/flint-fresh/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "4", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
 
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
+ [sdq] slot=2.44 MiB (2555904 B) slots=105 arena=0.25 GiB (RAM 實測 RSS=0.42 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 105
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
+ [ Prompt: 6.9 t/s | Generation: 3.8 t/s ]
52
 
53
 
54
  Exiting...
55
+ RUNMEM {"peak_kb": 2110928, "peak_gib": 2.013, "limit_gib": 2.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 5.14, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=256", "SDQ_PRELOAD=0", "/tmp/opencode/flint-work/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/{tier_2g_run1.log → v1/mem_v1_2g_run3.log} RENAMED
@@ -43,13 +43,13 @@ The user is asking for a one
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
- [sdq] slot=2.44 MiB (2555904 B) slots=105 arena=0.25 GiB (RAM 實測 RSS=0.38 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 105
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
- [ Prompt: 6.3 t/s | Generation: 3.2 t/s ]
52
 
53
 
54
  Exiting...
55
- RUNMEM {"peak_kb": 2065880, "peak_gib": 1.97, "limit_gib": 2.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 5.84, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=256", "SDQ_PRELOAD=0", "/tmp/opencode/flint-fresh/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "4", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
 
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
+ [sdq] slot=2.44 MiB (2555904 B) slots=105 arena=0.25 GiB (RAM 實測 RSS=0.42 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 105
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
+ [ Prompt: 6.8 t/s | Generation: 3.9 t/s ]
52
 
53
 
54
  Exiting...
55
+ RUNMEM {"peak_kb": 2111384, "peak_gib": 2.014, "limit_gib": 2.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 5.11, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=256", "SDQ_PRELOAD=0", "/tmp/opencode/flint-work/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/{tier_32g_run2.log → v1/mem_v1_32g_run1.log} RENAMED
@@ -43,13 +43,13 @@ The user is asking for a one
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
- [sdq] slot=2.44 MiB (2555904 B) slots=7561 arena=18.00 GiB (RAM 實測 RSS=18.13 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 7561
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
- [ Prompt: 6.7 t/s | Generation: 3.7 t/s ]
52
 
53
 
54
  Exiting...
55
- RUNMEM {"peak_kb": 20677612, "peak_gib": 19.72, "limit_gib": 32.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 17.28, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=18432", "SDQ_PRELOAD=0", "/tmp/opencode/flint-fresh/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "4", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
 
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
+ [sdq] slot=2.44 MiB (2555904 B) slots=7561 arena=18.00 GiB (RAM 實測 RSS=18.17 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 7561
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
+ [ Prompt: 12.7 t/s | Generation: 5.2 t/s ]
52
 
53
 
54
  Exiting...
55
+ RUNMEM {"peak_kb": 20725676, "peak_gib": 19.766, "limit_gib": 32.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 15.36, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=18432", "SDQ_PRELOAD=0", "/tmp/opencode/flint-work/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/{tier_32g_run3.log → v1/mem_v1_32g_run2.log} RENAMED
@@ -43,13 +43,13 @@ The user is asking for a one
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
- [sdq] slot=2.44 MiB (2555904 B) slots=7561 arena=18.00 GiB (RAM 實測 RSS=18.13 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 7561
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
- [ Prompt: 6.0 t/s | Generation: 3.9 t/s ]
52
 
53
 
54
  Exiting...
55
- RUNMEM {"peak_kb": 20678068, "peak_gib": 19.72, "limit_gib": 32.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 17.72, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=18432", "SDQ_PRELOAD=0", "/tmp/opencode/flint-fresh/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "4", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
 
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
+ [sdq] slot=2.44 MiB (2555904 B) slots=7561 arena=18.00 GiB (RAM 實測 RSS=18.17 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 7561
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
+ [ Prompt: 11.6 t/s | Generation: 5.1 t/s ]
52
 
53
 
54
  Exiting...
55
+ RUNMEM {"peak_kb": 20725876, "peak_gib": 19.766, "limit_gib": 32.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 15.45, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=18432", "SDQ_PRELOAD=0", "/tmp/opencode/flint-work/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/{tier_32g_run1.log → v1/mem_v1_32g_run3.log} RENAMED
@@ -43,13 +43,13 @@ The user is asking for a one
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
- [sdq] slot=2.44 MiB (2555904 B) slots=7561 arena=18.00 GiB (RAM 實測 RSS=18.13 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 7561
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
- [ Prompt: 6.7 t/s | Generation: 3.9 t/s ]
52
 
53
 
54
  Exiting...
55
- RUNMEM {"peak_kb": 20677644, "peak_gib": 19.72, "limit_gib": 32.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 17.06, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=18432", "SDQ_PRELOAD=0", "/tmp/opencode/flint-fresh/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "4", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
 
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
+ [sdq] slot=2.44 MiB (2555904 B) slots=7561 arena=18.00 GiB (RAM 實測 RSS=18.17 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 7561
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
+ [ Prompt: 12.0 t/s | Generation: 5.3 t/s ]
52
 
53
 
54
  Exiting...
55
+ RUNMEM {"peak_kb": 20725484, "peak_gib": 19.765, "limit_gib": 32.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 15.68, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=18432", "SDQ_PRELOAD=0", "/tmp/opencode/flint-work/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/{tier_4g_run2.log → v1/mem_v1_4g_run1.log} RENAMED
@@ -43,13 +43,13 @@ The user is asking for a one
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
- [sdq] slot=2.44 MiB (2555904 B) slots=420 arena=1.00 GiB (RAM 實測 RSS=1.13 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 420
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
- [ Prompt: 5.8 t/s | Generation: 2.8 t/s ]
52
 
53
 
54
  Exiting...
55
- RUNMEM {"peak_kb": 2852268, "peak_gib": 2.72, "limit_gib": 4.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 6.93, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=1024", "SDQ_PRELOAD=0", "/tmp/opencode/flint-fresh/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "4", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
 
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
+ [sdq] slot=2.44 MiB (2555904 B) slots=420 arena=1.00 GiB (RAM 實測 RSS=1.17 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 420
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
+ [ Prompt: 7.1 t/s | Generation: 4.4 t/s ]
52
 
53
 
54
  Exiting...
55
+ RUNMEM {"peak_kb": 2899620, "peak_gib": 2.765, "limit_gib": 4.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 5.31, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=1024", "SDQ_PRELOAD=0", "/tmp/opencode/flint-work/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/{tier_4g_run3.log → v1/mem_v1_4g_run2.log} RENAMED
@@ -43,13 +43,13 @@ The user is asking for a one
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
- [sdq] slot=2.44 MiB (2555904 B) slots=420 arena=1.00 GiB (RAM 實測 RSS=1.13 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 420
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
- [ Prompt: 5.8 t/s | Generation: 3.3 t/s ]
52
 
53
 
54
  Exiting...
55
- RUNMEM {"peak_kb": 2852068, "peak_gib": 2.72, "limit_gib": 4.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 6.6, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=1024", "SDQ_PRELOAD=0", "/tmp/opencode/flint-fresh/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "4", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
 
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
+ [sdq] slot=2.44 MiB (2555904 B) slots=420 arena=1.00 GiB (RAM 實測 RSS=1.17 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 420
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
+ [ Prompt: 7.1 t/s | Generation: 4.7 t/s ]
52
 
53
 
54
  Exiting...
55
+ RUNMEM {"peak_kb": 2899720, "peak_gib": 2.765, "limit_gib": 4.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 5.18, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=1024", "SDQ_PRELOAD=0", "/tmp/opencode/flint-work/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/{tier_4g_run1.log → v1/mem_v1_4g_run3.log} RENAMED
@@ -43,13 +43,13 @@ The user is asking for a one
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
- [sdq] slot=2.44 MiB (2555904 B) slots=420 arena=1.00 GiB (RAM 實測 RSS=1.13 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 420
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
- [ Prompt: 6.0 t/s | Generation: 3.1 t/s ]
52
 
53
 
54
  Exiting...
55
- RUNMEM {"peak_kb": 2852152, "peak_gib": 2.72, "limit_gib": 4.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 6.6, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=1024", "SDQ_PRELOAD=0", "/tmp/opencode/flint-fresh/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "4", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
 
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
+ [sdq] slot=2.44 MiB (2555904 B) slots=420 arena=1.00 GiB (RAM 實測 RSS=1.17 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 420
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
+ [ Prompt: 7.1 t/s | Generation: 4.4 t/s ]
52
 
53
 
54
  Exiting...
55
+ RUNMEM {"peak_kb": 2899752, "peak_gib": 2.765, "limit_gib": 4.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 5.33, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=1024", "SDQ_PRELOAD=0", "/tmp/opencode/flint-work/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/{tier_8g_run1.log → v1/mem_v1_8g_run1.log} RENAMED
@@ -43,13 +43,13 @@ The user is asking for a one
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
- [sdq] slot=2.44 MiB (2555904 B) slots=1260 arena=3.00 GiB (RAM 實測 RSS=3.13 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 1260
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
- [ Prompt: 5.7 t/s | Generation: 3.3 t/s ]
52
 
53
 
54
  Exiting...
55
- RUNMEM {"peak_kb": 4949192, "peak_gib": 4.72, "limit_gib": 8.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 7.79, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=3072", "SDQ_PRELOAD=0", "/tmp/opencode/flint-fresh/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "4", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
 
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
+ [sdq] slot=2.44 MiB (2555904 B) slots=1260 arena=3.00 GiB (RAM 實測 RSS=3.17 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 1260
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
+ [ Prompt: 8.4 t/s | Generation: 4.5 t/s ]
52
 
53
 
54
  Exiting...
55
+ RUNMEM {"peak_kb": 4996628, "peak_gib": 4.765, "limit_gib": 8.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 6.15, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=3072", "SDQ_PRELOAD=0", "/tmp/opencode/flint-work/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/{tier_8g_run3.log → v1/mem_v1_8g_run2.log} RENAMED
@@ -43,13 +43,13 @@ The user is asking for a one
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
- [sdq] slot=2.44 MiB (2555904 B) slots=1260 arena=3.00 GiB (RAM 實測 RSS=3.13 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 1260
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
- [ Prompt: 5.9 t/s | Generation: 3.3 t/s ]
52
 
53
 
54
  Exiting...
55
- RUNMEM {"peak_kb": 4949056, "peak_gib": 4.72, "limit_gib": 8.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 7.86, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=3072", "SDQ_PRELOAD=0", "/tmp/opencode/flint-fresh/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "4", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
 
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
+ [sdq] slot=2.44 MiB (2555904 B) slots=1260 arena=3.00 GiB (RAM 實測 RSS=3.17 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 1260
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
+ [ Prompt: 9.4 t/s | Generation: 4.4 t/s ]
52
 
53
 
54
  Exiting...
55
+ RUNMEM {"peak_kb": 4997400, "peak_gib": 4.766, "limit_gib": 8.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 6.26, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=3072", "SDQ_PRELOAD=0", "/tmp/opencode/flint-work/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/{tier_8g_run2.log → v1/mem_v1_8g_run3.log} RENAMED
@@ -43,13 +43,13 @@ The user is asking for a one
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
- [sdq] slot=2.44 MiB (2555904 B) slots=1260 arena=3.00 GiB (RAM 實測 RSS=3.13 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 1260
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
- [ Prompt: 5.9 t/s | Generation: 3.5 t/s ]
52
 
53
 
54
  Exiting...
55
- RUNMEM {"peak_kb": 4950432, "peak_gib": 4.721, "limit_gib": 8.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 7.78, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=3072", "SDQ_PRELOAD=0", "/tmp/opencode/flint-fresh/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "4", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
 
43
  [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
44
  [sdq] expert pager ready: /tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf
45
  [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
46
+ [sdq] slot=2.44 MiB (2555904 B) slots=1260 arena=3.00 GiB (RAM 實測 RSS=3.17 GiB)
47
  [sdq] evict_policy=lru stale_window=640
48
  [sdq] 槽位:單一尺寸 2.44 MiB × 1260
49
  [sdq] prefetch=off fadvise_dontneed=1
50
 
51
+ [ Prompt: 9.6 t/s | Generation: 4.4 t/s ]
52
 
53
 
54
  Exiting...
55
+ RUNMEM {"peak_kb": 4996996, "peak_gib": 4.766, "limit_gib": 8.0, "limit_exceeded": false, "swap_kb": 0, "wall_s": 6.25, "exit": 0, "cmd": ["env", "SDQ_PAGER=1", "SDQ_PREFETCH=0", "SDQ_ARENA_MB=3072", "SDQ_PRELOAD=0", "/tmp/opencode/flint-work/llama.cpp/build/bin/llama-cli", "-m", "/tmp/opencode/flint-work/llama.cpp/models/flint-UD-Q4_K_XL.gguf", "-c", "128", "-b", "32", "-ub", "16", "-p", "Explain in one sentence why the sky is blue.", "-n", "8", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/v1/perf_c512_v1_arena18g_run1.log ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [sdq] MoE 層 47 / 共 49 層(dense lead 2):expert 權重合計 21.47 GiB、12032 個 expert
2
+ [sdq] 統一槽位 2555904 B(最大 expert 大小;平均 1915708 B)
3
+ [sdq] 使用 O_DIRECT 讀取模型檔(1 個 shard,不佔用 kernel page cache)
4
+ [sdq] I/O 段平行:24 條讀取執行緒 × 1096 KB 對齊緩衝(gate/up/down 同時讀,每段再切 1 塊)
5
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
6
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
7
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
8
+ [sdq] slot=2.44 MiB (2555904 B) slots=7561 arena=18.00 GiB (RAM 實測 RSS=18.06 GiB)
9
+ [sdq] evict_policy=lru stale_window=640
10
+ [sdq] 槽位:單一尺寸 2.44 MiB × 7561
11
+ [sdq] prefetch=off fadvise_dontneed=1
12
+
13
+
14
+ Loading model...
15
+
16
+ ▄▄ ▄▄
17
+ ██ ██
18
+ ██ ██ ▀▀█▄ ███▄███▄ ▀▀█▄ ▄████ ████▄ ████▄
19
+ ██ ██ ▄█▀██ ██ ██ ██ ▄█▀██ ██ ██ ██ ██ ██
20
+ ██ ██ ▀█▄██ ██ ██ ██ ▀█▄██ ██ ▀████ ████▀ ████▀
21
+ ██ ██
22
+ ▀▀ ▀▀
23
+
24
+ build : b1-970b51c
25
+ model : models/flint-UD-Q4_K_XL.gguf
26
+ ftype : Q4_K - Medium
27
+ modalities : text
28
+
29
+ available commands:
30
+ /exit or Ctrl+C stop or exit
31
+ /regen regenerate the last response
32
+ /clear clear the chat history
33
+ /read <file> add a text file
34
+ /glob <pattern> add text files using globbing pattern
35
+
36
+
37
+
38
+ > Explain in one sentence why the sky is blue.
39
+
40
+ [Start thinking]
41
+
42
+ The user is asking for a one-sentence explanation of why the sky is blue.
43
+
44
+ This is a classic physics question about Rayleigh scattering.
45
+
46
+ The key points:
47
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
48
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
49
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
50
+ [sdq] slot=2.44 MiB (2555904 B) slots=7561 arena=18.00 GiB (RAM 實測 RSS=18.17 GiB)
51
+ [sdq] evict_policy=lru stale_window=640
52
+ [sdq] 槽位:單一尺寸 2.44 MiB × 7561
53
+ [sdq] prefetch=off fadvise_dontneed=1
54
+
55
+ [ Prompt: 12.0 t/s | Generation: 5.5 t/s ]
56
+
57
+
58
+ Exiting...
59
+ RUNMEM {"peak_kb": 20755568, "peak_gib": 19.794, "limit_gib": null, "limit_exceeded": false, "swap_kb": 0, "wall_s": 19.15, "exit": 0, "cmd": ["env", "SDQ_PREFETCH=0", "SDQ_PAGER=1", "SDQ_ARENA_MB=18432", "SDQ_PRELOAD=0", "SDQ_ROW_PARALLEL=0", "build/bin/llama-cli", "-m", "models/flint-UD-Q4_K_XL.gguf", "-c", "512", "-b", "128", "-ub", "32", "-p", "Explain in one sentence why the sky is blue.", "-n", "32", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/v1/perf_c512_v1_arena18g_run2.log ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [sdq] MoE 層 47 / 共 49 層(dense lead 2):expert 權重合計 21.47 GiB、12032 個 expert
2
+ [sdq] 統一槽位 2555904 B(最大 expert 大小;平均 1915708 B)
3
+ [sdq] 使用 O_DIRECT 讀取模型檔(1 個 shard,不佔用 kernel page cache)
4
+ [sdq] I/O 段平行:24 條讀取執行緒 × 1096 KB 對齊緩衝(gate/up/down 同時讀,每段再切 1 塊)
5
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
6
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
7
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
8
+ [sdq] slot=2.44 MiB (2555904 B) slots=7561 arena=18.00 GiB (RAM 實測 RSS=18.06 GiB)
9
+ [sdq] evict_policy=lru stale_window=640
10
+ [sdq] 槽位:單一尺寸 2.44 MiB × 7561
11
+ [sdq] prefetch=off fadvise_dontneed=1
12
+
13
+
14
+ Loading model...
15
+
16
+ ▄▄ ▄▄
17
+ ██ ██
18
+ ██ ██ ▀▀█▄ ███▄███▄ ▀▀█▄ ▄████ ████▄ ████▄
19
+ ██ ██ ▄█▀██ ██ ██ ██ ▄█▀██ ██ ██ ██ ██ ██
20
+ ██ ██ ▀█▄██ ██ ██ ██ ▀█▄██ ██ ▀████ ████▀ ████▀
21
+ ██ ██
22
+ ▀▀ ▀▀
23
+
24
+ build : b1-970b51c
25
+ model : models/flint-UD-Q4_K_XL.gguf
26
+ ftype : Q4_K - Medium
27
+ modalities : text
28
+
29
+ available commands:
30
+ /exit or Ctrl+C stop or exit
31
+ /regen regenerate the last response
32
+ /clear clear the chat history
33
+ /read <file> add a text file
34
+ /glob <pattern> add text files using globbing pattern
35
+
36
+
37
+
38
+ > Explain in one sentence why the sky is blue.
39
+
40
+ [Start thinking]
41
+
42
+ The user is asking for a one-sentence explanation of why the sky is blue.
43
+
44
+ This is a classic physics question about Rayleigh scattering.
45
+
46
+ The key points:
47
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
48
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
49
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
50
+ [sdq] slot=2.44 MiB (2555904 B) slots=7561 arena=18.00 GiB (RAM 實測 RSS=18.17 GiB)
51
+ [sdq] evict_policy=lru stale_window=640
52
+ [sdq] 槽位:單一尺寸 2.44 MiB × 7561
53
+ [sdq] prefetch=off fadvise_dontneed=1
54
+
55
+ [ Prompt: 13.0 t/s | Generation: 5.6 t/s ]
56
+
57
+
58
+ Exiting...
59
+ RUNMEM {"peak_kb": 20755352, "peak_gib": 19.794, "limit_gib": null, "limit_exceeded": false, "swap_kb": 0, "wall_s": 19.54, "exit": 0, "cmd": ["env", "SDQ_PREFETCH=0", "SDQ_PAGER=1", "SDQ_ARENA_MB=18432", "SDQ_PRELOAD=0", "SDQ_ROW_PARALLEL=0", "build/bin/llama-cli", "-m", "models/flint-UD-Q4_K_XL.gguf", "-c", "512", "-b", "128", "-ub", "32", "-p", "Explain in one sentence why the sky is blue.", "-n", "32", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/v1/perf_c512_v1_arena18g_run3.log ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [sdq] MoE 層 47 / 共 49 層(dense lead 2):expert 權重合計 21.47 GiB、12032 個 expert
2
+ [sdq] 統一槽位 2555904 B(最大 expert 大小;平均 1915708 B)
3
+ [sdq] 使用 O_DIRECT 讀取模型檔(1 個 shard,不佔用 kernel page cache)
4
+ [sdq] I/O 段平行:24 條讀取執行緒 × 1096 KB 對齊緩衝(gate/up/down 同時讀,每段再切 1 塊)
5
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
6
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
7
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
8
+ [sdq] slot=2.44 MiB (2555904 B) slots=7561 arena=18.00 GiB (RAM 實測 RSS=18.06 GiB)
9
+ [sdq] evict_policy=lru stale_window=640
10
+ [sdq] 槽位:單一尺寸 2.44 MiB × 7561
11
+ [sdq] prefetch=off fadvise_dontneed=1
12
+
13
+
14
+ Loading model...
15
+
16
+ ▄▄ ▄▄
17
+ ██ ██
18
+ ██ ██ ▀▀█▄ ███▄███▄ ▀▀█▄ ▄████ ████▄ ████▄
19
+ ██ ██ ▄█▀██ ██ ██ ██ ▄█▀██ ██ ██ ██ ██ ██
20
+ ██ ██ ▀█▄██ ██ ██ ██ ▀█▄██ ██ ▀████ ████▀ ████▀
21
+ ██ ██
22
+ ▀▀ ▀▀
23
+
24
+ build : b1-970b51c
25
+ model : models/flint-UD-Q4_K_XL.gguf
26
+ ftype : Q4_K - Medium
27
+ modalities : text
28
+
29
+ available commands:
30
+ /exit or Ctrl+C stop or exit
31
+ /regen regenerate the last response
32
+ /clear clear the chat history
33
+ /read <file> add a text file
34
+ /glob <pattern> add text files using globbing pattern
35
+
36
+
37
+
38
+ > Explain in one sentence why the sky is blue.
39
+
40
+ [Start thinking]
41
+
42
+ The user is asking for a one-sentence explanation of why the sky is blue.
43
+
44
+ This is a classic physics question about Rayleigh scattering.
45
+
46
+ The key points:
47
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
48
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
49
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
50
+ [sdq] slot=2.44 MiB (2555904 B) slots=7561 arena=18.00 GiB (RAM 實測 RSS=18.17 GiB)
51
+ [sdq] evict_policy=lru stale_window=640
52
+ [sdq] 槽位:單一尺寸 2.44 MiB × 7561
53
+ [sdq] prefetch=off fadvise_dontneed=1
54
+
55
+ [ Prompt: 13.0 t/s | Generation: 5.7 t/s ]
56
+
57
+
58
+ Exiting...
59
+ RUNMEM {"peak_kb": 20755712, "peak_gib": 19.794, "limit_gib": null, "limit_exceeded": false, "swap_kb": 0, "wall_s": 21.96, "exit": 0, "cmd": ["env", "SDQ_PREFETCH=0", "SDQ_PAGER=1", "SDQ_ARENA_MB=18432", "SDQ_PRELOAD=0", "SDQ_ROW_PARALLEL=0", "build/bin/llama-cli", "-m", "models/flint-UD-Q4_K_XL.gguf", "-c", "512", "-b", "128", "-ub", "32", "-p", "Explain in one sentence why the sky is blue.", "-n", "32", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/v1/perf_c512_v1_arena28g_run1.log ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [sdq] MoE 層 47 / 共 49 層(dense lead 2):expert 權重合計 21.47 GiB、12032 個 expert
2
+ [sdq] 統一槽位 2555904 B(最大 expert 大小;平均 1915708 B)
3
+ [sdq] 使用 O_DIRECT 讀取模型檔(1 個 shard,不佔用 kernel page cache)
4
+ [sdq] I/O 段平行:24 條讀取執行緒 × 1096 KB 對齊緩衝(gate/up/down 同時讀,每段再切 1 塊)
5
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
6
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
7
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
8
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.77 GiB)
9
+ [sdq] evict_policy=lru stale_window=640
10
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
11
+ [sdq] prefetch=off fadvise_dontneed=1
12
+
13
+
14
+ Loading model...
15
+
16
+ ▄▄ ▄▄
17
+ ██ ██
18
+ ██ ██ ▀▀█▄ ███▄███▄ ▀▀█▄ ▄████ ████▄ ████▄
19
+ ██ ██ ▄█▀██ ██ ██ ██ ▄█▀██ ██ ██ ██ ██ ██
20
+ ██ ██ ▀█▄██ ██ ██ ██ ▀█▄██ ██ ▀████ ████▀ ████▀
21
+ ██ ██
22
+ ▀▀ ▀▀
23
+
24
+ build : b1-970b51c
25
+ model : models/flint-UD-Q4_K_XL.gguf
26
+ ftype : Q4_K - Medium
27
+ modalities : text
28
+
29
+ available commands:
30
+ /exit or Ctrl+C stop or exit
31
+ /regen regenerate the last response
32
+ /clear clear the chat history
33
+ /read <file> add a text file
34
+ /glob <pattern> add text files using globbing pattern
35
+
36
+
37
+
38
+ > Explain in one sentence why the sky is blue.
39
+
40
+ [Start thinking]
41
+
42
+ The user is asking for a one-sentence explanation of why the sky is blue.
43
+
44
+ This is a classic physics question about Rayleigh scattering.
45
+
46
+ The key points:
47
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
48
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
49
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
50
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.88 GiB)
51
+ [sdq] evict_policy=lru stale_window=640
52
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
53
+ [sdq] prefetch=off fadvise_dontneed=1
54
+
55
+ [ Prompt: 11.5 t/s | Generation: 5.5 t/s ]
56
+
57
+
58
+ Exiting...
59
+ RUNMEM {"peak_kb": 31988764, "peak_gib": 30.507, "limit_gib": null, "limit_exceeded": false, "swap_kb": 0, "wall_s": 29.95, "exit": 0, "cmd": ["env", "SDQ_PREFETCH=0", "SDQ_PAGER=1", "SDQ_ARENA_MB=29400", "SDQ_PRELOAD=0", "SDQ_ROW_PARALLEL=0", "build/bin/llama-cli", "-m", "models/flint-UD-Q4_K_XL.gguf", "-c", "512", "-b", "128", "-ub", "32", "-p", "Explain in one sentence why the sky is blue.", "-n", "32", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/v1/perf_c512_v1_arena28g_run2.log ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [sdq] MoE 層 47 / 共 49 層(dense lead 2):expert 權重合計 21.47 GiB、12032 個 expert
2
+ [sdq] 統一槽位 2555904 B(最大 expert 大小;平均 1915708 B)
3
+ [sdq] 使用 O_DIRECT 讀取模型檔(1 個 shard,不佔用 kernel page cache)
4
+ [sdq] I/O 段平行:24 條讀取執行緒 × 1096 KB 對齊緩衝(gate/up/down 同時讀,每段再切 1 塊)
5
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
6
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
7
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
8
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.77 GiB)
9
+ [sdq] evict_policy=lru stale_window=640
10
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
11
+ [sdq] prefetch=off fadvise_dontneed=1
12
+
13
+
14
+ Loading model...
15
+
16
+ ▄▄ ▄▄
17
+ ██ ██
18
+ ██ ██ ▀▀█▄ ███▄███▄ ▀▀█▄ ▄████ ████▄ ████▄
19
+ ██ ██ ▄█▀██ ██ ██ ██ ▄█▀██ ██ ██ ██ ██ ██
20
+ ██ ██ ▀█▄██ ██ ██ ██ ▀█▄██ ██ ▀████ ████▀ ████▀
21
+ ██ ██
22
+ ▀▀ ▀▀
23
+
24
+ build : b1-970b51c
25
+ model : models/flint-UD-Q4_K_XL.gguf
26
+ ftype : Q4_K - Medium
27
+ modalities : text
28
+
29
+ available commands:
30
+ /exit or Ctrl+C stop or exit
31
+ /regen regenerate the last response
32
+ /clear clear the chat history
33
+ /read <file> add a text file
34
+ /glob <pattern> add text files using globbing pattern
35
+
36
+
37
+
38
+ > Explain in one sentence why the sky is blue.
39
+
40
+ [Start thinking]
41
+
42
+ The user is asking for a one-sentence explanation of why the sky is blue.
43
+
44
+ This is a classic physics question about Rayleigh scattering.
45
+
46
+ The key points:
47
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
48
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
49
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
50
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.88 GiB)
51
+ [sdq] evict_policy=lru stale_window=640
52
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
53
+ [sdq] prefetch=off fadvise_dontneed=1
54
+
55
+ [ Prompt: 12.6 t/s | Generation: 5.5 t/s ]
56
+
57
+
58
+ Exiting...
59
+ RUNMEM {"peak_kb": 31988676, "peak_gib": 30.507, "limit_gib": null, "limit_exceeded": false, "swap_kb": 0, "wall_s": 29.03, "exit": 0, "cmd": ["env", "SDQ_PREFETCH=0", "SDQ_PAGER=1", "SDQ_ARENA_MB=29400", "SDQ_PRELOAD=0", "SDQ_ROW_PARALLEL=0", "build/bin/llama-cli", "-m", "models/flint-UD-Q4_K_XL.gguf", "-c", "512", "-b", "128", "-ub", "32", "-p", "Explain in one sentence why the sky is blue.", "-n", "32", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/v1/perf_c512_v1_arena28g_run3.log ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [sdq] MoE 層 47 / 共 49 層(dense lead 2):expert 權重合計 21.47 GiB、12032 個 expert
2
+ [sdq] 統一槽位 2555904 B(最大 expert 大小;平均 1915708 B)
3
+ [sdq] 使用 O_DIRECT 讀取模型檔(1 個 shard,不佔用 kernel page cache)
4
+ [sdq] I/O 段平行:24 條讀取執行緒 × 1096 KB 對齊緩衝(gate/up/down 同時讀,每段再切 1 塊)
5
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
6
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
7
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
8
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.77 GiB)
9
+ [sdq] evict_policy=lru stale_window=640
10
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
11
+ [sdq] prefetch=off fadvise_dontneed=1
12
+
13
+
14
+ Loading model...
15
+
16
+ ▄▄ ▄▄
17
+ ██ ██
18
+ ██ ██ ▀▀█▄ ███▄███▄ ▀▀█▄ ▄████ ████▄ ████▄
19
+ ██ ██ ▄█▀██ ██ ██ ██ ▄█▀██ ██ ██ ██ ██ ██
20
+ ██ ██ ▀█▄██ ██ ██ ██ ▀█▄██ ██ ▀████ ████▀ ████▀
21
+ ██ ██
22
+ ▀▀ ▀▀
23
+
24
+ build : b1-970b51c
25
+ model : models/flint-UD-Q4_K_XL.gguf
26
+ ftype : Q4_K - Medium
27
+ modalities : text
28
+
29
+ available commands:
30
+ /exit or Ctrl+C stop or exit
31
+ /regen regenerate the last response
32
+ /clear clear the chat history
33
+ /read <file> add a text file
34
+ /glob <pattern> add text files using globbing pattern
35
+
36
+
37
+
38
+ > Explain in one sentence why the sky is blue.
39
+
40
+ [Start thinking]
41
+
42
+ The user is asking for a one-sentence explanation of why the sky is blue.
43
+
44
+ This is a classic physics question about Rayleigh scattering.
45
+
46
+ The key points:
47
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
48
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
49
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
50
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.88 GiB)
51
+ [sdq] evict_policy=lru stale_window=640
52
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
53
+ [sdq] prefetch=off fadvise_dontneed=1
54
+
55
+ [ Prompt: 12.3 t/s | Generation: 6.2 t/s ]
56
+
57
+
58
+ Exiting...
59
+ RUNMEM {"peak_kb": 31988828, "peak_gib": 30.507, "limit_gib": null, "limit_exceeded": false, "swap_kb": 0, "wall_s": 27.87, "exit": 0, "cmd": ["env", "SDQ_PREFETCH=0", "SDQ_PAGER=1", "SDQ_ARENA_MB=29400", "SDQ_PRELOAD=0", "SDQ_ROW_PARALLEL=0", "build/bin/llama-cli", "-m", "models/flint-UD-Q4_K_XL.gguf", "-c", "512", "-b", "128", "-ub", "32", "-p", "Explain in one sentence why the sky is blue.", "-n", "32", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/{ppl_epq.log → v1/ppl_prefill_ub64_t8.log} RENAMED
File without changes
results/logs/v2/greedy_t16.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ Paris is a true statement. The capital of France is London is a false. The capital of France is Berlin is a
2
+
results/logs/v2/greedy_t8.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ Paris is a simple true/false question. The answer is true. The capital of France is indeed Paris. The user is
2
+
results/logs/v2/kl_decode_ub1_t16_vs_native.log ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [sdq] MoE 層 47 / 共 49 層(dense lead 2):expert 權重合計 21.47 GiB、12032 個 expert
2
+ [sdq] 統一槽位 2555904 B(最大 expert 大小;平均 1915708 B)
3
+ [sdq] 使用 O_DIRECT 讀取模型檔(1 個 shard,不佔用 kernel page cache)
4
+ [sdq] I/O 段平行:24 條讀取執行緒 × 1096 KB 對齊緩衝(gate/up/down 同時讀,每段再切 1 塊)
5
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
6
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
7
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
8
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.76 GiB)
9
+ [sdq] evict_policy=lru stale_window=640
10
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
11
+ [sdq] prefetch=off fadvise_dontneed=1
12
+ [sdq] 已預載全部 expert(12061 slots)→ 之後 row-parallel 可用
13
+ [sdq] 已預載全部 expert(12061 slots)→ 之後 row-parallel 可用
14
+ 0.30.239.333 I cmn init: llama threadpool init, n_threads = 16
15
+ 0.30.433.929 I
16
+ 0.30.434.050 I system_info: n_threads = 16 (n_threads_batch = 16) / 192 | CPU : SSE3 = 1 | SSSE3 = 1 | AVX = 1 | AVX2 = 1 | F16C = 1 | FMA = 1 | BMI2 = 1 | AVX512 = 1 | AVX512_VBMI = 1 | AVX512_VNNI = 1 | AVX512_BF16 = 1 | LLAMAFILE = 1 | OPENMP = 1 | REPACK = 1 |
17
+ 0.30.450.827 I kl_divergence: computing over 2 chunks, n_ctx=256, batch_size=256, n_seq=1
18
+ 0.43.870.456 I kl_divergence: 13.42 seconds per pass - ETA 0.43 minutes
19
+
20
+ chunk PPL ln(PPL(Q)/PPL(base)) KL Divergence Δp RMS Same top p
21
+ 1 13.7740 ± 4.6245 0.02254 ± 0.03440 0.03177 ± 0.01493 4.997 ± 2.174 % 95.276 ± 1.890 %
22
+ 2 14.8027 ± 3.1804 0.01283 ± 0.02276 0.04406 ± 0.01523 4.051 ± 1.350 % 92.520 ± 1.654 %
23
+
24
+ ====== Perplexity statistics ======
25
+ Mean PPL(Q) : 14.802734 ± 3.180425
26
+ Mean PPL(base) : 14.614086 ± 3.091134
27
+ Cor(ln(PPL(Q)), ln(PPL(base))): 99.44%
28
+ Mean ln(PPL(Q)/PPL(base)) : 0.012826 ± 0.022762
29
+ Mean PPL(Q)/PPL(base) : 1.012909 ± 0.023056
30
+ Mean PPL(Q)-PPL(base) : 0.188648 ± 0.342994
31
+
32
+ ====== KL divergence statistics ======
33
+ Mean KLD: 0.044057 ± 0.015234
34
+ Maximum KLD: 3.161583
35
+ 99.9% KLD: 2.810790
36
+ 99.0% KLD: 0.854633
37
+ 95.0% KLD: 0.086102
38
+ 90.0% KLD: 0.048945
39
+ Median KLD: 0.005596
40
+ 10.0% KLD: 0.000030
41
+ 5.0% KLD: 0.000006
42
+ 1.0% KLD: 0.000000
43
+ 0.1% KLD: -0.000003
44
+ Minimum KLD: -0.000004
45
+
46
+ ====== Token probability statistics ======
47
+ Mean Δp: -0.309 ± 0.254 %
48
+ Maximum Δp: 12.097%
49
+ 99.9% Δp: 11.854%
50
+ 99.0% Δp: 7.841%
51
+ 95.0% Δp: 2.800%
52
+ 90.0% Δp: 1.211%
53
+ 75.0% Δp: 0.182%
54
+ Median Δp: 0.000%
55
+ 25.0% Δp: -0.223%
56
+ 10.0% Δp: -2.155%
57
+ 5.0% Δp: -3.443%
58
+ 1.0% Δp: -9.554%
59
+ 0.1% Δp: -43.359%
60
+ Minimum Δp: -52.532%
61
+ RMS Δp : 4.051 ± 1.350 %
62
+ Same top p: 92.520 ± 1.654 %
63
+
64
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
65
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
66
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
67
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.82 GiB)
68
+ [sdq] evict_policy=lru stale_window=640
69
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
70
+ [sdq] prefetch=off fadvise_dontneed=1
results/logs/v2/kl_decode_ub1_t16_vs_v1.log ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [sdq] MoE 層 47 / 共 49 層(dense lead 2):expert 權重合計 21.47 GiB、12032 個 expert
2
+ [sdq] 統一槽位 2555904 B(最大 expert 大小;平均 1915708 B)
3
+ [sdq] 使用 O_DIRECT 讀取模型檔(1 個 shard,不佔用 kernel page cache)
4
+ [sdq] I/O 段平行:24 條讀取執行緒 × 1096 KB 對齊緩衝(gate/up/down 同時讀,每段再切 1 塊)
5
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
6
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
7
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
8
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.76 GiB)
9
+ [sdq] evict_policy=lru stale_window=640
10
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
11
+ [sdq] prefetch=off fadvise_dontneed=1
12
+ [sdq] 已預載全部 expert(12061 slots)→ 之後 row-parallel 可用
13
+ [sdq] 已預載全部 expert(12061 slots)→ 之後 row-parallel 可用
14
+ 0.30.646.682 I cmn init: llama threadpool init, n_threads = 16
15
+ 0.30.827.678 I
16
+ 0.30.827.803 I system_info: n_threads = 16 (n_threads_batch = 16) / 192 | CPU : SSE3 = 1 | SSSE3 = 1 | AVX = 1 | AVX2 = 1 | F16C = 1 | FMA = 1 | BMI2 = 1 | AVX512 = 1 | AVX512_VBMI = 1 | AVX512_VNNI = 1 | AVX512_BF16 = 1 | LLAMAFILE = 1 | OPENMP = 1 | REPACK = 1 |
17
+ 0.30.844.516 I kl_divergence: computing over 2 chunks, n_ctx=256, batch_size=256, n_seq=1
18
+ 0.46.567.395 I kl_divergence: 15.72 seconds per pass - ETA 0.52 minutes
19
+
20
+ chunk PPL ln(PPL(Q)/PPL(base)) KL Divergence Δp RMS Same top p
21
+ 1 13.7740 ± 4.6245 0.02395 ± 0.02233 0.00000 ± 0.00000 0.001 ± 0.000 % 100.000 ± 0.000 %
22
+ 2 14.8027 ± 3.1804 0.01198 ± 0.01117 0.00000 ± 0.00000 0.000 ± 0.000 % 100.000 ± 0.000 %
23
+
24
+ ====== Perplexity statistics ======
25
+ Mean PPL(Q) : 14.802734 ± 3.180425
26
+ Mean PPL(base) : 14.626524 ± 3.094576
27
+ Cor(ln(PPL(Q)), ln(PPL(base))): 99.87%
28
+ Mean ln(PPL(Q)/PPL(base)) : 0.011975 ± 0.011170
29
+ Mean PPL(Q)/PPL(base) : 1.012047 ± 0.011305
30
+ Mean PPL(Q)-PPL(base) : 0.176210 ± 0.179040
31
+
32
+ ====== KL divergence statistics ======
33
+ Mean KLD: 0.000001 ± 0.000001
34
+ Maximum KLD: 0.000038
35
+ 99.9% KLD: 0.000037
36
+ 99.0% KLD: 0.000034
37
+ 95.0% KLD: 0.000022
38
+ 90.0% KLD: 0.000015
39
+ Median KLD: 0.000000
40
+ 10.0% KLD: -0.000011
41
+ 5.0% KLD: -0.000020
42
+ 1.0% KLD: -0.000034
43
+ 0.1% KLD: -0.000039
44
+ Minimum KLD: -0.000040
45
+
46
+ ====== Token probability statistics ======
47
+ Mean Δp: -0.000 ± 0.000 %
48
+ Maximum Δp: 0.003%
49
+ 99.9% Δp: 0.002%
50
+ 99.0% Δp: 0.001%
51
+ 95.0% Δp: 0.001%
52
+ 90.0% Δp: 0.000%
53
+ 75.0% Δp: 0.000%
54
+ Median Δp: -0.000%
55
+ 25.0% Δp: -0.000%
56
+ 10.0% Δp: -0.000%
57
+ 5.0% Δp: -0.001%
58
+ 1.0% Δp: -0.002%
59
+ 0.1% Δp: -0.003%
60
+ Minimum Δp: -0.004%
61
+ RMS Δp : 0.000 ± 0.000 %
62
+ Same top p: 100.000 ± 0.000 %
63
+
64
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
65
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
66
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
67
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.82 GiB)
68
+ [sdq] evict_policy=lru stale_window=640
69
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
70
+ [sdq] prefetch=off fadvise_dontneed=1
results/logs/v2/kl_prefill_ub64_t8_vs_native.log ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [sdq] MoE 層 47 / 共 49 層(dense lead 2):expert 權重合計 21.47 GiB、12032 個 expert
2
+ [sdq] 統一槽位 2555904 B(最大 expert 大小;平均 1915708 B)
3
+ [sdq] 使用 O_DIRECT 讀取模型檔(1 個 shard,不佔用 kernel page cache)
4
+ [sdq] I/O 段平行:24 條讀取執行緒 × 1096 KB 對齊緩衝(gate/up/down 同時讀,每段再切 1 塊)
5
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
6
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
7
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
8
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.76 GiB)
9
+ [sdq] evict_policy=lru stale_window=640
10
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
11
+ [sdq] prefetch=off fadvise_dontneed=1
12
+ [sdq] 已預載全部 expert(12061 slots)→ 之後 row-parallel 可用
13
+ [sdq] 已預載全部 expert(12061 slots)→ 之後 row-parallel 可用
14
+ 0.27.947.775 I cmn init: llama threadpool init, n_threads = 8
15
+ 0.28.110.989 I
16
+ 0.28.111.120 I system_info: n_threads = 8 (n_threads_batch = 8) / 192 | CPU : SSE3 = 1 | SSSE3 = 1 | AVX = 1 | AVX2 = 1 | F16C = 1 | FMA = 1 | BMI2 = 1 | AVX512 = 1 | AVX512_VBMI = 1 | AVX512_VNNI = 1 | AVX512_BF16 = 1 | LLAMAFILE = 1 | OPENMP = 1 | REPACK = 1 |
17
+ 0.28.130.995 I kl_divergence: computing over 4 chunks, n_ctx=256, batch_size=256, n_seq=1
18
+ 0.34.415.654 I kl_divergence: 6.28 seconds per pass - ETA 0.42 minutes
19
+
20
+ chunk PPL ln(PPL(Q)/PPL(base)) KL Divergence Δp RMS Same top p
21
+ 1 13.4089 ± 4.4805 -0.00934 ± 0.04792 0.02043 ± 0.00445 2.355 ± 0.333 % 92.913 ± 2.286 %
22
+ 2 14.5720 ± 3.1356 -0.00591 ± 0.03286 0.02463 ± 0.00364 3.396 ± 0.658 % 90.157 ± 1.873 %
23
+ 3 9.0785 ± 1.5308 0.00134 ± 0.02267 0.01938 ± 0.00251 3.090 ± 0.488 % 91.864 ± 1.402 %
24
+ 4 10.8014 ± 1.6076 0.00923 ± 0.01822 0.01912 ± 0.00198 2.903 ± 0.398 % 92.323 ± 1.182 %
25
+
26
+ ====== Perplexity statistics ======
27
+ Mean PPL(Q) : 10.801407 ± 1.607644
28
+ Mean PPL(base) : 10.702135 ± 1.575857
29
+ Cor(ln(PPL(Q)), ln(PPL(base))): 99.25%
30
+ Mean ln(PPL(Q)/PPL(base)) : 0.009233 ± 0.018216
31
+ Mean PPL(Q)/PPL(base) : 1.009276 ± 0.018385
32
+ Mean PPL(Q)-PPL(base) : 0.099271 ± 0.197680
33
+
34
+ ====== KL divergence statistics ======
35
+ Mean KLD: 0.019120 ± 0.001984
36
+ Maximum KLD: 0.455408
37
+ 99.9% KLD: 0.412640
38
+ 99.0% KLD: 0.236318
39
+ 95.0% KLD: 0.072383
40
+ 90.0% KLD: 0.045335
41
+ Median KLD: 0.004286
42
+ 10.0% KLD: 0.000022
43
+ 5.0% KLD: 0.000003
44
+ 1.0% KLD: -0.000000
45
+ 0.1% KLD: -0.000001
46
+ Minimum KLD: -0.000001
47
+
48
+ ====== Token probability statistics ======
49
+ Mean Δp: 0.088 ± 0.129 %
50
+ Maximum Δp: 28.966%
51
+ 99.9% Δp: 21.585%
52
+ 99.0% Δp: 7.792%
53
+ 95.0% Δp: 3.637%
54
+ 90.0% Δp: 1.888%
55
+ 75.0% Δp: 0.336%
56
+ Median Δp: 0.000%
57
+ 25.0% Δp: -0.142%
58
+ 10.0% Δp: -1.699%
59
+ 5.0% Δp: -3.238%
60
+ 1.0% Δp: -7.473%
61
+ 0.1% Δp: -20.033%
62
+ Minimum Δp: -26.901%
63
+ RMS Δp : 2.903 ± 0.398 %
64
+ Same top p: 92.323 ± 1.182 %
65
+
66
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
67
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
68
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
69
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=29.01 GiB)
70
+ [sdq] evict_policy=lru stale_window=640
71
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
72
+ [sdq] prefetch=off fadvise_dontneed=1
results/logs/v2/perf_c512_v2_arena28g_run1.log ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [sdq] MoE 層 47 / 共 49 層(dense lead 2):expert 權重合計 21.47 GiB、12032 個 expert
2
+ [sdq] 統一槽位 2555904 B(最大 expert 大小;平均 1915708 B)
3
+ [sdq] 使用 O_DIRECT 讀取模型檔(1 個 shard,不佔用 kernel page cache)
4
+ [sdq] I/O 段平行:24 條讀取執行緒 × 1096 KB 對齊緩衝(gate/up/down 同時讀,每段再切 1 塊)
5
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
6
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
7
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
8
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.77 GiB)
9
+ [sdq] evict_policy=lru stale_window=640
10
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
11
+ [sdq] prefetch=off fadvise_dontneed=1
12
+ [sdq] 已預載全部 expert(12061 slots)→ 之後 row-parallel 可用
13
+ [sdq] 已預載全部 expert(12061 slots)→ 之後 row-parallel 可用
14
+
15
+
16
+ Loading model...
17
+
18
+ ▄▄ ▄▄
19
+ ██ ██
20
+ ██ ██ ▀▀█▄ ███▄███▄ ▀▀█▄ ▄████ ████▄ ████▄
21
+ ██ ██ ▄█▀██ ██ ██ ██ ▄█▀██ ██ ██ ██ ██ ██
22
+ ██ ██ ▀█▄██ ██ ██ ██ ▀█▄██ ██ ▀████ ████▀ ████▀
23
+ ██ ██
24
+ ▀▀ ▀▀
25
+
26
+ build : b1-970b51c
27
+ model : models/flint-UD-Q4_K_XL.gguf
28
+ ftype : Q4_K - Medium
29
+ modalities : text
30
+
31
+ available commands:
32
+ /exit or Ctrl+C stop or exit
33
+ /regen regenerate the last response
34
+ /clear clear the chat history
35
+ /read <file> add a text file
36
+ /glob <pattern> add text files using globbing pattern
37
+
38
+
39
+
40
+ > Explain in one sentence why the sky is blue.
41
+
42
+ [Start thinking]
43
+
44
+ The user is asking for a one-sentence explanation of why the sky is blue.
45
+
46
+ This is a classic physics question about Rayleigh scattering.
47
+
48
+ The key points:
49
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
50
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
51
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
52
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.87 GiB)
53
+ [sdq] evict_policy=lru stale_window=640
54
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
55
+ [sdq] prefetch=off fadvise_dontneed=1
56
+
57
+ [ Prompt: 31.1 t/s | Generation: 14.5 t/s ]
58
+
59
+
60
+ Exiting...
61
+ RUNMEM {"peak_kb": 31980088, "peak_gib": 30.499, "limit_gib": null, "limit_exceeded": false, "swap_kb": 0, "wall_s": 45.04, "exit": 0, "cmd": ["env", "SDQ_PREFETCH=0", "SDQ_PAGER=1", "SDQ_ARENA_MB=29400", "SDQ_PRELOAD=1", "SDQ_ROW_PARALLEL=1", "build/bin/llama-cli", "-m", "models/flint-UD-Q4_K_XL.gguf", "-c", "512", "-b", "128", "-ub", "32", "-p", "Explain in one sentence why the sky is blue.", "-n", "32", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/v2/perf_c512_v2_arena28g_run2.log ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [sdq] MoE 層 47 / 共 49 層(dense lead 2):expert 權重合計 21.47 GiB、12032 個 expert
2
+ [sdq] 統一槽位 2555904 B(最大 expert 大小;平均 1915708 B)
3
+ [sdq] 使用 O_DIRECT 讀取模型檔(1 個 shard,不佔用 kernel page cache)
4
+ [sdq] I/O 段平行:24 條讀取執行緒 × 1096 KB 對齊緩衝(gate/up/down 同時讀,每段再切 1 塊)
5
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
6
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
7
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
8
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.77 GiB)
9
+ [sdq] evict_policy=lru stale_window=640
10
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
11
+ [sdq] prefetch=off fadvise_dontneed=1
12
+ [sdq] 已預載全部 expert(12061 slots)→ 之後 row-parallel 可用
13
+ [sdq] 已預載全部 expert(12061 slots)→ 之後 row-parallel 可用
14
+
15
+
16
+ Loading model...
17
+
18
+ ▄▄ ▄▄
19
+ ██ ██
20
+ ██ ██ ▀▀█▄ ███▄███▄ ▀▀█▄ ▄████ ████▄ ████▄
21
+ ██ ██ ▄█▀██ ██ ██ ██ ▄█▀██ ██ ██ ██ ██ ██
22
+ ██ ██ ▀█▄██ ██ ██ ██ ▀█▄██ ██ ▀████ ████▀ ████▀
23
+ ██ ██
24
+ ▀▀ ▀▀
25
+
26
+ build : b1-970b51c
27
+ model : models/flint-UD-Q4_K_XL.gguf
28
+ ftype : Q4_K - Medium
29
+ modalities : text
30
+
31
+ available commands:
32
+ /exit or Ctrl+C stop or exit
33
+ /regen regenerate the last response
34
+ /clear clear the chat history
35
+ /read <file> add a text file
36
+ /glob <pattern> add text files using globbing pattern
37
+
38
+
39
+
40
+ > Explain in one sentence why the sky is blue.
41
+
42
+ [Start thinking]
43
+
44
+ The user is asking for a one-sentence explanation of why the sky is blue.
45
+
46
+ This is a classic physics question about Rayleigh scattering.
47
+
48
+ The key points:
49
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
50
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
51
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
52
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.87 GiB)
53
+ [sdq] evict_policy=lru stale_window=640
54
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
55
+ [sdq] prefetch=off fadvise_dontneed=1
56
+
57
+ [ Prompt: 32.4 t/s | Generation: 16.2 t/s ]
58
+
59
+
60
+ Exiting...
61
+ RUNMEM {"peak_kb": 31980008, "peak_gib": 30.499, "limit_gib": null, "limit_exceeded": false, "swap_kb": 0, "wall_s": 32.44, "exit": 0, "cmd": ["env", "SDQ_PREFETCH=0", "SDQ_PAGER=1", "SDQ_ARENA_MB=29400", "SDQ_PRELOAD=1", "SDQ_ROW_PARALLEL=1", "build/bin/llama-cli", "-m", "models/flint-UD-Q4_K_XL.gguf", "-c", "512", "-b", "128", "-ub", "32", "-p", "Explain in one sentence why the sky is blue.", "-n", "32", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/v2/perf_c512_v2_arena28g_run3.log ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [sdq] MoE 層 47 / 共 49 層(dense lead 2):expert 權重合計 21.47 GiB、12032 個 expert
2
+ [sdq] 統一槽位 2555904 B(最大 expert 大小;平均 1915708 B)
3
+ [sdq] 使用 O_DIRECT 讀取模型檔(1 個 shard,不佔用 kernel page cache)
4
+ [sdq] I/O 段平行:24 條讀取執行緒 × 1096 KB 對齊緩衝(gate/up/down 同時讀,每段再切 1 塊)
5
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
6
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
7
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
8
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.77 GiB)
9
+ [sdq] evict_policy=lru stale_window=640
10
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
11
+ [sdq] prefetch=off fadvise_dontneed=1
12
+ [sdq] 已預載全部 expert(12061 slots)→ 之後 row-parallel 可用
13
+ [sdq] 已預載全部 expert(12061 slots)→ 之後 row-parallel 可用
14
+
15
+
16
+ Loading model...
17
+
18
+ ▄▄ ▄▄
19
+ ██ ██
20
+ ██ ██ ▀▀█▄ ███▄███▄ ▀▀█▄ ▄████ ████▄ ████▄
21
+ ██ ██ ▄█▀██ ██ ██ ██ ▄█▀██ ██ ██ ██ ██ ██
22
+ ██ ██ ▀█▄██ ██ ██ ██ ▀█▄██ ██ ▀████ ████▀ ████▀
23
+ ██ ██
24
+ ▀▀ ▀▀
25
+
26
+ build : b1-970b51c
27
+ model : models/flint-UD-Q4_K_XL.gguf
28
+ ftype : Q4_K - Medium
29
+ modalities : text
30
+
31
+ available commands:
32
+ /exit or Ctrl+C stop or exit
33
+ /regen regenerate the last response
34
+ /clear clear the chat history
35
+ /read <file> add a text file
36
+ /glob <pattern> add text files using globbing pattern
37
+
38
+
39
+
40
+ > Explain in one sentence why the sky is blue.
41
+
42
+ [Start thinking]
43
+
44
+ The user is asking for a one-sentence explanation of why the sky is blue.
45
+
46
+ This is a classic physics question about Rayleigh scattering.
47
+
48
+ The key points:
49
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
50
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
51
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
52
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.87 GiB)
53
+ [sdq] evict_policy=lru stale_window=640
54
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
55
+ [sdq] prefetch=off fadvise_dontneed=1
56
+
57
+ [ Prompt: 40.0 t/s | Generation: 17.3 t/s ]
58
+
59
+
60
+ Exiting...
61
+ RUNMEM {"peak_kb": 31979436, "peak_gib": 30.498, "limit_gib": null, "limit_exceeded": false, "swap_kb": 0, "wall_s": 30.47, "exit": 0, "cmd": ["env", "SDQ_PREFETCH=0", "SDQ_PAGER=1", "SDQ_ARENA_MB=29400", "SDQ_PRELOAD=1", "SDQ_ROW_PARALLEL=1", "build/bin/llama-cli", "-m", "models/flint-UD-Q4_K_XL.gguf", "-c", "512", "-b", "128", "-ub", "32", "-p", "Explain in one sentence why the sky is blue.", "-n", "32", "-t", "16", "--temp", "0", "-st", "--simple-io"], "method": "procfs-rss-watchdog"}
results/logs/v2/ppl_prefill_ub64_t8.log ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [sdq] MoE 層 47 / 共 49 層(dense lead 2):expert 權重合計 21.47 GiB、12032 個 expert
2
+ [sdq] 統一槽位 2555904 B(最大 expert 大小;平均 1915708 B)
3
+ [sdq] 使用 O_DIRECT 讀取模型檔(1 個 shard,不佔用 kernel page cache)
4
+ [sdq] I/O 段平行:24 條讀取執行緒 × 1096 KB 對齊緩衝(gate/up/down 同時讀,每段再切 1 塊)
5
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
6
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
7
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
8
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=28.76 GiB)
9
+ [sdq] evict_policy=lru stale_window=640
10
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
11
+ [sdq] prefetch=off fadvise_dontneed=1
12
+ [sdq] 已預載全部 expert(12061 slots)→ 之後 row-parallel 可用
13
+ [sdq] 已預載全部 expert(12061 slots)→ 之後 row-parallel 可用
14
+ 0.27.382.921 I cmn init: llama threadpool init, n_threads = 8
15
+ 0.27.578.587 I
16
+ 0.27.578.686 I system_info: n_threads = 8 (n_threads_batch = 8) / 192 | CPU : SSE3 = 1 | SSSE3 = 1 | AVX = 1 | AVX2 = 1 | F16C = 1 | FMA = 1 | BMI2 = 1 | AVX512 = 1 | AVX512_VBMI = 1 | AVX512_VNNI = 1 | AVX512_BF16 = 1 | LLAMAFILE = 1 | OPENMP = 1 | REPACK = 1 |
17
+ 0.27.578.703 I perplexity: tokenizing the input ..
18
+ 0.27.585.073 I perplexity: tokenization took 6.365 ms
19
+ 0.27.585.087 I perplexity: calculating perplexity over 4 chunks, n_ctx=256, batch_size=256, n_seq=1
20
+ 0.33.385.452 I perplexity: 5.80 seconds per pass - ETA 0.38 minutes
21
+ [1]13.4089,[2]14.5720,[3]9.0785,[4]10.8014,
22
+ 0.50.490.263 I Final estimate: PPL = 10.8014 +/- 1.60764
23
+
24
+ [sdq] page-map: n_layer=49 n_expert=256 n_expert_used=6 n_embd=2048 n_ff_exp=512 | L2E0 gate=986105536/450560 up=1104733888/450560 down=799327936/720896 (off/size) ne0=2048 ne1=512 d_ne0=512 d_ne1=2048
25
+ [sdq] expert pager ready: models/flint-UD-Q4_K_XL.gguf
26
+ [sdq] 熱門 expert 釘選:0 個(無剖面,用動態 LRU/LFU)
27
+ [sdq] slot=2.44 MiB (2555904 B) slots=12061 arena=28.71 GiB (RAM 實測 RSS=29.01 GiB)
28
+ [sdq] evict_policy=lru stale_window=640
29
+ [sdq] 槽位:單一尺寸 2.44 MiB × 12061
30
+ [sdq] prefetch=off fadvise_dontneed=1