Skip to content

Repository files navigation

nvfp4

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 sync

Test locally (blackwell GPU) with:

PYTHONPATH=".:nvfp4_gemv" \
POPCORN_FD=1 \
uv run python eval.py test minimal.txt

Benchmark locally with:

PYTHONPATH=".:nvfp4_gemv" \
POPCORN_FD=1 \
uv run python eval.py benchmark minimal.txt

Interact 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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages