r/AIProgrammingHardware • u/javaeeeee • 12d ago
4x AMD Radeon 9700 AI Pro Workstation (128 GB): Qwen3.8 27B and Flash Next Benchmarks (Radiance)
r/AIProgrammingHardware • u/javaeeeee • 12d ago
r/AIProgrammingHardware • u/Pendraks • 12d ago
r/AIProgrammingHardware • u/PhysicsDisastrous462 • 12d ago
so, after quite a bit of work since the v0.2.0 release, i've finally managed to get v0.2.5 published!
for anyone who followed the previous release, v0.2.0 was where i first introduced the opt-in RDNA3 WMMA implementation. since then i've been working on improving the Full FP16 path, specifically its numerical accuracy and performance, without having to sacrifice the execution structure that was already working.
the biggest change in this release is something i've been calling P3.
previously, the Full FP16 WMMA kernel merged its eight accumulator-bank partials using multiple intermediate FP16 additions. this meant that the result was rounded to FP16 several times along the way. P3 changes that final merge so all eight partials are summed in FP32, with just one final rounding to FP16.
the actual two-wave workgroup structure, K-slice stream, bank assignment, staging, cooperative multiplication and barriers are all preserved. i wanted to improve the accuracy of the final result without having to redesign the kernel all over again.
some of the results from the new qualification:
0.03035259 to 0.02593803.0.03125, meeting the existing hard numerical limit.i also ran another full performance sweep. this time using 24 paired measurement blocks per workload, GPU timestamps, and corrected 95% confidence intervals.
the measured improvements against the preserved Main kernel baseline were:
2048×768×2048 — 1.0243×512×2048×768 — 1.1246×512×768×768 — 1.1163×128×8192×768 — 1.2722×all four protected workloads passed independently, including the lower bounds of their confidence intervals. the largest measured improvement was around 27%.
just to clarify, these are per-dispatch GPU GEMM measurements, not end-to-end training speedups. i don't want to imply that an entire training run is suddenly 27% faster when that isn't what was measured.
there were some other changes too.
i tightened up the production dispatch admission so the profitability predicate is checked against each actual batch, rather than relying only on the maximum batch size supplied when creating the projection. the existing 16,000,000 MAC profitability floor has not changed.
i also went through the actual portable binaries and verified that they dispatch the P3 kernel when an eligible workload is supplied. the packaged trainer produced 8 cooperative P3 dispatches, and the packaged logits executable produced another 3. disabling WMMA resulted in zero cooperative dispatches, as expected.
the numerical comparison for the packaged logits test covered 262,144 finite elements, with a maximum absolute difference of 0.000738330 and RMS difference of 0.000122237.
the new release is available as a portable Windows x64 package too.
i've included seven executables, and the package was built with a statically linked MSVC runtime. there's no need to install Rust, Cargo, Python, PyTorch, Visual Studio, or the MSVC redistributable just to run it.
you will still need a compatible Vulkan-capable GPU driver and the Vulkan runtime loader. model weights aren't included.
one thing i want to make clear is that WMMA is still opt-in globally. the default is still off, and you have to explicitly select full-fp16 to use the P3 path. P3 is simply the default implementation within that mode. the Mixed precision path is separate and hasn't been replaced.
the hardware qualification was performed on my AMD Radeon Graphics adapter, PCI ID 1002:15bf (RDNA3 / Phoenix). i haven't qualified this on every RDNA3 GPU, RDNA3.5, RDNA4, Intel or NVIDIA hardware, so please don't assume universal compatibility.
there are still things i haven't been able to test, including independent clean-machine/second-device acceptance, GUI interaction, Windows 10 acceptance, and code signing. the executables are currently unsigned.
anyway, i'm really happy to finally have this one out. v0.2.0 was the first public release of the WMMA implementation, and v0.2.5 is a pretty substantial improvement to that foundation. a lot of time went into checking that the numerical improvements were real, that the performance was actually measurable, and that the distributed binaries were doing what they were supposed to do.
Release: https://github.com/necat101/Hierarchos-Native/releases/tag/v0.2.5
Source: https://github.com/necat101/Hierarchos-Native
thank you to everyone who's been following the project, testing things, reporting issues, or just keeping an eye on development. it genuinely means a lot! thank you so much everyone!! :3 also, sorry for the AI posts lately, I've been trying to save as much time as possible to work on the project itself due to live events getting tough! this one is completely human written! :3
r/AIProgrammingHardware • u/xrothgarx • 12d ago
r/AIProgrammingHardware • u/javaeeeee • 13d ago
r/AIProgrammingHardware • u/Zyzzerone • 13d ago
r/AIProgrammingHardware • u/Tricky_School_4613 • 15d ago
r/AIProgrammingHardware • u/M83Spinnaker • 15d ago
Reposting here out of curiosity in the marketplace.
r/AIProgrammingHardware • u/javaeeeee • 16d ago
r/AIProgrammingHardware • u/javaeeeee • 17d ago
r/AIProgrammingHardware • u/jackalka • 16d ago
r/AIProgrammingHardware • u/PhysicsDisastrous462 • 17d ago
Hey everyone! It's been a little while since my last update, and I've been working pretty intensely on Hierarchos-Native, my Rust + Vulkan project for training, fine-tuning, and running language models without relying on Python, PyTorch, CUDA, ROCm, or oneAPI in the native runtime.
I wanted to share some of the bigger things that have landed over the past 18 days. There's been quite a bit of progress across GPU acceleration, multimodal training, numerical correctness, and general performance.
The new v0.2.0 release is now available!
GitHub: https://github.com/necat101/Hierarchos-Native
Release / Windows portable download: https://github.com/necat101/Hierarchos-Native/releases/tag/v0.2.0
One of the biggest additions is an opt-in Vulkan cooperative-matrix implementation for AMD RDNA3.
The new Mixed WMMA execution arm uses:
The important part is that this isn't simply converting an entire model to FP16. The optimizer and master parameters retain their FP32 representation.
I also added capability detection, CLI/GUI integration, and separate counters for actual cooperative-matrix dispatches and FP32 fallbacks.
Some of the isolated GEMM results on the qualified Ryzen Z1 Extreme / AMD Radeon Graphics device (1002:15bf) are pretty interesting:
| Workload | Measured kernel speedup |
|---|---|
| QKV projection | 2.17× |
| FFN up projection | 2.12× |
| FFN down projection | 2.31× |
| Vocabulary projection | 1.83× |
These are individual GEMM measurements, not whole-model speedups.
There is an important caveat: WMMA has a real crossover point. Small matrices can actually run slower because conversion, staging, and dispatch overhead outweigh the matrix-core benefit. I implemented a profitability policy that keeps smaller operations on their existing FP32 kernels.
In fact, the measured end-to-end training step was slower with Mixed WMMA in the initial 512-row fixture (14.0444 ms versus 12.2911 ms for FP32). That is why Mixed remains opt-in and disabled by default. I'm much more interested in making it genuinely faster than advertising misleading kernel-level numbers.
WMMA is currently physically qualified on the specific RDNA3 device and Windows driver configuration documented in the project. Other GPUs should not assume equivalent support.
Full FP16 accumulation is also available as a separate, narrowly qualified experimental mode.
Documentation: RDNA3 WMMA guide
Another major development area has been the image-text pipeline.
The project now has native image processing and training paths that connect image inputs to language-model outputs through Vulkan.
Some of the implemented work includes:
This is actual training work, not simply passing precomputed image embeddings into an otherwise frozen language model.
For the CLIP/LLaVA pipeline, the tests cover image sensitivity, gradients into image inputs, changes to image-tower/projector/text parameters, multiple AdamW updates, and export/reload behavior.
The qualification work has also expanded considerably:
The maintained strict FP32 visible-logit gate remains max_abs < 2e-7, with rtol=0.
These are bounded qualification fixtures, not a claim that every production-size multimodal checkpoint or every architecture is fully supported. Audio and video pipelines are still outside the current qualified scope.
Documentation:
I haven't been focusing exclusively on reduced precision. A substantial amount of work over the same period has gone into improving the existing FP32 execution paths.
This includes vendor-specific shader work and scheduling optimizations for both Intel Gen9 integrated graphics and AMD RDNA3.
Some examples:
RDNA3 FP32 work
Intel Gen9 work
One particularly interesting area has been reducing unnecessary Vulkan submissions and host/device transfer overhead in the DeepSeek V4.1 training pipeline.
On the measured Gen9 fixtures, upload batching reduced timed submissions from 1,102 to 982 per step, with paired throughput improvements of 1.052× and 1.067×.
On the separate RDNA3 V4.1 measurements, sharing the compute session and batching uploads reduced submissions from 970 to 509 per step, with measured improvements of 1.295× and 1.217× on two fixture geometries. A later session-wide upload optimization reduced that count further to 241 submissions per step, with measured improvements of 1.464× and 1.366×.
These are specific, paired benchmark results rather than promises of equivalent production-model speedups. The output comparisons remained word-identical in the recorded tests.
An important part of introducing WMMA was making sure that the existing FP32 path didn't regress.
I added a dedicated seven-workload FP32 non-regression comparison against the previous main revision:
All seven workloads stayed within the ±2% performance band, and the logits were bit-identical in every recorded round.
The worst paired performance ratio was 1.0007.
This is particularly important to me: I don't want acceleration features to silently make the existing default execution path worse.
The new v0.2.0 GitHub Release includes a prebuilt Windows x64 portable package with the CLI, desktop GUI, Vulkan companion executables, runtime assets, and build metadata.
You don't need to install Rust or Python just to run the released package. You do need Windows 11 x64 and a Vulkan 1.x compute driver for GPU operations.
Model weights are downloaded separately or supplied through a local model directory.
After extracting the archive, you can run:
.\bin\hierarchos-native-cli.exe doctor
.\bin\hierarchos-native-cli.exe devices
.\bin\hierarchos-native-cli.exe precision-infoThe final command is especially useful for checking which precision capabilities your GPU actually exposes.
Download: https://github.com/necat101/Hierarchos-Native/releases/tag/v0.2.0
There is still a lot I'd like to improve.
In particular, I want to investigate reducing WMMA conversion overhead, improving activation and gradient reuse, finding more workloads that genuinely benefit from cooperative matrices, and expanding the range of qualified multimodal architectures.
I'd also like to continue improving the FP32 kernels rather than treating lower precision as the only route to better performance.
If you're interested in Rust, Vulkan compute, AMD GPU optimization, native LLM training, or multimodal model execution, I'd genuinely appreciate people taking a look.
Feedback from people with different Vulkan devices is especially valuable. Please include your GPU, driver, model geometry, and relevant execution counters when reporting results.
Repository: https://github.com/necat101/Hierarchos-Native
Stars, issue reports, testing feedback, and contributions are all appreciated. There is also a voluntary developer-support link in the repository README for anyone interested in helping the project continue.
r/AIProgrammingHardware • u/javaeeeee • 18d ago
r/AIProgrammingHardware • u/Strict-Elevator9352 • 18d ago
inferzero is an inference engine written from scratch for Intel Arc: C++ on Level Zero, kernels in OpenCL C, on Windows and Linux.
* What it runs: GGUF files as they are.
* What it serves: an OpenAI-, Anthropic- and Ollama-compatible API with a web UI.
* What it needs: nothing else installed (no Python, no oneAPI, no compiler).
On Arc B-series cards it has a fast prompt path of its own:
* Hadamard-int8 GEMMs and flash attention, both on XMX;
* decoded weights kept in VRAM;
* tensor parallel over several cards (`--gpus N`).
Every model is checked against an independent f32 CPU reference (next-token KL ≤ 0.015), and the logits are bit-identical run after run.
Best numbers per card (prompt / generation in tok/s; all but the 125H are users’ runs)
1× Arc Pro B70 (Linux)
* Qwen3.8 27B IQ3_S: 4K prompt 2,694, generation 35.2, 70.6 with MTP.
1× Arc Pro B60
* Qwen3.6 35B-A3B: 4K prompt 3,536, generation 82.4, 111.9 with MTP.
* Qwen3.8 27B: 4K prompt 1,522, generation 22.7, 51.6 with MTP.
Several B60s, one model split over them
* Qwen3.6 35B-A3B over 4: 4K 4,264, 64K 2,152, 131K 1,267, 262K 700.
* Qwen3.8 27B over 2 / 3 / 4: prompt 1,597 / 1,724 / 1,888, generation 37.8 / 43 / 53.
* After a 131K prompt over 4, it still generates 32 tok/s.
* Qwen3.8 Flash Next (52 GB of experts): 4K prompt 665 / 1,202 / 1,491 over 1 / 2 / 4. Generation 34.4 over 2, against 5.7 on one card.
* Two B60s on Linux add their sums straight from GPU to GPU: 1,630 tok/s, against 1,442 through host memory.
DeepSeek-V4.1-Flash (new, experimental; 384 experts), 4× B60 with 1 TB of RAM:
* ISTA’s IQ2_XS:
* generation 10.3 / 18.0 / 16.6 / 17.6 over 1 / 2 / 3 / 4 cards;
* 512-token prompt 227 over 4.
* Unsloth’s UD-Q8_K_XL: prompt 109, generation 7.6 over 3.
* Each card holds its share of the experts; the rest stay in RAM, one copy for every card.
* Being tested now: KL against llama.cpp, Q8 over 4 cards, and the size of the RAM tier.
Laptop iGPUs
Core Ultra X7 358H (Panther Lake, Arc B390, Xe3; the first Xe3 runs, not tuned yet)
* Qwen3.8 27B IQ3_S: 4K prompt 310 tok/s, 8K 303.
* With the NPU computing part of each prompt chunk next to the GPU: 4K 338 (+9 %), 8K 313. The KL against the GPU alone is 0.0022.
* A 27B fine-tune in Q3_K_M: a 10K prompt at 245-255 tok/s, against 170 for llama.cpp’s Vulkan back end.
* These are still on the generic XMX path. The discrete cards’ fast path (H8, wide tiles, flash attention) is being tested on it now, so these numbers should rise.
Core Ultra 9 285H (Arc 140T, XMX)
* Qwen3.8 27B: 4K prompt 357, generation 6.0, 16.9 with MTP + DFlash2.
* Qwen3.8 Flash Next: generation 26 with DFlash2.
Core Ultra 5 125H (Arc iGPU, no XMX, 32 GB of RAM; the engine was built on it). Prompts are 8K tokens; MoE experts are streamed from the SSD.
|Model|8K prompt|Generation|With drafting|
|:-|:-|:-|:-|
|Qwen3.6 35B-A3B|851|21.6|38.1 (MTP + DFlash2)|
|Qwen3.8 Flash Next (52 GB of experts)|205|6.3|7.6|
|Qwen3.8 27B|135|5.1|12.9|
|Gemma 4 26B-A4B|232|19.8|–|
|Gemma 4 E4B|707|19.1|41.8|
|Qwen3.5 9B|487|11.8|21.6|
|Qwen3.5 4B|896|21.0|35.8|
Against llama.cpp on the same 125H and the same files:
* Qwen3.5 4B, 2K prompt: 911 tok/s, against 337 (SYCL) and 242 (Vulkan).
* Qwen3.8 27B, 2K prompt: 113, against 25 and 23.
* A 34K-token code prompt on the 27B: 5.5 minutes to the first token, against 27 and 40.
* Perplexity is equal or lower on every model compared.
Other features
* MoE models larger than VRAM or RAM, their experts streamed from RAM or the SSD.
* MTP and DFlash2 speculative decoding that never changes the text.
* Prompt and session caches.
* Batched slots, which also work over a split model.
* A GPU that hangs fails the request; the server stays up.
Wanted:
* A multi-GPU machine with every card in its own PCIe 5.0 x16 slot at full x16, not bifurcated. That rules out x8/x8 splits and chipset slots; a workstation or server board (Threadripper, Xeon, EPYC) has the lanes for it.
* Split models add their partial sums over the PCIe links every layer, so the link sets the pace.
* All our multi-card runs so far are on slower links:
* 4× B60 on Windows: no peer access, so the sums go through host memory;
* 2× B60 on Linux: PCIe 4.0 x8 each, the sums straight from GPU to GPU;
* one card in an x4 slot: there two cards run at half the speed of one.
* A full-bandwidth PCIe 5.0 machine would show what the split model really reaches. Linux with GPU-to-GPU sums is best, and Windows is welcome too.
* Also wanted: B580s, more B70s, and Lunar Lake / Panther Lake laptops. The B390 above is one user’s machine so far.
* All tuning beyond the 125H comes from users’ runs, collected in issue rizagp/inferzero#4. The goal is a 3,000 tok/s 4K prompt for the 27B on one B70.
* Owners of several cards with lots of RAM: DeepSeek runs are very welcome.
Get it: https://github.com/rizagp/inferzero/releases/latest . On Windows, run `zero-launcher.cmd`. On Linux, unpack the tar.gz and run ./zero-launcher.sh.
r/AIProgrammingHardware • u/AnabolicGoblin • 18d ago
I’ve been offloading some of my work to AI to help speed things up at work. I use Claude Ultra but ai’m running out of weekly tokens mid week.
I want to build a PC that’ll help me continue working without having to wait for my credits to reset.
I work with a lot of 2D motions graphics and 3D modeling and animation. Not games related, mostly product related and sometimes jewelry related (building 3D models from my sketches). Would also like to experiment with image and video models.
What would be appropriate specs for my use case?
r/AIProgrammingHardware • u/globecsysinc • 19d ago
r/AIProgrammingHardware • u/ePerformante • 21d ago
I want to build a rig for medium-scale RL and distillation on small models (4 to 9 billion parameters), and I am considering the following:
• Framework Desktop Mainboard (AMD Ryzen™ AI Max 300 Series)
• Broadcom PEX88048-based switch
• 4x RX 9070 XT
• 2x 1200W PSUs
Now, you may be wondering why someone would choose four RX 9070 XTs over two RX 9700 Pros. The simple answer is TFLOPS. Four RX 9070 XTs would theoretically give me double the TFLOPS for fine-tuning and LoRA training compared to two RX 9700 Pros.
I am not overly concerned about the bottleneck between the GPUs and the Strix, because I do not intend to run models across them. The GPUs are there purely for training, and the Strix is there to generate more training data.
Is there anything I might be overlooking? What case and cooling should I look into? Is there a different configuration that would be better for my use case?
r/AIProgrammingHardware • u/guessitsleo • 21d ago
r/AIProgrammingHardware • u/ihateyou103 • 22d ago
I want to run magenta on iris xe gpu. I am running into alot of issues regarding Jax and other things. Also I couldn't get the gpu to do any calculations. Using opencl I got matrix multiplication 4000×4000 in 0.8 seconds slower than cpu at 0.3
How can I get matrices and neural networks running on this gpu and how to run magenta?
r/AIProgrammingHardware • u/mikebmx1 • 22d ago
r/AIProgrammingHardware • u/javaeeeee • 23d ago
r/AIProgrammingHardware • u/javaeeeee • 23d ago
r/AIProgrammingHardware • u/skhadloya11 • 23d ago
r/AIProgrammingHardware • u/Ok_Bird4483 • 23d ago
Mean steady-state s/step (steps 4–20 of 20), heat-soaked runs. Ratios above 1 mean the 3090 is faster.
| Workflow (row) | 3090 unlocked | 3090 stock | ASUS RTX Spark | M5 Max | Unlock speedup | Unl. vs Spark | Stock vs Spark | Unl. vs Mac | Stock vs Mac |
|---|---|---|---|---|---|---|---|---|---|
| t2v 832×480 | 5.67 | 7.58 | 13.27 | 37.23 | 1.34x | 2.34x | 1.75x | 6.57x | 4.91x |
| t2v 1088×608 | 12.13 | 16.90 | 25.76 | 75.29 | 1.39x | 2.12x | 1.52x | 6.21x | 4.46x |
| i2v 1088×608 | 13.16 | 18.38 | 27.98 | 81.32 | 1.40x | 2.13x | 1.52x | 6.18x | 4.42x |
| i2v 608×1088 (portrait) | 13.18 | 18.39 | 27.87 | 82.12 | 1.40x | 2.11x | 1.52x | 6.23x | 4.47x |
| flf2v 1088×608 | 14.24 | 19.99 | 29.95 | 88.91 | 1.40x | 2.10x | 1.50x | 6.24x | 4.45x |
| ref2va 1088×608, full reference | 42.99 | 63.85 | 79.71 | failed* | 1.49x | 1.85x | 1.25x | — | — |
| ref2va 1088×608, ref downscaled to 544 | 18.77 | 26.70 | 38.32 | 92.65 | 1.42x | 2.04x | 1.44x | 4.94x | 3.47x |
| ref2va 1088×608, ref truncated to 39 frames | 23.55 | 33.95 | 46.68 | 123.94 | 1.44x | 1.98x | 1.37x | 5.26x | 3.65x |
| i2v 832×480 | 6.13 | 8.20 | 15.06 | 39.53 | 1.34x | 2.46x | 1.84x | 6.45x | 4.82x |
| flf2v 832×480 | 6.58 | 8.86 | 16.09 | 42.29 | 1.35x | 2.44x | 1.82x | 6.43x | 4.77x |
| ref2va 832×480 | 28.66 | 41.60 | 59.34 | failed* | 1.45x | 2.07x | 1.43x | — | — |
* On the Mac, both ref2va rows with the full-size reference clip produced flat-black video, so they have no valid result. The reference clip is encoded at full 1088×608 even on the 832×480 canvas, so both runs exceed the ~34k-token limit where outputs go black on MPS (see the Mac notes).
The Mac's ref2va 832×480 row failed the same way as the full-reference 1088 row (marked *).
| Workflow | 3090 unlocked | 3090 stock | Spark | M5 Max |
|---|---|---|---|---|
| t2v 832×480 | 124 | 167 | 282 | 794 |
| t2v 1088×608 | 259 | 361 | 540 | 1575 |
| i2v 1088×608 | 279 | 390 | 584 | 1696 |
| i2v portrait | 279 | 391 | 581 | 1711 |
| flf2v 1088×608 | 301 | 422 | 624 | 1851 |
| ref2va full ref | 876 | 1300 | 1620 | — |
| ref2va ref544 | 391 | 557 | 791 | 1988 |
| ref2va rf39 | 487 | 702 | 959 | 2642 |
| Row | 3090 unl. | 3090 stock | Spark | M5 Max |
|---|---|---|---|---|
| Mean GPU power, t2v 1088 | 345 W | 335 W | 66 W | 22 W |
| GPU energy per step, t2v 832 | ~1.9 kJ | ~2.4 kJ | ~0.85 kJ | ~0.87 kJ |
| GPU energy per step, t2v 1088 | ~4.2 kJ | ~5.7 kJ | ~1.7 kJ | ~1.7 kJ |
| GPU energy per step, i2v 1088 | ~4.5 kJ | ~6.2 kJ | ~1.8 kJ | ~1.8 kJ |
Energy = mean GPU power × s/step. The power numbers come from each platform's own tool: nvidia-smi board power on the 3090, NVIDIA telemetry on the Spark, and macOS GPU power on the Mac. Host/system power isn't included; the Mac's whole-system power was about 73 W on these rows. Two other things stand out:
sw_power_cap throttling for the whole run, at about 2.2–2.3 GHz SM (the rated maximum is 3.0 GHz), drawing 63–69 W.The Spark's "GPU W" is nvidia-smi power.draw, sampled once a second. NVIDIA doesn't document whether on the N1X it covers only the GPU or more of the SoC, and power.limit reads N/A on this chip, so treat it as approximate. No wall or whole-system power was recorded on the Spark.
On the Mac, the harness ran macmon 0.10.0 in macmon pipe mode (no sudo), which samples once a second. "GPU W" is macmon's gpu_power and "Sys W" is its sys_power, both averaged over the busy samples of each run. Both are read from Apple's on-chip energy counters, the same source powermetrics uses, so "Sys W" is the SoC/system reading, not power measured at the wall.
| GPU | NVIDIA GeForce RTX 3090 Founders Edition, GA102, 24 GB GDDR6X, 350 W power limit (stock, not changed), VBIOS 94.02.4b.00.0b |
|---|---|
| Host | Minisforum EliteMini mini-PC, AMD Ryzen 9 8945HS (8C/16T, Radeon 780M iGPU), 64 GB DDR5-5600 |
| GPU link | PCIe x4 OCuLink (the card is capable of Gen4 x16; the host link is x4). This matters, because model weights stream over it. |
| OS / driver | Windows 11 Pro (build 26300), NVIDIA driver 591.86 |
| Software | Python 3.13, PyTorch 2.14.1+cu130 (CUDA 13.0), ComfyUI 0.43.2 at commit 423cbd2, attention = PyTorch SDPA |
| ComfyUI flags | none (the default dynamic VRAM management, the same as the Spark) |
The GPU is connected via OCuLink to a DEG1 Minisforum eGPU dock. The GPU is powered by a Montech Titan PLA 1200W power supply (complete overkill).
The full model set is about 63 GB on disk: a 21 GB int8 diffusion model, a 15.7 GB text encoder and VAEs. That doesn't fit in 24 GB, so ComfyUI's dynamic VRAM management offloads automatically. Peak VRAM was 23.1–23.4 GB and peak system RAM 17–24 GB on every row. No row needed --lowvram or any other memory-saving flag.
| Laptop | ASUS ProArt P16 (model H7607BA, BIOS H7607BA.303), 16" 3840×2400 display |
|---|---|
| SoC | NVIDIA RTX Spark N1X: 6144-core Blackwell RTX GPU (max 3.0 GHz SM) and a 20-core Arm CPU (10× Cortex-X925 + 10× Cortex-A725, up to 4.0 GHz), plus an NPU |
| Memory | 128 GB LPDDR5X-9400 unified memory (Micron), 256-bit bus, about 300 GB/s theoretical peak (NVIDIA's figure; not measured here), split in the NVIDIA app: 64 GB GPU carveout and 64 GB for Windows |
| Power mode | AC power, ASUS "Performance" mode, Windows power mode "Best performance" |
| OS / driver | Windows 11 Pro on Arm, 26H1 (build 28000), NVIDIA driver 617.69 |
| Software | Python 3.13.12 (ARM64), PyTorch 2.15.0 nightly (dev20260902+cu134, CUDA 13.4), ComfyUI 0.43.2 at the same commit 423cbd2, attention = PyTorch SDPA |
| ComfyUI flags | none |
| Conditions | Lid open, no external display, brightness 50%, on a hard flat surface; browsers, LLM servers and the Comfy Desktop app closed for every timed run |
The carveout: 64 GB was chosen before the timed runs. Flags: a quick flag sweep on t2v 832×480 (--highvram, --gpu-only, --disable-dynamic-vram, --fast and others) found nothing more than 3% faster than no flags, so the Spark also ran with none.
Peak GPU memory on the Spark was 41–48 GB, so everything stayed resident and nothing was offloaded.
| Machine | 14-inch MacBook Pro (Mac17,7), on AC power, on a laptop stand |
|---|---|
| SoC | Apple M5 Max: 18-core CPU (6 Super + 12 Performance cores), 40-core GPU, 128 GB unified memory |
| Memory bandwidth | 614 GB/s theoretical peak (Apple's figure for the 40-core-GPU M5 Max; not measured here) |
| OS | macOS 27.0.1, Energy Mode Automatic |
| Software | Python 3.13.12, PyTorch 2.12.1 (MPS), ComfyUI 0.37.2 at commit 830232b (a different commit from the other two, see below), ComfyUI-AppleSilicon-FP8 ("ASFP8") 1.4.0, the author's MLX attention bridge for H3, and MacFanBoost (fans held at about 7,830 rpm, the maximum, during sampling) |
| ComfyUI flags | none (beyond input/output/model paths) |
| Conditions | Models on the internal SSD; browsers and other GPU apps closed during timed runs |
| Thermals | The 14-inch chassis is heat-limited even with the fans at maximum. During the heat-soaked runs the GPU averaged about 820–910 MHz against a peak of about 1,620 MHz, at 78–79 °C. The adapter input is capped at about 97 W. |
| Seeds | A fresh ComfyUI per row, a warm-up on seed 1001 (includes model load, not scored), then two heat-soaked timed runs on seeds 1002/1003, the same timed seeds as the other machines. The portrait row has a warm-up on 2001 and one scored run on 2002. The ref544 and rf39 rows are single 20-step runs on seed 1001 with no warm-up. |
Why Automatic and not High Power: I measured it. On the reference row (t2v 1088×608, 124 frames), with the fans at maximum on both, High Power averaged 74.74 s/step vs 75.29 on Automatic, 0.7% faster and within run-to-run noise. Once heat-soaked, the GPU settled at the same 78 °C and about 844 MHz either way; the warm-up started cool and briefly ran 4% faster. The battery stayed at 80% on the charger for the whole 78-minute run, because this workload draws only about 70 W in total (about 22 W GPU): on this chassis it is limited by heat, not by power. So High Power buys essentially nothing here once the fans are already at maximum. Under heavier loads it can drain the battery: Notebookcheck reviewed the same configuration as this Mac: the mini-LED 14-inch M5 Max with the 40-core GPU and 128 GB, not the OLED model. It found that "Apple also limits the power input to 97 Watts, even if you use a 140 Watt PSU", and that the battery level dropped by about 10% during a gaming session while plugged in. The battery indicator can stay at 100% while it's happening. In the same review, High Power raised GPU power from 60/32 W to 72/44 W (peak/sustained) over Automatic. In GPU benchmarks it was only about 7% faster (3DMark Steel Nomad 3947 vs 3698), and the fans ran louder. Part of what High Power buys is faster fans (Apple: About Power Modes on your Mac), and these runs already held the fans at maximum with MacFanBoost, which fits the measurement: Automatic plus maximum fans is effectively the best sustainable setting on this chassis. A 16-inch MacBook Pro or a Mac Studio with the same chip has more power and cooling headroom and will likely be faster. Source: Notebookcheck, Apple MacBook Pro 14 M5 Max review.
Fans at maximum made a big difference on the Mac. The harness held the fans at their maximum (about 7,830 rpm) for every sampling run, while the Energy Mode stayed on Automatic. On its own fan curve, macOS runs the fans at only about 5,350 rpm under this load. The GPU reaches 97–98 °C within about 2 minutes, then its clock collapses to 340–530 MHz for minutes at a time. With the fans held at maximum, the GPU stayed at about 78–81 °C and averaged about 820–910 MHz. In early BF16 testing, that alone took t2v 832×480 from 78–84 s/step to about 61 s/step, roughly 1.3x faster. (That comparison is from early testing, not a clean A/B with the final software stack.) Expect the Mac numbers here to be noticeably slower if you leave the fans on macOS's automatic control.
What the Mac stack does:
scaled_dot_product_attention kernel, passing tensors without copies. It exists because ComfyUI's default on MPS, sub-quadratic attention, returns corrupted heads at long sequence lengths (Comfy-Org/ComfyUI#17418).Why the ComfyUI commit differs: the Mac rows were run on ComfyUI Desktop's install, 0.37.2 (830232b). The other two machines ran later on 0.43.2 (423cbd2). Between those versions, the H3 changes are: lower peak memory from releasing embedding temporaries, a VAE offload fix, VAE tile blending, single-image decode, LightVAE support, and plumbing for per-block attention selection (which these model files don't use). None of them changes the diffusion model's per-step math. Measured: a back-to-back A/B on the Mac (t2v 832×480, same stack, cooling and seeds, warm-up + 2 timed runs each) gave 37.38 s/step on 0.37.2, 37.29 on 0.43.2 and 37.76 on 0.44.2, i.e. 33.54 / 33.55 / 33.49 Gcycles/step. That's within run-to-run noise (about ±1.5%), and every output passed the checker, so the version difference doesn't affect the comparison. The flat-black full-reference ref2va failure was retested on ComfyUI 0.44.2 and still happens.
All rows use MiniMax H3, an audio+video model, in ComfyUI with its stock nodes. Every row produces a video with a synchronized audio track. The workflows were identical on all three machines: the same graph files, the same input images and video, the same prompt text and the same model files. The model files were checked by SHA-256 against the Spark's copies.
Common settings for every row:
| Setting | Value |
|---|---|
| Length | 124 frames at 24 fps, about 5.2 s of video plus audio |
| Sampling | 20 steps, res_multistep sampler, simple scheduler, denoise 1.0 |
| Guidance | BasicGuider (a single conditioning pass per step, no CFG) |
| Diffusion model | minimax_h3_fl2va_pruned_int8_convrot (t2v/i2v/flf2v) or minimax_h3_ref2va_pruned_int8_convrot (ref2va). Both are 21.0 GB int8. |
| Text encoder | qwen3vl_32b_minimax_h3_nvfp4_awq (Qwen3-VL 32B, NVFP4 AWQ), 15.7 GB |
| VAEs | minimax_h3_video_vae_fp16 (5.2 GB) and minimax_h3_audio_vae_fp32 (0.6 GB) |
The workflows:
ref2va (reference to video+audio): the prompt plus two reference images and a reference video clip (1088×608, 120 frames at 23.976 fps, with audio), using the separate ref2va model. This is the heaviest workflow, because the reference tokens make the attention context much longer. There are three variants:
Rows: 1088×608 is the main canvas. The 832×480 rows are a lighter check.
The runs for each row:
Differences between the platforms:
On GeForce Ampere cards, NVIDIA runs FP16/BF16 tensor-core math with FP32 accumulation, and TF32, at half the rate of the professional GA102 parts such as the RTX A6000. Deep-learning frameworks use exactly that mode: bf16 inputs with fp32 accumulation. FP16 math with FP16 accumulation is full rate on GeForce, but frameworks rarely use it.
The unlock is my Windows port of the open-source gpu-unlock Linux kernel module. I built it on this PC with Claude Code. On Linux the module runs the unlock sequence from inside the kernel. Windows has no equivalent, and I didn't want to write a kernel driver, so the port runs as a pre-boot UEFI app instead:
C:\RTX3090-FW along with the five GA102 firmware files from NVIDIA's 610.43.03 driver, and then chainloads Windows Boot Manager. If anything fails, it goes straight to Windows.What the app does on each cold boot:
Measured 8192² matmul throughput, best of 5, PyTorch, reduced-precision reductions disabled:
| bf16 | fp16 | tf32 | fp32 (no tensor cores) |
|---|---|---|---|
| Stock | 75.3 | 74.4 | 39.5 |
| Unlocked | 123.6–126.2 | 121.6–122.7 | 67.2 |
| Ratio | 1.65x | 1.64x | 1.70x |
Caveats:
Where to get it: I've handed the port's source to the community Windows GPU UNLOCK project (GPL-2.0), which maintains a packaged Windows UEFI unlock for the 3090 and other Ampere cards. Start there rather than with my build. Both build on Zagitta/gpu-unlock, the original Linux module, and the project also credits rough2515-hub/rtx3080-unlock-public. Credit for the unlock itself belongs to those projects.
Spark notes:
sw_power_cap) at about 65 W for every row, peaking at 74–78 °C. Fresh and heat-soaked runs agreed within 1%, so thermals didn't slow it down.sw_power_cap and its peak draw stayed at about 72 W, so the GPU seems to have its own limit that those sliders don't lift. All other Spark numbers in this post are from the stock "Performance" mode.Mac notes: (takeaway 4 checks out against the Mac's own numbers: the Spark is 2.42x faster on ref544, 2.66x on rf39, 2.81x on t2v 832×480 and 2.91–2.97x on the 1088 rows)
Happy to answer questions.