Instructions to use replicate/fp8-fbgemm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/fp8-fbgemm 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/fp8-fbgemm", version=1) - Notebooks
- Google Colab
- Kaggle
Download build/torch-cpu/__init__.py from replicate/fp8-fbgemm: direct link, hf CLI and curl.
- Browser
- Download file 84 Bytes
-
https://huggingface.co/replicate/fp8-fbgemm/resolve/main/build/torch-cpu/__init__.py
- Command line
-
hf download hf://replicate/fp8-fbgemm/build/torch-cpu/__init__.py
-
curl -L -o __init__.py https://huggingface.co/replicate/fp8-fbgemm/resolve/main/build/torch-cpu/__init__.py
84 Bytes
| from .quantizer import quantize_fp8_per_row | |
| __all__ = [ | |
| quantize_fp8_per_row | |
| ] | |