Instructions to use replicate/moe-new-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/moe-new-models with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("replicate/moe-new-models") - Notebooks
- Google Colab
- Kaggle
Download activation/dispatch_utils.h from replicate/moe-new-models: direct link, hf CLI and curl.
- Browser
- Download file 1.49 kB
-
https://huggingface.co/replicate/moe-new-models/resolve/main/activation/dispatch_utils.h
- Command line
-
hf download hf://replicate/moe-new-models/activation/dispatch_utils.h
-
curl -L -o dispatch_utils.h https://huggingface.co/replicate/moe-new-models/resolve/main/activation/dispatch_utils.h
1.49 kB
| /* | |
| * Adapted from | |
| * https://github.com/pytorch/pytorch/blob/v2.0.1/aten/src/ATen/Dispatch.h | |
| */ | |