Kernels

Run this model with HF Jobs

Run replicate/flashinfer-draft on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/replicate/flashinfer-draft. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/replicate/flashinfer-draft on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use from the
Use from the
Kernels library
# !pip install kernels

from kernels import get_kernel

# a version (or an explicit revision) is required; see the "Files and versions" tab for the available ones
kernel = get_kernel("replicate/flashinfer-draft", version=1)

Starting from September 13, 2026, we will be removing the "model" type repositories of kernels (e.g., kernels-community/flash-attn3). Make sure you're using a latest version of kernels. If you face any disruption, please report them here: https://github.com/huggingface/kernels/issues/new.

This kernel is a work in progress and requires more work to correctly add all of the FlashInfer kernels.

Please see the generate-source.md for instructions on how to generate the source files that are contained in this kernel.

Run gelu_and_mul operation

nix develop -L .#test --command python tests/simple_test.py
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support