Instructions to use replicate/sonic-moe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/sonic-moe 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/sonic-moe", version=1) - Notebooks
- Google Colab
- Kaggle
Download build/torch-cuda/metadata.json from replicate/sonic-moe: direct link, hf CLI and curl.
- Browser
- Download file 209 Bytes
-
https://huggingface.co/replicate/sonic-moe/resolve/main/build/torch-cuda/metadata.json
- Command line
-
hf download hf://replicate/sonic-moe/build/torch-cuda/metadata.json
-
curl -L -o metadata.json https://huggingface.co/replicate/sonic-moe/resolve/main/build/torch-cuda/metadata.json
209 Bytes
| { | |
| "name": "sonic-moe", | |
| "id": "_sonic_moe_cuda_86f75d9", | |
| "version": 1, | |
| "license": "Apache-2.0", | |
| "python-depends": [ | |
| "tvm-ffi", | |
| "nvidia-cutlass-dsl" | |
| ], | |
| "backend": { | |
| "type": "cuda" | |
| } | |
| } |