Instructions to use Efficient-Large-Model/Sol-Attn-Kernel-Source with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use Efficient-Large-Model/Sol-Attn-Kernel-Source 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("Efficient-Large-Model/Sol-Attn-Kernel-Source", version=1) - Notebooks
- Google Colab
- Kaggle
Download torch-ext/sol_attn/__init__.py from Efficient-Large-Model/Sol-Attn-Kernel-Source: direct link, hf CLI and curl.
- Browser
- Download file 73 Bytes
-
https://huggingface.co/Efficient-Large-Model/Sol-Attn-Kernel-Source/resolve/main/torch-ext/sol_attn/__init__.py
- Command line
-
hf download hf://Efficient-Large-Model/Sol-Attn-Kernel-Source/torch-ext/sol_attn/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Efficient-Large-Model/Sol-Attn-Kernel-Source/resolve/main/torch-ext/sol_attn/__init__.py
73 Bytes
| """Sol-Attn.""" | |
| from .interface import sol_attn | |
| __all__ = ["sol_attn"] | |