Kernels

Run this model with HF Jobs

Run replicate/flash-attn2 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/flash-attn2. 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/flash-attn2 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.
flash-attn2 / torch-ext /flash_attn

Commit History

  1. fix: refactor bindings and update py library for correctness

    drbh
    876ac68

  1. feat improve readme and library code

    drbh
    d6cc1b0

  1. feat: pass vars into fwd and include build

    drbh
    39b4aba
  2. feat: include source and enable build

    drbh
    a7165c8