mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4323] [Engine] Proposal: a native single-card Intel Gaudi2 backend (opt-in hpu/) #1907
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#1907
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 @JChen-318 on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4323
Area
[Engine] (speed, kernels, models, the server and API)
What do you want to do?
Run Strata on an Intel Gaudi2 accelerator. Strata has no path for Gaudi today: the card is neither CUDA, HIP nor
SYCL, and its compute engines (MME matrix units, TPC vector cores) are programmed through Habana's SynapseAI graph API
and TPC-C kernels.
I have a working backend for one Gaudi2 (HL-225, 96 GB HBM) in a fork,
JChen-318/gaudi2-single-card-strata, based on
296b59d.It keeps Strata's server, and only the engine underneath is new.
What runs today:
Question for the maintainers: would you take this upstream as an opt-in backend? If yes, I would split it
into focused PRs, in this order.
serve/(about 290 changed lines, tests included): recognise anhpubackend in the Monitor telemetry.hl-smiinstead ofnvidia-smi/rocm-smi.PP n total ms.hpu/, a self-contained directory with its own CMake project (cmake -S hpu).tpc-clangfrom Habana's packages. A Docker image on Habana's base image is included.docs/GAUDI2.md) covering setup, the measured numbers and the limits.Tradeoffs, as I see them:
project has the hardware. I would maintain it, answer its issues, and run hardware validation before each change.
SDK headers were stubbed.
main. The first step would be a rebase and re-validationon the card.
The first request at a new context size compiles its graphs (seconds), and the backend has no Windows support.
If an in-tree backend is too much to carry, a lighter alternative is to link the fork from the docs only, for
example a short "Intel Gaudi2" section. I am happy with either; I would like your view before opening code PRs.
What do you do today instead?
I run the fork. It works, but it drifts further from
mainwith every upstream release. Gaudi users cannot get itthrough
setup.pyor the releases, and fixes in the shared server code reach it only by hand.@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.