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 computing histograms | |
| torch::Tensor histogram(torch::Tensor x, int num_bins); | |
| } // namespace megablocks |