mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #797] [CLOSED] sycl: enable Arc A770 inference and document measured performance #2834
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#2834
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/797
Author: @atalantisalt03
Created: 10/4/2026
Status: ❌ Closed
Base:
main← Head:a770-try2📝 Commits (10+)
749d957setup (--backend hip): a system ROCm without the HIP development files falls back to the wheels (#446)5a30024calibrate: the engine's arguments come from the server's engine_args; a failed tuning says why (#447)9f60d13serve, setup: name the small split card that caps the prompt chunk; setup recommends the big card alone (#448)eb8da1d/metrics: each request's speculative draft counts, and their sums in the totals (#457)6a09387setup (--gguf-dir): GGUFs Strata cannot run are named as such, with the --family/--model to use (#444)d6a91e2docs: the Coder is weaker outside code, Chinese/CJK text included; the unpruned sizes for that (#438)d8d4ad3Merge branch 'f-135-eng' into rel-0.1.357b600d5Merge branch 'f-135-small' into rel-0.1.35d9ab843Engine 0.1.35: Windows AMD uses its bundled HIP runtime (#468 #461), the low-RAM resident mode on Windows 32 GB PCs (#467), fixes #460 #459 #446 #447 #457 #448 #444; setup requires it57bd713sycl: pipeline the expert cache's profile fill (model load 3-4x faster)📊 Changes
3 files changed (+817 additions, -10 deletions)
View changed files
📝
docs/INTEL.md(+6 -1)📝
docs/INTEL_ARC.md(+119 -9)➕
docs/benchmarks/2026-10-04-a770.json(+692 -0)📄 Description
!!!DO NOT MERGE!!! (This describes my experience on an a770 and getting it to work, not polished code. GTP-6-Astra did everything since I don't know sycl at all lol. Use whatever is good from this if yall want, or just close it)
All code changes by gpt 6 astra. When I learned about strata I tasked astra with getting it working, it wasnt able to (see the 3tps result), after https://github.com/Niko1221/Strata/releases/tag/v0.1.39 I had it retry, and it sort of works. (Not verified for production at all).
Problem and result
The v0.1.39 SYCL engine could not reach native decode on an Arc A770 16 GB: migrated shared-API signatures did not compile, unavailable free-memory telemetry prevented a usable cache, large cache/mirror allocations failed, and the native router hung at a divergent work-group barrier.
This branch gets the existing IQ2_XS model running on that card. With requested cache3000, median decode is 17.8 tok/s after 511 prompt tokens and 16.6 tok/s after 4096 prompt tokens. This is still experimental and approximately 21% below the preserved RTX 5060 Ti CUDA cache3000 result. Draft for author review; not ready to merge.
Changes
ThreadAffinityandNativeDense::loadinterfaces.docs/INTEL_ARC.mdand link it fromdocs/INTEL.md, including required A770 flags, memory requirements, measurements and limitations. Add a portable benchmark JSON with the saved corpus, per-request rates, output hashes and provenance.Measurements
A770 16 GB, Ryzen 5 3600, Linux VM with approximately 94 GiB DDR4 RAM; NEO 26.35.39758.10, oneAPI 2026.1.1 and oneMKL 2026.1. SPIR-V/JIT. Cache3000 becomes 3134 slots / 4.22 GiB; all 21,442 non-VRAM experts are mirrored in 28.80 GiB of pinned host memory.
One warmup plus three trials per prompt size, 256 generated tokens per request, zero prompt reuse. Both FP64 arms return exactly matching text for all seven requests. They ran sequentially, not randomized. The older custom A770 port measured 2.7/2.7 tok/s on the same corpus/cache setting; the new release, kernels, host mirror and CPU policy all changed, so this is not a single-fix speedup attribution or an XMX claim.
Validation and review limits
The engine changes were compiled and tested on the A770 before the documentation commit:
sum(i*i for i in range(4))returns 30 instead of 14 twice; the same failure exists in prior CUDA/custom A770 evidence. No full-model quality or numerical-parity claim.git diff --checkpasses.The general A770 configuration keeps FP64 emulation enabled and requires
SYCL_PROGRAM_APPEND_COMPILE_OPTIONS=-ze-intel-greater-than-4GB-buffer-required. Disabling emulation is qualified only for the tested native greedy path.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.