Instructions to use replicate/gpt-oss-triton-kernels with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/gpt-oss-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("replicate/gpt-oss-triton-kernels", version=1) - Notebooks
- Google Colab
- Kaggle
Update build/torch-rocm/__init__.py
Browse files
build/torch-rocm/__init__.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
# Make sure to add this in the build folder as this won't build if we put that here
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
|
| 6 |
|
| 7 |
# Then, run the following code to build the kernels:
|
| 8 |
# docker run --rm \
|
|
|
|
| 1 |
# Make sure to add this in the build folder as this won't build if we put that here
|
| 2 |
|
| 3 |
+
from . import matmul_ogs, tensor_details, numerics_details, tensor, swiglu, routing
|
| 4 |
|
| 5 |
+
__all__ = ["matmul_ogs" , "tensor_details", "numerics_details", "tensor", "swiglu", "routing"]
|
| 6 |
|
| 7 |
# Then, run the following code to build the kernels:
|
| 8 |
# docker run --rm \
|