Run this model with HF Jobs
Run replicate/msa 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/msa. 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/msa 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/msa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/msa 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/msa", version=1) - Notebooks
- Google Colab
- Kaggle
Uploaded using `kernel-builder`.
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041---library_name: kernelslicense: other---
This is the repository card of kernels-community/msa that has been pushed on the Hub. It was built to be used with the [`kernels` library](https://github.com/huggingface/kernels). This card was automatically generated.
## How to use
```python# make sure `kernels` is installed: `pip install -U kernels`from kernels import get_kernel
kernel_module = get_kernel("kernels-community/msa", version=0)sparse_atten_func = kernel_module.sparse_atten_func
sparse_atten_func(...)```
## Available functions- `sparse_atten_func`- `sparse_atten_nvfp4_kv_func`- `sparse_decode_atten_func`- `SparseDecodePagedAttentionWrapper`- `fp4_indexer_block_scores`- `build_k2q_csr`- `SparseK2qCsrBuilderSm100`- `Nvfp4QuantizedTensor`- `quantize_bf16_to_nvfp4_128x4`- `quantize_kv_bf16_to_nvfp4_128x4`- `dequantize_nvfp4_128x4_to_bf16`- `swizzle_nvfp4_scale_to_128x4`- `nvfp4_global_scale_from_amax`
## Benchmarks
No benchmark available yet.
## Source code
Source code of this kernel originally comes from https://github.com/MiniMax-AI/MSA and it was repurposed for compatibility with `kernels`.README.mdAdded+41