Run this model with HF Jobs
Run replicate/flash-mla 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-mla. 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-mla 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.
Instructions to use replicate/flash-mla with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/flash-mla with Kernels:
# !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/flash-mla", version=1) - Notebooks
- Google Colab
- Kaggle
Uploaded using `kernel-builder`.
Browse filesFiles changed (10)
- build/torch210-cxx11-cu128-aarch64-linux/_flash_mla_cuda_89d7fc1.abi3.so → build/torch210-cxx11-cu128-aarch64-linux/_flash_mla_cuda_a1027e3.abi3.soRenamed+1-1
- build/torch210-cxx11-cu128-aarch64-linux/_ops.py+3-3
- build/torch210-cxx11-cu130-aarch64-linux/_flash_mla_cuda_89d7fc1.abi3.so → build/torch210-cxx11-cu130-aarch64-linux/_flash_mla_cuda_a1027e3.abi3.soRenamed+2-2
- build/torch210-cxx11-cu130-aarch64-linux/_ops.py+3-3
- build/torch211-cxx11-cu128-aarch64-linux/_flash_mla_cuda_89d7fc1.abi3.so → build/torch211-cxx11-cu128-aarch64-linux/_flash_mla_cuda_a1027e3.abi3.soRenamed+1-1
- build/torch211-cxx11-cu128-aarch64-linux/_ops.py+3-3
- build/torch211-cxx11-cu130-aarch64-linux/_flash_mla_cuda_89d7fc1.abi3.so → build/torch211-cxx11-cu130-aarch64-linux/_flash_mla_cuda_a1027e3.abi3.soRenamed+2-2
- build/torch211-cxx11-cu130-aarch64-linux/_ops.py+3-3
- build/torch29-cxx11-cu129-aarch64-linux/_flash_mla_cuda_89d7fc1.abi3.so → build/torch29-cxx11-cu129-aarch64-linux/_flash_mla_cuda_a1027e3.abi3.soRenamed+1-1
- build/torch29-cxx11-cu129-aarch64-linux/_ops.py+3-3
123version https://git-lfs.github.com/spec/v1oid sha256:50f679700cb2de6e4ed31faec0195d268b829f42fa5aa68b9e095cb6674e42c3size 3671112123version https://git-lfs.github.com/spec/v1oid sha256:cfdfd937b64e1adcd002b2e66bd3d7bc0423ebff2827f3aa8178716044757a57size 3671112
123456789import torchfrom . import _flash_mla_cuda_89d7fc1ops = torch.ops._flash_mla_cuda_89d7fc1def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_flash_mla_cuda_89d7fc1::{op_name}"123456789import torchfrom . import _flash_mla_cuda_a1027e3ops = torch.ops._flash_mla_cuda_a1027e3def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_flash_mla_cuda_a1027e3::{op_name}"
123version https://git-lfs.github.com/spec/v1oid sha256:9cddae191a26874b54292a433f7d1b136f99dfc1549347f8a040b723ac5da98fsize 9445408123version https://git-lfs.github.com/spec/v1oid sha256:5a94bd2f2abb82744b7aeedc60446afe03e8a9a190594fafaaa27697639ebc79size 9447904
123456789import torchfrom . import _flash_mla_cuda_89d7fc1ops = torch.ops._flash_mla_cuda_89d7fc1def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_flash_mla_cuda_89d7fc1::{op_name}"123456789import torchfrom . import _flash_mla_cuda_a1027e3ops = torch.ops._flash_mla_cuda_a1027e3def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_flash_mla_cuda_a1027e3::{op_name}"
123version https://git-lfs.github.com/spec/v1oid sha256:7e4dbe8aa77fe391658f60bddcfaa7b9ffd1ab34a62d870a8fc2db40752faf88size 3667336123version https://git-lfs.github.com/spec/v1oid sha256:afe0f312a71d1aa2c03620df7034b7d919652e1022ad0371a3528f4fe5e00ea3size 3667336
123456789import torchfrom . import _flash_mla_cuda_89d7fc1ops = torch.ops._flash_mla_cuda_89d7fc1def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_flash_mla_cuda_89d7fc1::{op_name}"123456789import torchfrom . import _flash_mla_cuda_a1027e3ops = torch.ops._flash_mla_cuda_a1027e3def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_flash_mla_cuda_a1027e3::{op_name}"
123version https://git-lfs.github.com/spec/v1oid sha256:24e204ec4ae541edbec284824951032598375f8b63c7e06d622543b42f6f339fsize 9441328123version https://git-lfs.github.com/spec/v1oid sha256:977a400c78c515b927476f0c602b312c0238faaa1afc98cdb07c3456080bc67asize 9378280
123456789import torchfrom . import _flash_mla_cuda_89d7fc1ops = torch.ops._flash_mla_cuda_89d7fc1def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_flash_mla_cuda_89d7fc1::{op_name}"123456789import torchfrom . import _flash_mla_cuda_a1027e3ops = torch.ops._flash_mla_cuda_a1027e3def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_flash_mla_cuda_a1027e3::{op_name}"
123version https://git-lfs.github.com/spec/v1oid sha256:18ec10cef6a11ac67f4fe62df9bd02e015a9355c493423c479d22acc80428e99size 9363528123version https://git-lfs.github.com/spec/v1oid sha256:58f7f77ec89cc029ef077d580f7d11ac7dc0668a7f678a6e7786c64f86ea0a86size 9363528
123456789import torchfrom . import _flash_mla_cuda_89d7fc1ops = torch.ops._flash_mla_cuda_89d7fc1def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_flash_mla_cuda_89d7fc1::{op_name}"123456789import torchfrom . import _flash_mla_cuda_a1027e3ops = torch.ops._flash_mla_cuda_a1027e3def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_flash_mla_cuda_a1027e3::{op_name}"
build/torch210-cxx11-cu128-aarch64-linux/_flash_mla_cuda_89d7fc1.abi3.so → build/torch210-cxx11-cu128-aarch64-linux/_flash_mla_cuda_a1027e3.abi3.soRenamed+1-1
build/torch210-cxx11-cu128-aarch64-linux/_ops.py+3-3
build/torch210-cxx11-cu130-aarch64-linux/_flash_mla_cuda_89d7fc1.abi3.so → build/torch210-cxx11-cu130-aarch64-linux/_flash_mla_cuda_a1027e3.abi3.soRenamed+2-2
build/torch210-cxx11-cu130-aarch64-linux/_ops.py+3-3
build/torch211-cxx11-cu128-aarch64-linux/_flash_mla_cuda_89d7fc1.abi3.so → build/torch211-cxx11-cu128-aarch64-linux/_flash_mla_cuda_a1027e3.abi3.soRenamed+1-1
build/torch211-cxx11-cu128-aarch64-linux/_ops.py+3-3
build/torch211-cxx11-cu130-aarch64-linux/_flash_mla_cuda_89d7fc1.abi3.so → build/torch211-cxx11-cu130-aarch64-linux/_flash_mla_cuda_a1027e3.abi3.soRenamed+2-2
build/torch211-cxx11-cu130-aarch64-linux/_ops.py+3-3
build/torch29-cxx11-cu129-aarch64-linux/_flash_mla_cuda_89d7fc1.abi3.so → build/torch29-cxx11-cu129-aarch64-linux/_flash_mla_cuda_a1027e3.abi3.soRenamed+1-1
build/torch29-cxx11-cu129-aarch64-linux/_ops.py+3-3