# sfFFT: fused tensor-core FFT convolution for NVIDIA GB10 (DGX Spark)

- **ID:** 1314
- **Kind:** code
- **URL:** https://github.com/solidsf-inc/sfFFT
- **Authors:** solidSF lab
- **Venue:** GitHub solidsf-inc/sfFFT, released 8 Oct 2026
- **Published:** 2026
- **Source:** x
- **Language:** en
- **Access:** free
- **Topics:** FFT, tensor cores, GB10, long convolution, Hyena/SSM, kernel performance
- **Added:** 2026-10-08
- **Verified:** 2026-10-08
- **Page:** https://papers.projxon.ai/entries/1314

## Summary

sfFFT is an MIT-licensed fused tensor-core FFT convolution kernel for NVIDIA GB10 (DGX Spark), from the solidSF lab. It computes batched causal long convolutions (the operation at the heart of Hyena, H3, S4/SSM-style layers in convolution mode, and long audio/signal filters) in one kernel launch per batch: the forward FFT, pointwise filter-spectrum multiply, and inverse FFT all run in shared memory, with FFT stages executed as small dense DFT matrix multiplies on fp16 tensor cores with fp32 accumulation (a complex product takes four real MMAs). It uses the four-step/Bailey FFT factorization (N = R0 x R1 (x R2), radices 16/32/64) — the same structure as Monarch matrices and FlashFFTConv — with twiddles computed in registers via __sincosf, real-input/real-output stage pruning, and a filter spectrum precomputed once per channel and fused into the last forward stage. On one GB10 (sm_121, CUDA 13.0), batch 8x768 channels, it records 3.8x to 6.1x end-to-end speedup over the cuFFT pipeline (pad, R2C, pointwise multiply, C2R, slice) for lengths 128 to 8192, using the best measured plan per length and I/O type. ACCURACY CAVEAT (disclosed by the authors): sfFFT trades accuracy for speed — relative L2 error is ~3.3e-4 to 4.7e-4 with fp32 I/O and ~2.4e-3 with bf16 I/O (dominated by bf16 I/O rounding), versus ~3e-7 for the cuFFT fp32 pipeline against an fp64 reference — i.e. roughly 1,000x worse than cuFFT in fp32 and ~8,000x worse in bf16. This is a speed-vs-accuracy tradeoff, not a free speedup; the README states it is not a drop-in replacement for fp32 or fp64 scientific FFT work, and suitability for ML training/inference depends on the application's error tolerance. The repo ships an error-budget selector (--max-error) that benchmarks plans and picks the fastest candidate meeting a target, plus an experimental fp16-accumulation mode (1.11x-1.32x faster, ~0.24% error) and multiple allocator modes (device/managed/mapped/hybrid) for GB10's unified memory. Benchmark scope is GB10 only, lengths 128-8192 (memory max); repo created 2026-10-08, 11 commits. Code: github.com/solidsf-inc/sfFFT (MIT).

## Research notes

- Discovery: solidSF (@solidSF, org account 'foundational lab', ~2.9K followers, verified) X post 2026-10-08 ~3:41 PM ET (741 views, 17 likes), quote-posting Ryan Shea (@ryaneshea, ~30K followers, 2026-10-08 ~12:52 PM ET, ~24K views) on his research draft about exact DFT below n log n (OpenAI Problem #130, T(n) = O(n(log n)^(1-delta)) with delta = 7.3e-5). Context, per the repo README itself: Ryan Shea's draft studies exact-arithmetic asymptotic bounds; sfFFT applies established factored FFT algorithms to finite-precision tensor-core convolution — the speedups are measurements of the GPU implementation, not of Shea's theoretical result. The two are inspiration and implementation, not the same work. Relevance: the user works with GPU kernels (FlashAttention) and training efficiency; a 3.8-6.1x FFT speedup with disclosed accuracy tradeoffs is adjacent to his kernel-performance interests, though FFT is not currently in his LLM stack. Benchmark scope: DGX Spark GB10 only, L = 128..8192 (memory max), batch 8x768 channels.

## Similar entries

- [Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling](https://papers.projxon.ai/entries/1244) (paper, #1244)
- [vime × RL-Kernel × AMD: Bitwise Train–Rollout Consistency on ROCm (RL-Kernel v0.1.0)](https://papers.projxon.ai/entries/1044) (post, #1044)
- [Liger Kernel: Efficient Triton Kernels for LLM Training](https://papers.projxon.ai/entries/567) (paper, #567)
- [One Search, Two Layers: Compiler Controls Inside PyTorch Helion Using NVIDIA CompileIQ](https://papers.projxon.ai/entries/1419) (post, #1419)
- [NVIDIA AVO scores 100% on ARC-AGI-3 public set (announcement)](https://papers.projxon.ai/entries/689) (thread, #689)
- [NVIDIA Nemotron datasets (Hub search hub)](https://papers.projxon.ai/entries/876) (collection, #876)
