Getting started¶
From nothing to a kernel that is right and at least as fast as
torch.compile, then to one you wrote yourself, in three pages:
- Install: what you need (hipcc, torch, a supported GPU), the tested toolchains, the wheel from PyPI or a build from source, and a clone for the examples and tests.
- Quickstart: hk in vLLM or SGLang in one command; or a
kernel from a template,
hk.checkon it, a kernel written by hand, the four entry points and timing. - Examples: fifteen examples, from a vector add to flash
attention, which GPUs each runs on, and
validate.py.
Which GPUs run what: supported hardware; which hipcc: the toolchain matrix.