How to use from the
Use from the
Transformers library
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-Mistral4-fp8-nvfp4", device_map="auto")
Quick Links

Tiny random Mistral4, pre-quantized with a per-layer plan: fp8 (block 16x16) on attention and routed experts, nvfp4 on shared experts. dense_reference.pt holds the bf16 weights before quantization; make.py rebuilds it.

Downloads last month
37
Safetensors
Model size
2.01M params
Tensor type
F32
路
BF16
路
F8_E4M3
路
U8
路
Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support