Kernels

Run this model with HF Jobs

Run replicate/megablocks 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/megablocks. 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/megablocks 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.
megablocks / tests

Commit History

  1. feat: support shared experts layer and tests

    drbh
    89e2950

  1. fix: improve expert parallel implementation and refactors

    drbh
    e47036a

  1. feat: add functional version of moe class and layer

    drbh
    dabb815

  1. fix: bump builds

    drbh
    6756875
  2. feat: vendor grouped gemm

    drbh
    3224250

  1. feat: validate build with original test suite

    drbh
    9c4ca75

  1. feat: initial port of megablocks to builder format

    drbh
    2595c46