mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2490] [CLOSED] setup: Alchemist on xe also gets the Level Zero v2 adapter (UR_LOADER_USE_LEVEL_ZERO_V2=1; A770 decode +7%, prompt +3%) #4073
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#4073
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/2490
Author: @aslater3
Created: 10/14/2026
Status: ❌ Closed
Base:
main← Head:a770/up-alch-l0v2📝 Commits (2)
d70ea76setup: Alchemist on xe gets UR_L0_ENABLE_RELAXED_ALLOCATION_LIMITS=1 (A770 expert cache 1,906 -> 4,540 slots, decode +45%)d12bec3setup: Alchemist on xe also gets the Level Zero v2 adapter (UR_LOADER_USE_LEVEL_ZERO_V2=1; A770 decode +7%, prompt +3%)📊 Changes
3 files changed (+31 additions, -1 deletions)
View changed files
📝
docs/INTEL.md(+6 -1)📝
sycl/setup_intel.py(+12 -0)📝
tools/test_setup_sycl.py(+13 -0)📄 Description
Title
setup: Alchemist on xe also gets the Level Zero v2 adapter (UR_LOADER_USE_LEVEL_ZERO_V2=1; A770 decode +7%, prompt +3%)
Summary
On an Arc A770 under xe, each of the stepped verify window's ~97 graph segments per round took 53-200 µs to submit with the default Level Zero adapter. With the v2 adapter it takes about 25 µs (timed in the window's serve).
Setup now writes
UR_LOADER_USE_LEVEL_ZERO_V2=1for an Alchemist card on xe, next toUR_L0_ENABLE_RELAXED_ALLOCATION_LIMITS. This builds on #2394, which adds that block.What changed
sycl/setup_intel.py: the env entry, for Alchemist on xe only.tools/test_setup_sycl.py: the existing Alchemist/xe test also asserts the variable, and that a B-series card and i915 do not get it.docs/INTEL.md: one paragraph.Extra Notes
Arc A770 16 GB, xe, compute runtime 26.05, oneAPI 2026.1. Same day, same binary, with and without the variable:
Stability. With the default adapter, about 1 in 10 runs had a decode about 3× slower (serves stalled under memory pressure); none did with v2.
Quality. The text is equivalent. The ids vary from run to run, as they already do with the default adapter, because the adaptive tier's swap timing moves experts between CPU and GPU.
python tools/test_setup_sycl.py: 19 tests OK.Not tested: A750 / A580, i915, Windows, other compute runtimes.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.