Instructions to use kernels-community/megablocks with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/megablocks with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("kernels-community/megablocks") - Notebooks
- Google Colab
- Kaggle
| namespace megablocks { | |
| // Public interface function for constructing indices from padded bins | |
| void indices(torch::Tensor padded_bins, | |
| int block_size, | |
| int output_block_rows, | |
| int output_block_columns, | |
| torch::Tensor out); | |
| } // namespace megablocks |