Instructions to use replicate/megablocks with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/megablocks with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("replicate/megablocks") - Notebooks
- Google Colab
- Kaggle
| namespace megablocks { | |
| // Public interface function for radix sorting with indices | |
| void sort(torch::Tensor x, | |
| int end_bit, | |
| torch::Tensor x_out, | |
| torch::Tensor iota_out); | |
| } // namespace megablocks |