RedHatAI / Llama-3.2-11B-Vision-Instruct-FP8-dynamic

huggingface.co
Total runs: 13.3K
24-hour runs: 0
7-day runs: -82
30-day runs: 11.0K
Model's Last Updated: October 03 2024
text-generation

Introduction of Llama-3.2-11B-Vision-Instruct-FP8-dynamic

Model Details of Llama-3.2-11B-Vision-Instruct-FP8-dynamic

Llama-3.2-11B-Vision-Instruct-FP8-dynamic

Model Overview
  • Model Architecture: Meta-Llama-3.2
    • Input: Text/Image
    • Output: Text
  • Model Optimizations:
    • Weight quantization: FP8
    • Activation quantization: FP8
  • Intended Use Cases: Intended for commercial and research use in multiple languages. Similarly to Llama-3.2-11B-Vision-Instruct , this models is intended for assistant-like chat.
  • Out-of-scope: Use in any manner that violates applicable laws or regulations (including trade compliance laws). Use in languages other than English.
  • Release Date: 9/25/2024
  • Version: 1.0
  • License(s): llama3.2
  • Model Developers: Neural Magic

Quantized version of Llama-3.2-11B-Vision-Instruct .

Model Optimizations

This model was obtained by quantizing the weights and activations of Llama-3.2-11B-Vision-Instruct to FP8 data type, ready for inference with vLLM built from source. This optimization reduces the number of bits per parameter from 16 to 8, reducing the disk size and GPU memory requirements by approximately 50%.

Only the weights and activations of the linear operators within transformers blocks are quantized. Symmetric per-channel quantization is applied, in which a linear scaling per output dimension maps the FP8 representations of the quantized weights and activations. Activations are also quantized on a per-token dynamic basis. LLM Compressor is used for quantization.

Deployment
Use with vLLM

This model can be deployed efficiently using the vLLM backend, as shown in the example below.

from vllm import LLM, SamplingParams
from vllm.assets.image import ImageAsset

# Initialize the LLM
model_name = "neuralmagic/Llama-3.2-11B-Vision-Instruct-FP8-dynamic"
llm = LLM(model=model_name, max_num_seqs=1, enforce_eager=True)

# Load the image
image = ImageAsset("cherry_blossom").pil_image.convert("RGB")

# Create the prompt
question = "If I had to write a haiku for this one, it would be: "
prompt = f"<|image|><|begin_of_text|>{question}"

# Set up sampling parameters
sampling_params = SamplingParams(temperature=0.2, max_tokens=30)

# Generate the response
inputs = {
    "prompt": prompt,
    "multi_modal_data": {
        "image": image
    },
}
outputs = llm.generate(inputs, sampling_params=sampling_params)

# Print the generated text
print(outputs[0].outputs[0].text)

vLLM also supports OpenAI-compatible serving. See the documentation for more details.

vllm serve neuralmagic/Llama-3.2-11B-Vision-Instruct-FP8-dynamic --enforce-eager --max-num-seqs 16
Creation

This model was created by applying LLM Compressor , as presented in the code snipet below.

from transformers import AutoProcessor, MllamaForConditionalGeneration

from llmcompressor.modifiers.quantization import QuantizationModifier
from llmcompressor.transformers import oneshot, wrap_hf_model_class

MODEL_ID = "meta-llama/Llama-3.2-11B-Vision-Instruct"

# Load model.
model_class = wrap_hf_model_class(MllamaForConditionalGeneration)
model = model_class.from_pretrained(MODEL_ID, device_map="auto", torch_dtype="auto")
processor = AutoProcessor.from_pretrained(MODEL_ID)

# Configure the quantization algorithm and scheme.
# In this case, we:
#   * quantize the weights to fp8 with per channel via ptq
#   * quantize the activations to fp8 with dynamic per token
recipe = QuantizationModifier(
    targets="Linear",
    scheme="FP8_DYNAMIC",
    ignore=["re:.*lm_head", "re:multi_modal_projector.*", "re:vision_model.*"],
)

# Apply quantization and save to disk in compressed-tensors format.
SAVE_DIR = MODEL_ID.split("/")[1] + "-FP8-Dynamic"
oneshot(model=model, recipe=recipe, output_dir=SAVE_DIR)
processor.save_pretrained(SAVE_DIR)

# Confirm generations of the quantized model look sane.
print("========== SAMPLE GENERATION ==============")
input_ids = processor(text="Hello my name is", return_tensors="pt").input_ids.to("cuda")
output = model.generate(input_ids, max_new_tokens=20)
print(processor.decode(output[0]))
print("==========================================")
Evaluation

TBD

Reproduction

TBD

Runs of RedHatAI Llama-3.2-11B-Vision-Instruct-FP8-dynamic on huggingface.co

13.3K
Total runs
0
24-hour runs
-7
3-day runs
-82
7-day runs
11.0K
30-day runs

More Information About Llama-3.2-11B-Vision-Instruct-FP8-dynamic huggingface.co Model

More Llama-3.2-11B-Vision-Instruct-FP8-dynamic license Visit here:

https://choosealicense.com/licenses/llama3.2

Llama-3.2-11B-Vision-Instruct-FP8-dynamic huggingface.co

Llama-3.2-11B-Vision-Instruct-FP8-dynamic huggingface.co is an AI model on huggingface.co that provides Llama-3.2-11B-Vision-Instruct-FP8-dynamic's model effect (), which can be used instantly with this RedHatAI Llama-3.2-11B-Vision-Instruct-FP8-dynamic model. huggingface.co supports a free trial of the Llama-3.2-11B-Vision-Instruct-FP8-dynamic model, and also provides paid use of the Llama-3.2-11B-Vision-Instruct-FP8-dynamic. Support call Llama-3.2-11B-Vision-Instruct-FP8-dynamic model through api, including Node.js, Python, http.

Llama-3.2-11B-Vision-Instruct-FP8-dynamic huggingface.co Url

https://huggingface.co/RedHatAI/Llama-3.2-11B-Vision-Instruct-FP8-dynamic

RedHatAI Llama-3.2-11B-Vision-Instruct-FP8-dynamic online free

Llama-3.2-11B-Vision-Instruct-FP8-dynamic huggingface.co is an online trial and call api platform, which integrates Llama-3.2-11B-Vision-Instruct-FP8-dynamic's modeling effects, including api services, and provides a free online trial of Llama-3.2-11B-Vision-Instruct-FP8-dynamic, you can try Llama-3.2-11B-Vision-Instruct-FP8-dynamic online for free by clicking the link below.

RedHatAI Llama-3.2-11B-Vision-Instruct-FP8-dynamic online free url in huggingface.co:

https://huggingface.co/RedHatAI/Llama-3.2-11B-Vision-Instruct-FP8-dynamic

Llama-3.2-11B-Vision-Instruct-FP8-dynamic install

Llama-3.2-11B-Vision-Instruct-FP8-dynamic is an open source model from GitHub that offers a free installation service, and any user can find Llama-3.2-11B-Vision-Instruct-FP8-dynamic on GitHub to install. At the same time, huggingface.co provides the effect of Llama-3.2-11B-Vision-Instruct-FP8-dynamic install, users can directly use Llama-3.2-11B-Vision-Instruct-FP8-dynamic installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Llama-3.2-11B-Vision-Instruct-FP8-dynamic install url in huggingface.co:

https://huggingface.co/RedHatAI/Llama-3.2-11B-Vision-Instruct-FP8-dynamic

Url of Llama-3.2-11B-Vision-Instruct-FP8-dynamic

Llama-3.2-11B-Vision-Instruct-FP8-dynamic huggingface.co Url

Provider of Llama-3.2-11B-Vision-Instruct-FP8-dynamic huggingface.co

RedHatAI
ORGANIZATIONS

Other API from RedHatAI

huggingface.co

Total runs: 26.2K
Run Growth: -15.7K
Growth Rate: -59.90%
Updated:May 18 2026
huggingface.co

Total runs: 20.9K
Run Growth: -11.8K
Growth Rate: -56.48%
Updated:April 29 2026