mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1745] [Bug]: SYCL engine's PCIe probe times a pageable copy, so it reads the link ~4x low and lowers pcie_frac (Arc Pro B70) #696
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#696
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 @sam-fakhreddine on GitHub (Oct 9, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1745
What happened
On the SYCL engine the startup PCIe probe reads the link far below what it carries, and the low reading sets
pcie_fracfrom it:The card is an Arc Pro B70 on a PCIe 5.0 x16 link (32 GT/s x16 at the root port and at the card's switch upstream port, checked with
lspci -vv). A standalone SYCL copy test on the same card and VM, best of 5 per size:sycl::malloc_host(pinned)malloc(pageable)The probe's 256 MiB bursts land on the pageable row. In
sycl/src/program/generate.cpp,probe_pcie_h2d_gbps()allocates its host buffer withmalloc, while the CUDA engine's probe usescudaMallocHostand the function's own comment says it "copies from pinned host memory, as the expert arena's reads are". The expert mirror is pinned (... mirrored in pinned host memory (11.63 GiB ...)), so the probe times a different path from the one decode uses.#485 (fixed in 0.1.37) is about the probe's sampling on CUDA; this is the SYCL port's allocation and is not covered by it.
With the buffer from
sycl::malloc_hostthe same card reads:Greedy output tokens are identical either way (IQ2_XS, 20-token and 2,185-token prompts, 256 new tokens). Decode with
--pcie-frac 0.55against the probed 0.18 on IQ2_XS: 62.6 vs 61.0 tok/s on the 20-token prompt, 60.3 vs 60.1 on the 2,185-token prompt (medians of 3 interleaved pairs). Small here because only 4 to 10% of routed entries come from the mirror on IQ2_XS; a quant with more of its experts in the mirror depends on the share more.Strata version, GPU, OS
0.1.41 (main
fb58e0d), SYCL engine (AOT, bmg-g31), Arc Pro B70 32 GB, Ubuntu 26.04 VM (Proxmox passthrough), xe driver, oneAPI 2026.1.1, NEO 26.05.37020.3Engine log
The two probe lines are above. A fix is ready as a pull request (three lines in
probe_pcie_h2d_gbps()).@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.