Llama-3.2-3B-Instruct-OpenVINO-INT4 (Disruption Series)
This repository contains an optimized OpenVINOβ’ IR version of Meta's Llama-3.2-3B-Instruct, quantized to INT4 precision via NNCF. It is engineered for high-performance, low-latency local inference on Windows-based AI workstations and edge devices.
π Python Inference (Optimum-Intel)
To run this 3B engine locally:
from optimum.intel import OVModelForCausalLM
from transformers import AutoTokenizer
model_id = "CelesteImperia/Llama-3.2-3B-Instruct-OpenVINO-INT4"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = OVModelForCausalLM.from_pretrained(model_id)
prompt = "Analyze the technical advantages of INT4 quantization on Intel hardware."
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
π» For C# / .NET Users (LLamaSharp Implementation)
using LLama.Common;
using LLama;
// 1. Initialize the OpenVINO Model for Llama 3.2
var parameters = new ModelParams("path/to/openvino_model.xml")
{
ContextSize = 4096,
GpuLayerCount = 0 // Optimized for Intel CPU/iGPU/NPU via OpenVINO
};
// 2. Load Weights and Create Context
using var weights = LLamaWeights.LoadFromFile(parameters);
using var context = weights.CreateContext(parameters);
var executor = new StatelessExecutor(weights, parameters);
// 3. Run Inference
var chatHistory = new ChatHistory();
chatHistory.AddMessage(AuthorRole.User, "Analyze the benefits of running Llama 3.2 locally.");
foreach (var text in executor.InferAsync(chatHistory, new InferenceParams { MaxTokens = 256 }))
{
Console.Write(text);
}
ποΈ Technical Forge
- Quantization: INT4 Asymmetric (NNCF)
- Workstation: Dual-GPU (RTX 3090 + RTX A4000)
- Inference Engine: OpenVINOβ’ Runtime 2026.0
Connect with the architect: Abhishek Jaiswal on LinkedIn
β Support the Forge
Maintaining a dual-GPU AI workstation and hosting high-bandwidth models requires significant resources. If our open-source tools power your projects, consider supporting our development:
| Platform | Support Link |
|---|---|
| Global & India | Support via Razorpay |
Scan to support via UPI (India Only):
- Downloads last month
- 4
Model tree for CelesteImperia/Llama-3.2-3B-Instruct-OpenVINO-INT4
Base model
meta-llama/Llama-3.2-3B-Instruct