[PR #2758] [CLOSED] sycl: STRATA_QFUSE - commit one-token rounds (the commit skipped them, so QFUSE gave wrong output) #4251

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

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2758
Author: @aslater3
Created: 10/16/2026
Status: ❌ Closed

Base: main ← Head: a770/up-qfuse-commit


📝 Commits (1)

  • c571bad sycl: STRATA_QFUSE - commit one-token rounds (the commit skipped them, so QFUSE gave wrong output)

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 sycl/src/core/verify.cpp (+4 -1)

📄 Description

sycl: STRATA_QFUSE - commit one-token rounds (the commit skipped them, so QFUSE gave wrong output)

record_window does not self-commit a one-token window under STRATA_QFUSE (!g_qfuse() in its self_commit), but
Verifier::commit skipped the commit graph for every one-token window whenever one_token_self_commit() is on, so with
QFUSE those rounds never advanced the GDN state: wrong tokens. commit() now uses the same condition. Default path
(QFUSE off) unchanged.

A770, Coder IQ1_M, 8K code prompt, STRATA_QFUSE=1, 3 pairs: output is now the reference tokens (before the fix it
diverged); no speed change, QFUSE stays opt-in.

The CUDA/HIP engine looks to have the same mismatch: src/core/verify.cpp line 879 (record_window) has !g_qfuse() in its self-commit condition, but Verifier::commit (line 2655) does not. QFUSE was built on HIP, where the one-token self-commit is off, so it did not show there. I could not build or test CUDA here, so this PR only changes the SYCL port.

🤖 Generated with Claude Code


🔄 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/2758 **Author:** [@aslater3](https://github.com/aslater3) **Created:** 10/16/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `a770/up-qfuse-commit` --- ### 📝 Commits (1) - [`c571bad`](https://github.com/Niko1221/Strata/commit/c571bad936b1512f695e2090ea62419678c4075d) sycl: STRATA_QFUSE - commit one-token rounds (the commit skipped them, so QFUSE gave wrong output) ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `sycl/src/core/verify.cpp` (+4 -1) </details> ### 📄 Description ## sycl: STRATA_QFUSE - commit one-token rounds (the commit skipped them, so QFUSE gave wrong output) record_window does not self-commit a one-token window under STRATA_QFUSE (`!g_qfuse()` in its self_commit), but Verifier::commit skipped the commit graph for every one-token window whenever one_token_self_commit() is on, so with QFUSE those rounds never advanced the GDN state: wrong tokens. commit() now uses the same condition. Default path (QFUSE off) unchanged. A770, Coder IQ1_M, 8K code prompt, STRATA_QFUSE=1, 3 pairs: output is now the reference tokens (before the fix it diverged); no speed change, QFUSE stays opt-in. The CUDA/HIP engine looks to have the same mismatch: `src/core/verify.cpp` line 879 (record_window) has `!g_qfuse()` in its self-commit condition, but `Verifier::commit` (line 2655) does not. QFUSE was built on HIP, where the one-token self-commit is off, so it did not show there. I could not build or test CUDA here, so this PR only changes the SYCL port. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:34:21 +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#4251
No description provided.