Implementation of Online normalizer calculation for softmax for learning purpose.
To reproduce:
cmake -B build && cmake --build build && ./build/softmax_bench | python3 plot_bench.py -o bench.png- Implement Softmax + TopK fusion
- Add robust tests (FP numerical analysis)
- Study Pytorch's Softmax.cu
- Tests and
plot_bench.pyare Claude generated.
