Repository navigation
Conversation
|
Thank you @Mirrdhyn. The profile follows the Metal one where it should, and your reading of the 64-token grid matches the code, so the long first turn is the right fix for this gate. Your B70 run passing all five gates is the evidence it needs. It's on the landing queue, with the CHANGELOG line credited to you. |
|
@ashhart thanks for landing it as #2690. For next time: GitHub doesn't offer "allow edits by maintainers" on organisation-owned forks, which is likely the 403. I'm happy to give your landing tool write access to |
|
@Mirrdhyn thanks for the offer. The landing tool pushes as my account ( One new ask before it lands. Since your run, main gained two lifecycle gates, Could you run the two gates on the B70 with the same server settings? On CUDA, "cancel": {"prompt": "count", "tokens": 256, "after_chunks": 4, "rounds": 2, "settle_s": 60},
"evict": {"fill_prompts": 10, "fill_items": 900, "fill_tokens": 1, "settle_s": 60}If they pass, post the result and we'll add those two blocks to #2690 with your numbers. If |
|
Thanks @Mirrdhyn! This landed as #2690 and is in TensorFold 1.2.7, out now: https://github.com/ashhart/TensorFold/releases/tag/v1.2.7
|
What this changes
Adds
tools/conformance_profiles/qwen27-xpu.json, the served-exactness profile for Qwen3.8-27B on the Intel Arc XPU backend, derived fromqwen27-metal.json: GPTQ 4-bit group 128 with its DFlash2 drafter,--parallel 4 --no-thinking, levels 1/2/4, a 2 GiB prompt cache. It has nofresh_env:TF_QWEN27_SLOT_RESUMEis only read inzig/src/native/qwen27_slots.zig, which the XPU path does not import.It sets
conversation_context_items: 600. Without it the resumed gate fails on this backend withcached_tokens [0, 64, 0, 64](measured this morning on006820408and on #2672's branch, identically). With it, every resumed turn is cached (4,032 to 4,160 tokens). Why, from reading the code (not instrumented at run time):zig/src/native/xpu.zigbuilds the prompt cache with.planned = true, .grid = 64, and inzig/src/core/prompt_cache.ziga planned store keeps and resumes states only at multiples of 64 tokens (usable,startAt). The short chat's first turn has a history of about 25 tokens, which snaps to 0, so nothing is kept for turn 2; a long first turn puts the history past a grid point. This is not the 4,096-token floor the CUDA profiles needed (2c6b1135):min_promptdoes not apply to planned stores.Suggested CHANGELOG line: Conformance: a Qwen3.8-27B XPU profile (
tools/conformance_profiles/qwen27-xpu.json, GPTQ 4-bit group 128 with its DFlash2 drafter, four streams on an Arc Pro B70); its first turn carries a 600-item document because the XPU prompt cache keeps states only at multiples of 64 tokens.Checks on this head
80e4823c(one file, the profile)tools/pr_check.py --base origin/main: 1 changed file; lean 386 vs 386, 0 new; 0 errors, 0 warningspython3 -m unittest tools.tests.test_bench_conformance, 23 run, 23 passReceipt
A test profile only, no change to inference; the receipt is the profile run on main.
f184c7b3d, Zig 0.17.0,zig build xpu-native -Doptimize=ReleaseFast -Dxpu-dpas=true, binary md53d3d78f09fc182902adfb240a4c8c56a; one Intel Arc Pro B70 (32 GB, PCIe 4.0 x4), the host's other card masked out; Qwen3.8-27B GPTQ 4-bit group 128 withz-lab/Qwen3.8-27B-DFlash2.python3 tools/conformance.py tools/conformance_profiles/qwen27-xpu.json --binary BIN --model-dir MODEL --drafter DRAFTER --output receipt.json