mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5086] [Engine] 0.2.10 / 0.1.56: every SYCL start dies in install_two_card_spec's engine_args wrapper (TypeError: unexpected keyword 'announce') #2372
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#2372
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 @Maddy55555 on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5086
Summary
On v0.2.10 (engine 0.1.56) the SYCL serve path cannot start at all.
sycl/serve/server_intel.pyinstallsinstall_two_card_spec(), which monkeypatchesS.engine_argswith a closure that only accepts(cfg).serve/server.py0.1.56 callsengine_args()with more arguments in several places —engine_args(cfg, announce=False)(server.py:9758, :9175, :9236 andmtp_retry_argsat :3483/:3486) andengine_args(cfg, exe)(:9114, :9142, :9169, :9237). Every SYCL start therefore dies before the engine is loaded:Under a supervisor the unit loops (48 restarts on my box before I caught it), the port never binds. This hits every SYCL card — the wrapper is installed unconditionally in server_intel.py's
__main__, and my box has exactly one card. Affects 0.2.10; I did not test 0.2.9.Reproduce
Any
sycl/serve/server_intel.pystart on v0.2.10, e.g. the run script written by./setup.sh --backend sycl, on any Intel GPU. No special config needed.Environment
Suggested fix (one line, works on my box)
Let the wrapper pass its call arguments through to the original:
After this change everything in 0.2.10 works as documented (measured: decode 30-45 tok/s, prefill 1355-1411 tok/s at 67k, 256k context,
--pcie-fracauto, vision on).A second thought: since the two-card rule only rewrites
--spec, the wrapper could also simply skip its logic whencall_kwargs.get("announce")is false — the announcement previews (warn_budget_over_ram,mtp_retry_args) should probably not print the "two-card --spec" line at all.@mbaaku commented on GitHub (Nov 3, 2026):
Confirmed on an Arc Pro B70 (bmg-g31, AOT build, single card, Linux Ubuntu 26, Kernel 7.x, Docker), v0.2.10 checkout
ffa80d73, Qwen3.8-Flash-Next UD-Q4_K_XL:Note that this is a single-card setup, so the two-card rule never applies here, but the wrapper is installed on every SYCL start and breaks it anyway.
Local workaround that gets past the crash (forward the extra arguments; only print the note when the caller announces):
@Niko1221 commented on GitHub (Nov 5, 2026):
Hello Maddy55555,
Thank you, this was a real break for every SYCL start. In Strata 0.2.11 the
engine_argswrapper takes the base signature and forwards it, so the TypeError is gone. We started the SYCL engine on an Arc A750 with the old code (TypeError) and the new code (starts, three correct chats, no GPU hang in the kernel log). We did not run your card. If a SYCL start still fails on 0.2.11, please send the first error line of the server log.The Strata project
@Maddy55555 commented on GitHub (Nov 5, 2026):
Confirmed fixed in v0.2.11 (engine 0.1.57). I rebuilt the tag (fresh AOT,
bmg-g31) on 2× Arc Pro B70 Pro, layer split, 256k — dropped my one-line workaround: noTypeError, the two-card--specrule applies, and all my gates stay green (decode 47–51 short / 61–65 at 16k, prefill ~2140 tok/s, vision pass).5bf9626fcovers every start path I exercise — thanks for the quick fix, fine to close from my side.@mbaaku same wrapper path on single-card bmg-g31 — worth a try with 0.2.11.