How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="RedHatAI/Hy3-NVFP4-FP8")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("RedHatAI/Hy3-NVFP4-FP8")
model = AutoModelForCausalLM.from_pretrained("RedHatAI/Hy3-NVFP4-FP8")
messages = [
    {"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

RedHatAI/Hy3-NVFP4-FP8

This is a quantized version of tencent/Hy3 with MoE layers quantized to NVFP4 and attention layers quantized to FP8 block

Usage

This model is intended for deployment with vLLM. You can serve the model using

vllm serve RedHatAI/Hy3-NVFP4-FP8 \
    --tensor-parallel-size 4 \
    --tool-call-parser hy_v3 \
    --enable-auto-tool-choice \
    --reasoning-parser hy_v3 \
    --port 8089

Creation Process

https://github.com/vllm-project/llm-compressor/pull/2928

Evaluation

In progress, currently approximately fully recovery

inspect eval hf/Idavidrein/gpqa/diamond   --model vllm/RedHatAI/Hy3-NVFP4-FP8 --reasoning-effort high --model-base-url http://localhost:8089/v1
Downloads last month
-
Safetensors
Model size
173B params
Tensor type
F32
·
BF16
·
F8_E4M3
·
U8
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for RedHatAI/Hy3-NVFP4-FP8

Base model

tencent/Hy3
Quantized
(58)
this model