Zero-CUDA Rust+Vulkan NCCL alternative hits 111% of NCCL on 64MiB AllReduce, 1.5x PyTorch decode speed
CutGroundbreaking305 · reddit · 2026-12-03
A developer released HC4X, a Rust + Vulkan (ash/WGPU) compute engine with a cross-vendor NCCL-style collective communication layer and a built-in LlamaRunner, targeting the pain of running LLMs on mismatched multi-GPU rigs (NVIDIA+AMD, dGPU+iGPU) without CUDA/ROCm lock-in.
Key features:
- Auto-probes per-GPU compute/VRAM bandwidth and inter-GPU links (true P2P vs pinned host DMA vs staged fallback) with data-integrity checks
- Solves ring/island topology and prunes straggler GPUs from tensor parallelism when they hurt decode latency
- Reclaims pruned GPUs + host RAM as lossless Split-KV attention workers; spills weights across VRAM -> RAM -> disk
Early benchmarks on Kaggle 2x Tesla T4:
- Ring AllReduce beats NCCL at 64 MiB (14.68ms vs 16.30ms, 111%); 75-86% of NCCL on smaller payloads
- Single-GPU FP32 GEMM at 80-83% of cuBLAS, bit-exact agreement
- 2-GPU tensor-parallel GEMM+AllReduce 1.19x faster than PyTorch+NCCL at 16 MiB sync
- Qwen2.5-1.5B F16 decode at 38.6-39.2 tok/s, 1.5x eager PyTorch CUDA, bit-identical tokens
Ships with hc4x run/hc4x serve CLI supporting safetensors and GGUF (Q4KM, Q80) with an OpenAI-compatible API. The author is seeking community testers with heterogeneous GPU setups.
More from Infra
- Nvidia CEO Jensen Huang testifies under oath he did not believe Megaspeed was diverting chips to China — Polymarket · 2026-12-03
- MiniMax M4 runs on Huawei Ascend 950DT at 1,589 tokens/s per chip — kimmonismus · 2026-12-03
- Users joke about donating lava lamps to Cloudflare amid outage woes — FlorianGallwitz · 2026-12-03
- vLLM Semantic Router v0.5 'Ariadne': one decision model for routing, CPUs to GPUs — vllm_project · 2026-12-03
- 25 GitHub Actions runners benchmarked: third-party builds up to 7x cheaper than GitHub — DanielLockyer · 2026-12-03
- Oregon startup Panthalassa to deploy wave-powered floating AI data center in the Pacific — Polymarket · 2026-12-03