Introduction of Llama-4-Scout-17B-16E-Instruct-quantized.w4a16
Model Details of Llama-4-Scout-17B-16E-Instruct-quantized.w4a16
Llama-4-Scout-17B-16E-Instruct-quantized.w4a16
Model Overview
Model Architecture:
Llama4ForConditionalGeneration
Input:
Text / Image
Output:
Text
Model Optimizations:
Activation quantization:
None
Weight quantization:
INT4
Release Date:
04/25/2025
Version:
1.0
Model Developers:
Red Hat (Neural Magic)
Model Optimizations
This model was obtained by quantizing weights of
Llama-4-Scout-17B-16E-Instruct
to INT4 data type.
This optimization reduces the number of bits used to represent weights from 16 to 4, reducing GPU memory requirements by approximately 75%.
Weight quantization also reduces disk size requirements by approximately 75%. The
llm-compressor
library is used for quantization.
Deployment
This model can be deployed efficiently using the
vLLM
backend, as shown in the example below.
from vllm import LLM, SamplingParams
from transformers import AutoTokenizer
model_id = "RedHatAI/Llama-4-Scout-17B-16E-Instruct-quantized.w4a16"
number_gpus = 4
sampling_params = SamplingParams(temperature=0.7, top_p=0.8, max_tokens=256)
tokenizer = AutoTokenizer.from_pretrained(model_id)
prompt = "Give me a short introduction to large language model."
llm = LLM(model=model_id, tensor_parallel_size=number_gpus)
outputs = llm.generate(prompt, sampling_params)
generated_text = outputs[0].outputs[0].text
print(generated_text)
vLLM also supports OpenAI-compatible serving. See the
documentation
for more details.
Evaluation
The model was evaluated on the OpenLLM leaderboard tasks (v1 and v2), long context RULER, multimodal MMMU, and multimodal ChartQA.
All evaluations are obtained through
lm-evaluation-harness
.
Llama-4-Scout-17B-16E-Instruct-quantized.w4a16 huggingface.co is an AI model on huggingface.co that provides Llama-4-Scout-17B-16E-Instruct-quantized.w4a16's model effect (), which can be used instantly with this RedHatAI Llama-4-Scout-17B-16E-Instruct-quantized.w4a16 model. huggingface.co supports a free trial of the Llama-4-Scout-17B-16E-Instruct-quantized.w4a16 model, and also provides paid use of the Llama-4-Scout-17B-16E-Instruct-quantized.w4a16. Support call Llama-4-Scout-17B-16E-Instruct-quantized.w4a16 model through api, including Node.js, Python, http.
Llama-4-Scout-17B-16E-Instruct-quantized.w4a16 huggingface.co is an online trial and call api platform, which integrates Llama-4-Scout-17B-16E-Instruct-quantized.w4a16's modeling effects, including api services, and provides a free online trial of Llama-4-Scout-17B-16E-Instruct-quantized.w4a16, you can try Llama-4-Scout-17B-16E-Instruct-quantized.w4a16 online for free by clicking the link below.
RedHatAI Llama-4-Scout-17B-16E-Instruct-quantized.w4a16 online free url in huggingface.co:
Llama-4-Scout-17B-16E-Instruct-quantized.w4a16 is an open source model from GitHub that offers a free installation service, and any user can find Llama-4-Scout-17B-16E-Instruct-quantized.w4a16 on GitHub to install. At the same time, huggingface.co provides the effect of Llama-4-Scout-17B-16E-Instruct-quantized.w4a16 install, users can directly use Llama-4-Scout-17B-16E-Instruct-quantized.w4a16 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Llama-4-Scout-17B-16E-Instruct-quantized.w4a16 install url in huggingface.co: