Rust+Vulkan Backend Cross-Vendor Fix: Select Kernels by CPU ISA, Not GPU Vendor

PhysicsDisastrous462 · reddit · 2026-10-08

(Duplicate of an earlier post with the same content.) The author fixed a portability bug in their Rust + Vulkan Transformer backend: reduction shapes tuned for Intel Gen9 were one ulp off on AMD hardware, amplified through the gradient path and failing six PEFT fixtures. Root cause: ATen dispatches vectorized kernels by host ISA; the fix selects those reductions by host CPU capability, with both machines now passing 32/32 under the unchanged 2e-7 gate. See the earlier identical post for the full writeup.

Related event: Rust+Vulkan Inference Backend Fixes Cross-Vendor Portability Bug(2 posts)→

Original post →

More from Infra

Infra channel →