Skip to content

Conversation

@drbh
Copy link
Collaborator

@drbh drbh commented Feb 9, 2026

This PR adds the ability to generate graphics for benchmarks to show the speedup compared to the torch reference.

usage

kernels benchmark kernels-community/flash-attn2@main --visual benches

note the command also has a --rasterized flag that can be appended to produce png and gif versions of the images

example embed on hub https://huggingface.co/kernels-community/activation

Benchmarks (Dark)

Animation

benches_dark_animation

Latency

benches_dark_latency

Throughput

benches_dark_throughput

Light mode images (click to expand)

Animation

benches_light_animation

Latency

benches_light_latency

Throughput

benches_light_throughput

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants