Solutions to Blackwell NVFP4 Kernel Hackathon (https://luma.com/9n27uem4?tk=UEBaUT). Base code from https://github.com/gpu-mode/reference-kernels/tree/main/problems/nvidia.
Painlessly setup the project:
uv syncTest locally (blackwell GPU) with:
PYTHONPATH=".:nvfp4_gemv" \
POPCORN_FD=1 \
uv run python eval.py test minimal.txtBenchmark locally with:
PYTHONPATH=".:nvfp4_gemv" \
POPCORN_FD=1 \
uv run python eval.py benchmark minimal.txtInteract with python-side code by running debug on debug.py.
Some educational implementations are available in custom.py.
Run tests on custom.py with:
uv run python -m unittest tests/test_custom.py