Instructions to use SZLHOLDINGS/YARQA-ATTN with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use SZLHOLDINGS/YARQA-ATTN with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("SZLHOLDINGS/YARQA-ATTN") - Notebooks
- Google Colab
- Kaggle
Bind GitHub szl-holdings/YARQA-ATTN@098d19b: KERNEL card (python present, not import-LIVE) + torch-ext/yarqa_attn
621477d verified | # SPDX-FileCopyrightText: 2026 SZL Holdings | |
| # SPDX-License-Identifier: Apache-2.0 | |
| """Load-path honesty. LOCAL_KERNELS must not skip a failed get_kernel.""" | |
| from __future__ import annotations | |
| import os | |
| import pytest | |
| def test_local_kernels_get_kernel_is_required(): | |
| if not os.environ.get("LOCAL_KERNELS"): | |
| pytest.skip( | |
| "LOCAL_KERNELS unset — source-tree or Hub skip path is labeled elsewhere" | |
| ) | |
| kernels = pytest.importorskip("kernels") | |
| kernels.get_kernel( | |
| "SZLHOLDINGS/YARQA-ATTN", | |
| revision="main", | |
| trust_remote_code=True, | |
| ) | |