Instructions to use kernels-community/triton_kernels with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/triton_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("kernels-community/triton_kernels", version=1) - Notebooks
- Google Colab
- Kaggle
Download tests/test_tensor.py from kernels-community/triton_kernels: direct link, hf CLI and curl.
- Browser
- Download file 55 Bytes
-
https://huggingface.co/kernels-community/triton_kernels/resolve/refs%2Fpr%2F2/tests/test_tensor.py
- Command line
-
hf download hf://kernels-community/triton_kernels@refs/pr/2/tests/test_tensor.py
-
curl -L -o test_tensor.py https://huggingface.co/kernels-community/triton_kernels/resolve/refs%2Fpr%2F2/tests/test_tensor.py
55 Bytes
| # TODO: add tests for non-layout parts of tensor class | |