[PR #901] [CLOSED] Add ARM64 NVIDIA GB10 build and native-pack support #2906

Closed
opened 2026-11-04 02:04:02 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/901
Author: @githubhjs
Created: 10/5/2026
Status: ❌ Closed

Base: main ← Head: arm64-gb10


📝 Commits (10+)

  • 9f60d13 serve, 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)
  • 6a09387 setup (--gguf-dir): GGUFs Strata cannot run are named as such, with the --family/--model to use (#444)
  • d6a91e2 docs: the Coder is weaker outside code, Chinese/CJK text included; the unpruned sizes for that (#438)
  • d8d4ad3 Merge branch 'f-135-eng' into rel-0.1.35
  • 7b600d5 Merge branch 'f-135-small' into rel-0.1.35
  • d9ab843 Engine 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 it
  • 57bd713 sycl: pipeline the expert cache's profile fill (model load 3-4x faster)
  • e3bdd74 A prompt cancelled mid-read is logged and recorded with the tokens it read (#471)
  • f2aaba1 "The draft head does not fit" says what to change (#474)

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 setup.py (+5 -1)

📄 Description

ARM64 / NVIDIA GB10 support

This PR adds a tested ARM64 build path for NVIDIA GB10 (Grace Blackwell, compute capability 12.1).

Changes

  • Detect GB10 unified memory when nvidia-smi reports [N/A] for VRAM.
  • Build CUDA kernels for sm_121.
  • Add scalar ARM64 Q2_0 expert and BF16 router fallbacks.
  • Make CPU pause/fence paths portable to ARM64.
  • Enable ARM64 native packs through ggml CPU, while skipping x86-only AVX multi-token kernels.
  • Allow setup and the engine to recognize ARM64 instead of applying the x86 SSE4.2 floor.

Hardware validation

On NVIDIA GB10, 121.6 GiB unified GPU memory, CUDA 13.0:

  • Full engine build completed with STRATA_NATIVE_EXPERTS=ON and CUDA architecture 121.
  • strata-device --list-devices detected GB10, compute capability 12.1.
  • Qwen3.8-Flash-Next GSQ-RCO Q2_0 model and MTP draft layer loaded successfully.
  • OpenAI-compatible generation returned 4 for What is 2 + 2?.
  • Measured prompt throughput: 73.6 tok/s.
  • Measured generation throughput: 48.7 tok/s.
  • MTP draft acceptance: 20 / 25 proposed tokens.

The ARM64 CPU expert path is scalar and intended as a correctness fallback; the tested GB10 run uses the CUDA path for the main model work.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/901 **Author:** [@githubhjs](https://github.com/githubhjs) **Created:** 10/5/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `arm64-gb10` --- ### 📝 Commits (10+) - [`9f60d13`](https://github.com/Niko1221/Strata/commit/9f60d13246e46b02b1dd0841980b4d18b0faaea7) serve, setup: name the small split card that caps the prompt chunk; setup recommends the big card alone (#448) - [`eb8da1d`](https://github.com/Niko1221/Strata/commit/eb8da1d8c26ec41e6ffb084fdf579dba7cad10bd) /metrics: each request's speculative draft counts, and their sums in the totals (#457) - [`6a09387`](https://github.com/Niko1221/Strata/commit/6a093874fe037020f49bd5cf053879ff6a133c21) setup (--gguf-dir): GGUFs Strata cannot run are named as such, with the --family/--model to use (#444) - [`d6a91e2`](https://github.com/Niko1221/Strata/commit/d6a91e2d1770d0f469d6ec15890acc7ee93e764c) docs: the Coder is weaker outside code, Chinese/CJK text included; the unpruned sizes for that (#438) - [`d8d4ad3`](https://github.com/Niko1221/Strata/commit/d8d4ad337d3c98ba21d3bd0af1a16e9177e112b6) Merge branch 'f-135-eng' into rel-0.1.35 - [`7b600d5`](https://github.com/Niko1221/Strata/commit/7b600d55ff801caaaa11542af1523050992e049b) Merge branch 'f-135-small' into rel-0.1.35 - [`d9ab843`](https://github.com/Niko1221/Strata/commit/d9ab8435f654c368c586340d490915f6addf56a3) Engine 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 it - [`57bd713`](https://github.com/Niko1221/Strata/commit/57bd713454ddb4b965f994e95d95cacd68c93fb1) sycl: pipeline the expert cache's profile fill (model load 3-4x faster) - [`e3bdd74`](https://github.com/Niko1221/Strata/commit/e3bdd7449223c4305ef53e331538346765855a2c) A prompt cancelled mid-read is logged and recorded with the tokens it read (#471) - [`f2aaba1`](https://github.com/Niko1221/Strata/commit/f2aaba1e3d219a6ff165fca367d92b6a1dad7080) "The draft head does not fit" says what to change (#474) ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `setup.py` (+5 -1) </details> ### 📄 Description ## ARM64 / NVIDIA GB10 support This PR adds a tested ARM64 build path for NVIDIA GB10 (Grace Blackwell, compute capability 12.1). ### Changes - Detect GB10 unified memory when `nvidia-smi` reports `[N/A]` for VRAM. - Build CUDA kernels for `sm_121`. - Add scalar ARM64 Q2_0 expert and BF16 router fallbacks. - Make CPU pause/fence paths portable to ARM64. - Enable ARM64 native packs through ggml CPU, while skipping x86-only AVX multi-token kernels. - Allow setup and the engine to recognize ARM64 instead of applying the x86 SSE4.2 floor. ### Hardware validation On NVIDIA GB10, 121.6 GiB unified GPU memory, CUDA 13.0: - Full engine build completed with `STRATA_NATIVE_EXPERTS=ON` and CUDA architecture 121. - `strata-device --list-devices` detected GB10, compute capability 12.1. - Qwen3.8-Flash-Next GSQ-RCO Q2_0 model and MTP draft layer loaded successfully. - OpenAI-compatible generation returned `4` for `What is 2 + 2?`. - Measured prompt throughput: 73.6 tok/s. - Measured generation throughput: 48.7 tok/s. - MTP draft acceptance: 20 / 25 proposed tokens. The ARM64 CPU expert path is scalar and intended as a correctness fallback; the tested GB10 run uses the CUDA path for the main model work. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-04 02:04:02 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2906
No description provided.