mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1781] SYCL: "effort_position": "end" never turns on - the server looks for --tail-role-token in the launcher script, not the engine binary #709
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#709
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @leadgtr7 on GitHub (Oct 10, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1781
Setup: Intel port, engine 0.1.41 (
fb58e0d, built withsycl/tools/build.sh), Arc Pro B65 32 GB, config"exe": ".../sycl/serve/strata-sycl.sh"as setup writes it, plus"effort_position": "end"instrata-<model>.json.What happens: the server prints
and keeps the effort at the top of the prompt, so changing
reasoning_effortbetween requests re-reads the whole conversation (#458's case).Why:
effort_end_args()inserve/server.pydecides support withb"--tail-role-token" in open(exe, "rb").read(). On the Intel portexeissycl/serve/strata-sycl.sh, a shell script that runs${STRATA_SYCL_BIN:-build-sycl-aot/strata}in a container. The script never names the option; the binary does:So the feature is off on every SYCL install regardless of the engine version. CUDA/HIP are unaffected (their
exeis the engine).Fix: resolve the launcher to the binary it runs before the check (its repo's
STRATA_SYCL_BIN, from the config'senvor the environment, defaultbuild-sycl-aot/strata); any otherexeis read as before. PR to follow.(Found and tested with Claude Code.)
@Niko1221 commented on GitHub (Oct 10, 2026):
Fixed in v0.1.42 by #1782 (the --tail-role-token check reads the SYCL engine binary, not its launcher script).