Run this model with HF Jobs
Run replicate/aiter-kernels 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/aiter-kernels. 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/aiter-kernels 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/aiter-kernels with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/aiter-kernels 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/aiter-kernels", version=1) - Notebooks
- Google Colab
- Kaggle
File size: 1,089 Bytes
2976eec | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | """Compatibility shim layer for aiter cross-tree dependencies.
The upstream ``aiter/ops/triton/**`` Triton ops import a handful of helpers
from outside the triton subtree:
- ``aiter.dtypes`` / ``aiter.utility.dtypes`` — dtype constants keyed by GPU arch.
- ``aiter.jit.utils.torch_guard.torch_compile_guard`` — torch.compile/torch.library
registration helper.
- ``aiter.utility.triton.triton_metadata_redirect.AOTMetadataContext`` — AOT
metadata-path redirector.
- ``aiter.jit.utils.chip_info.get_gfx`` — GPU arch query.
In a Hub-kernel build we don't ship the rest of upstream aiter — we vendor
just enough here that the Triton ops import cleanly. The runtime hot paths
(the actual Triton kernels) do not rely on these helpers; they're used for
torch.library schema registration, AOT caching, and dtype lookups that we
re-derive from torch / Triton directly.
"""
from . import dtypes
from . import chip_info
from . import torch_guard
from . import triton_metadata_redirect
__all__ = [
"dtypes",
"chip_info",
"torch_guard",
"triton_metadata_redirect",
]
|