[PR #1692] [CLOSED] bench: existing RoPE vs YaRN at 512K and 1M, with setup guide #3611

Closed
opened 2026-11-07 15:29:33 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1692
Author: @CC-David-CC
Created: 10/9/2026
Status: ❌ Closed

Base: main ← Head: bench/rope-yarn4-long-context


📝 Commits (2)

  • db3d657 bench: compare existing RoPE and YaRN at 512K and 1M
  • 7fd0910 docs: clarify saving and restarting YaRN configuration

📊 Changes

6 files changed (+4713 additions, -0 deletions)

View changed files

➕ bench/results/2026-10-09-rope-yarn-long-context/README.md (+172 -0)
➕ bench/results/2026-10-09-rope-yarn-long-context/overview.png (+0 -0)
➕ bench/results/2026-10-09-rope-yarn-long-context/overview.svg (+4159 -0)
➕ bench/results/2026-10-09-rope-yarn-long-context/plot.py (+51 -0)
➕ bench/results/2026-10-09-rope-yarn-long-context/probe.py (+114 -0)
➕ bench/results/2026-10-09-rope-yarn-long-context/results.json (+217 -0)

📄 Description

Recall and prefill comparison

Summary

Measures Strata's existing YaRN on untouched main fb58e0db; no inference changes or converter dependency.

ISTA IQ3_XXS, FP16 KV, RTX PRO 6000 Blackwell. One fresh three-code retrieval prompt per condition:

Configuration Correct pairs Prefill Decode
Ordinary RoPE, 512K 3/3 95.7 s 103.6 tok/s
Ordinary RoPE, 1M 0/3 235.5 s 82.4 tok/s
YaRN 4x, 1M 3/3 232.8 s 82.7 tok/s

The 1M input hashes and executable match. Ordinary RoPE retained the names/numbers but swapped their associations; exact answers are shown in the figure. Replies were only 22 tokens.

Use existing YaRN

Linux: ./setup.sh --setup --context 1048576 --rope-scaling yarn --rope-scale 4

Windows: START-HERE.bat --setup --context 1048576 --rope-scaling yarn --rope-scale 4

Stop the running server first. --setup saves these settings and starts the selected model; later launches use ./setup.sh or START-HERE.bat.

Includes engine flags, a 128-token API example, output headroom and cache compatibility guidance in the setup and reproduction guide.

Scope

This is a small reproducible probe, not a validated 512K switching cutoff or general 1M quality guarantee. Retain normal defaults within the declared 262K context; beyond that, follow setup's existing experimental YaRN policy. Fresh YaRN is not cache migration.

Adds raw measurements/hashes, the standalone probe, PNG/SVG figure and plot source. No weights, saved sessions, or credentials. Related measurements: #348 and #781.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/1692 **Author:** [@CC-David-CC](https://github.com/CC-David-CC) **Created:** 10/9/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bench/rope-yarn4-long-context` --- ### 📝 Commits (2) - [`db3d657`](https://github.com/Niko1221/Strata/commit/db3d65720f29584f4328ac704a6c16e35f9e52a7) bench: compare existing RoPE and YaRN at 512K and 1M - [`7fd0910`](https://github.com/Niko1221/Strata/commit/7fd0910a2fe2b2d735b3dce66416ad21b5b5dcd7) docs: clarify saving and restarting YaRN configuration ### 📊 Changes **6 files changed** (+4713 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-10-09-rope-yarn-long-context/README.md` (+172 -0) ➕ `bench/results/2026-10-09-rope-yarn-long-context/overview.png` (+0 -0) ➕ `bench/results/2026-10-09-rope-yarn-long-context/overview.svg` (+4159 -0) ➕ `bench/results/2026-10-09-rope-yarn-long-context/plot.py` (+51 -0) ➕ `bench/results/2026-10-09-rope-yarn-long-context/probe.py` (+114 -0) ➕ `bench/results/2026-10-09-rope-yarn-long-context/results.json` (+217 -0) </details> ### 📄 Description ![Recall and prefill comparison](https://raw.githubusercontent.com/CC-David-CC/Strata-a5500/7fd0910a2fe2b2d735b3dce66416ad21b5b5dcd7/bench/results/2026-10-09-rope-yarn-long-context/overview.png) ## Summary Measures Strata's existing YaRN on untouched main `fb58e0db`; no inference changes or converter dependency. ISTA IQ3_XXS, FP16 KV, RTX PRO 6000 Blackwell. One fresh three-code retrieval prompt per condition: | Configuration | Correct pairs | Prefill | Decode | |---|---:|---:|---:| | Ordinary RoPE, 512K | 3/3 | 95.7 s | 103.6 tok/s | | Ordinary RoPE, 1M | 0/3 | 235.5 s | 82.4 tok/s | | YaRN 4x, 1M | 3/3 | 232.8 s | 82.7 tok/s | The 1M input hashes and executable match. Ordinary RoPE retained the names/numbers but swapped their associations; exact answers are shown in the figure. Replies were only 22 tokens. ## Use existing YaRN Linux: `./setup.sh --setup --context 1048576 --rope-scaling yarn --rope-scale 4` Windows: `START-HERE.bat --setup --context 1048576 --rope-scaling yarn --rope-scale 4` Stop the running server first. `--setup` saves these settings and starts the selected model; later launches use `./setup.sh` or `START-HERE.bat`. Includes engine flags, a 128-token API example, output headroom and cache compatibility guidance in the [setup and reproduction guide](https://github.com/CC-David-CC/Strata-a5500/blob/7fd0910a2fe2b2d735b3dce66416ad21b5b5dcd7/bench/results/2026-10-09-rope-yarn-long-context/README.md). ## Scope This is a small reproducible probe, not a validated 512K switching cutoff or general 1M quality guarantee. Retain normal defaults within the declared 262K context; beyond that, follow setup's existing experimental YaRN policy. Fresh YaRN is not cache migration. Adds raw measurements/hashes, the standalone probe, PNG/SVG figure and plot source. No weights, saved sessions, or credentials. Related measurements: #348 and #781. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:29:33 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3611
No description provided.