Download vbq/__init__.py from Manprot/MP-01-100M-Chat: direct link, hf CLI and curl.
- Browser
- Download file 420 Bytes
-
https://huggingface.co/Manprot/MP-01-100M-Chat/resolve/main/vbq/__init__.py
- Command line
-
hf download hf://Manprot/MP-01-100M-Chat/vbq/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Manprot/MP-01-100M-Chat/resolve/main/vbq/__init__.py
420 Bytes
| """VBQ: the decoder-only architecture of MP-01, by the Manprot team.""" | |
| import os | |
| # Flash / mem-efficient SDPA kernels on RDNA3 are gated behind this flag in PyTorch's ROCm build. | |
| # They are ~10x faster than the math fallback here, so enable them before torch is imported. | |
| os.environ.setdefault("TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL", "1") | |
| os.environ.setdefault("PYTORCH_HIP_ALLOC_CONF", "expandable_segments:True") | |