Red HatRyan Malone, Evgenii DushkinTutorial
Local inference and benchmarking with Red Hat AI Inference
Summary
This guide covers deploying a local LLM inference server on RHEL with Red Hat AI Inference containers, requiring x86_64 CPU, NVIDIA or AMD GPUs with at least 8 GB VRAM, and 45 GB storage. Users select a model by GPU VRAM, such as RedHatAI/Qwen3.6-35B-A3B-NVFP4 for a 48 GB L40S GPU, and run vLLM in Podman with flags for GPU access and memory utilization. Benchmarking with GuideLLM simulates 1 to 100 concurrent users across profiles like balanced (1000 prompt, 1000 output tokens), decode-heavy (512, 2048), or prefill-heavy (2048, 128). Model quality is tested via Open WebUI using tasks like prompt engineering to explain LLM behavior and a Python CLI scheduling script for meeting management. The goal is on-premises AI speed and privacy without external API reliance.
Approach / What changed
Deploy a vLLM inference server in a Podman container with Red Hat AI Inference on RHEL, benchmark using GuideLLM with simulated concurrent traffic profiles, and evaluate model quality via Open WebUI with prompt engineering and coding tasks.
Takeaways
Model selection should use about 90% of available GPU VRAM to accommodate weights and KV cache, with recommended models for VRAM sizes from 8 GB to 160 GB.
GuideLLM offers concurrency benchmarking from 1 to 100 users with three traffic profiles: balanced (1000 prompt/1000 output), decode-heavy (512/2048), and prefill-heavy (2048/128).
Open WebUI can evaluate model quality through tasks such as prompt engineering to explain LLM pattern prediction and a Python CLI script that schedules maximum non-overlapping meetings.
FAQ
What are the hardware requirements for local inference with Red Hat AI Inference?
You need RHEL 10.2 on an x86_64 CPU, at least one NVIDIA or AMD GPU with at least 8 GB VRAM, and about 45 GB of free storage for Podman images plus model weights.
How can I benchmark the inference server's performance?
Use GuideLLM from the Red Hat registry to simulate 1 to 100 concurrent users. Choose a profile such as balanced (1000 prompt tokens, 1000 output tokens) and run each stream for up to 3 minutes.
What tasks can I use to evaluate model quality with Open WebUI?
The post suggests a prompt engineering task to explain LLM pattern prediction and a coding task that writes a Python CLI script to schedule maximum non-overlapping meetings.
Source and freshness
- Source
- developers.redhat.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.