Red Hat Developer
Read post

Multitenant AI inference with dynamic resource allocation on OpenShift

Running two concurrent Llama 3.1 8B inference services on a single NVIDIA H100 GPU using Kubernetes Dynamic Resource Allocation (DRA) and NVIDIA Multi-Instance GPU (MIG) technology on Red Hat OpenShift 4.21. The guide covers enabling the DRAPartitionableDevices alpha feature gate, installing Node Feature Discovery, NVIDIA GPU Operator, and the NVIDIA DRA driver, then deploying two vLLM model servers via the llm-d framework with Kustomize overlays. MIG partitions the H100 into two 3g.40gb slices (40 GB each), while DRA's shared counter mechanism automatically assigns non-overlapping memory slices to each pod, providing hardware-level isolation. The result is two fully isolated LLM services sharing one GPU, roughly doubling infrastructure efficiency compared to traditional all-or-nothing GPU allocation.

    #kubernetes#openshift#ai-inference
Aug 03•13m read time•From developers.redhat.com
Post cover image
Table of contents
MIG and DRA: Partners in GPU sharingPrerequisitesEnable DRA partitionable devices on your OpenShift clusterOne-time setup: Hugging Face tokenDemo: 2 Llama 3.1 models on 1 H100What's happening behind the scenesThe value: Better resource use, lower costsResources
88 Impressions
Red Hat Developer's image
Red Hat Developer

Rhdev is a blog and resource hub dedicated to Ruby on Rails development, a popular web application f...

378 Followers

•

1.5K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard