GPU Infrastructure and Model Serving

Study GPU Infrastructure and Model Serving with full lessons, revision notes and quick reference, across 29 lessons.

15 modules. 29 lessons. Self-paced.

Roles this course prepares you for

Course curriculum

No exam weights apply. Lessons follow practical prerequisites, from the first request through sizing, serving, measurement, engines, sharing, Kubernetes scheduling, observability, capacity and operations to a bounded challenge, with the GPU track last and optional.

Free to read: 5 lessons, no account needed

Start Here (2 lessons)
  1. How this course works (read now)

    • Describe what the course builds across its three tracks and how the three study views differ.
    • State which outputs are your own runs, which are recorded NVIDIA runs and which are cited vendor output, and why no core check needs a GPU.
  2. Set up the environment and send the first request (read now)

    • Create the practice folders, the pinned Python environment and the llama.cpp install for your platform, and download the Q4_K_M practice file with a size and hash check.
    • Start llama-server, watch /health go from 503 to 200, send one chat request from a second terminal and stop the server.
    • Diagnose a wrong interpreter, a missing binary, a missing or truncated model file and a port in use from their evidence.
Why Inference Runs on GPUs (2 lessons)
  1. Prefill, decode and the bandwidth limit (read now)

    • Explain why prefill is compute-bound and decode is memory-bandwidth-bound.
    • Compute the bandwidth-bound lower limit of a decode step from weight bytes and memory bandwidth.
    • Explain what batching changes and why a sparsity figure overstates throughput.
  2. Read a GPU spec sheet and compare GPU classes (read now)

    • Read memory, bandwidth, tensor throughput with and without sparsity, power, MIG and interconnect from vendor pages.
    • Rank GPUs for a stated model and workload with capacity first.
The NVIDIA Software Stack (2 lessons)
  1. Drivers, CUDA and the compatibility rules (read now)

    • Describe the driver, CUDA runtime and toolkit, libraries, framework builds and the container toolkit as layers.
    • Apply the minimum-driver, minor-version and forward-compatibility rules and the driver branch lifetimes.
    • Classify stack failures from recorded or cited evidence.
  2. See the GPU: nvidia-smi, containers and your own devices

    • Read the nvidia-smi table and its CSV query form, including what utilisation measures.
    • Explain docker run --runtime=nvidia --gpus all and what the container toolkit configures.
    • List the devices llama-server sees on your machine and compare a run with the GPU disabled.

With course access: 24 lessons

Sizing Memory and Concurrency (1 lessons)
  1. Size weights, the KV cache and concurrency

    • Compute weight bytes and KV cache bytes per token from a model card and config.
    • Derive per-sequence and per-batch totals, headroom and the concurrency a GPU holds.
    • Verify the formula against the cache size llama-server logs at -lv 4.
Serving with llama.cpp (2 lessons)
  1. Run and configure llama-server

    • Start llama-server with context, slots, cache types, flash attention, metrics, host, port and API key options.
    • Read /health, /props, /slots, /v1/models and /metrics and send chat and completion requests with and without streaming.
    • Predict what changes when -c and -np change.
  2. Slots and continuous batching

    • Explain slots, the per-slot context split and continuous batching.
    • Measure concurrency 1, 2, 4 and 8 against four slots with the supplied load generator and read requests_processing and requests_deferred.
    • Predict per-request and total throughput before measuring.
Measuring Serving Performance (2 lessons)
  1. Write the load generator

    • Complete the asynchronous load generator: concurrency with a semaphore, TTFT, inter-token latency, tokens per second, p50 and p95, throughput, error counting.
    • Produce the measurement table for your machine.
  2. Read the throughput-latency curve

    • Identify the linear region, saturation and queueing on a measured curve.
    • Separate prefill effects (TTFT with prompt length) from decode effects (inter-token latency with concurrency).
    • Explain chunked prefill, prefix caching and speculative decoding as levers and when each helps.
Quantization for Serving (1 lessons)
  1. Choose and measure quantization

    • Compare Q4_K_M and Q8_0 for memory, speed and a fixed-prompt check.
    • Quantize the KV cache and measure it.
    • Map AWQ, GPTQ, FP8, INT8 and GGUF to the hardware that runs them in vLLM and decide for scenarios.
vLLM (2 lessons)
  1. vLLM's scheduler and memory model

    • Explain continuous batching, PagedAttention blocks, preemption, chunked prefill and prefix caching in vLLM.
    • Compute the KV budget from gpu-memory-utilization and the model, and the sequences it holds.
    • Name the engine arguments that matter and the parallelism strategies.
  2. Run vLLM and read its metrics

    • Start vllm serve with the arguments that matter and read its routes and /metrics.
    • Interpret num_requests_running, num_requests_waiting and kv_cache_usage_perc from a recorded snapshot.
    • Match the Docker flags to their reasons.
The Serving Engine Landscape (2 lessons)
  1. Compare serving engines and choose

    • Place vLLM, SGLang, TensorRT-LLM, llama.cpp, Ollama and TGI on a decision table.
    • Justify an engine for stated scenarios from documented facts.
  2. Triton Inference Server for non-language models

    • Describe the model repository, config.pbtxt and dynamic batching.
    • Write a configuration for a stated model; optionally run the CPU-only container.
Multi-GPU and GPU Sharing (2 lessons)
  1. Decide multi-GPU strategies

    • Explain tensor, pipeline, data and expert parallelism and when each applies.
    • Decide from memory and bandwidth what to do when a model does not fit or throughput must grow.
  2. Share a GPU: time-slicing, MPS and MIG

    • Compare the three sharing modes by memory, fault and performance isolation.
    • Compute MIG instance counts from the profile table and decide for stated tenants.
GPUs on Kubernetes (4 lessons)
  1. Readiness: Docker, kubectl and a kind cluster

    • Confirm Docker, kubectl within one minor version of 1.37 and kind v0.33.0.
    • Create the course cluster with its own kubeconfig, apply a Deployment, read events and delete the cluster.
  2. Schedule GPUs with the device plugin

    • Describe how the device plugin and GPU Operator advertise nvidia.com/gpu.
    • Apply the limits-only, equal-values, integer and no-overcommit rules, labels, selectors, taints and tolerations.
    • Advertise an extended resource by hand in kind and observe the scheduler.
  3. Sharing resources and Dynamic Resource Allocation

    • Explain time-slicing replicas, the .shared rename, MPS through the plugin and MIG-backed resources.
    • Explain DRA's objects and maturity and the NVIDIA DRA driver's status.
  4. Write a GPU serving Deployment

    • Write a Deployment and Service with a GPU limit, shared memory, a model cache, probes that allow for loading and a toleration.
    • Apply it in kind with the CPU server image so that the Pod really serves, and explain why a second replica stays Pending.
Observability (2 lessons)
  1. Engine metrics and a service objective

    • Read Prometheus text from llama-server and vLLM and name the metrics that matter.
    • Write the metrics reader and define a service objective and one alert.
  2. GPU metrics with the DCGM exporter

    • Explain the default DCGM metrics and how the exporter runs.
    • Pair service symptoms with the GPU metric that confirms each.
Capacity, Scaling and Cost (1 lessons)
  1. Plan capacity and cost per million tokens

    • Compute replicas, utilisation, cost per million tokens and idle cost from a workload and a throughput.
    • Compare two GPU options and name the signals that justify scaling.
Operations, Troubleshooting and Security (3 lessons)
  1. Operate: loading, readiness, drain, timeouts and queues

    • Explain loading time, warm-up, readiness against liveness, graceful stop, the server timeout and queue limits.
    • Explain rollout headroom when two models cannot share one GPU.
  2. Diagnose failures from evidence

    • Diagnose ten failure kinds from recorded or cited evidence with the next safe check and the fix.
  3. Secure the endpoint

    • Protect an endpoint with an API key, keep it on the loopback or behind a Service, keep keys out of manifests and images, and check a model's licence and origin.
Final Challenge (1 lessons)
  1. Final challenge: size, serve, measure and cost a service

    • Size, configure, run, measure and cost a service for scenario D02-3 and write its GPU Deployment, within the stated checks.

Study views

  • Full Course
  • Revision
  • Quick Reference

Unlock all 29 lessons

Course access opens every lesson and adds revision notes, the Quick Reference, saved progress, bookmarks and your own notes.

INR 199 plus 18% GST. 90 days of online access. No auto-renewal.

Know what is included

Independent learning material from Vectametric. Not affiliated with or endorsed by the organisations behind the tools it teaches. Practice exams and projects are separate. Completing a course is not a professional certification.

Questions about courses

Are these video courses or reading courses?

The current courses use written lessons, examples and diagrams. Full Course, Revision and Cheat Sheet or Quick Reference views cover the same learning sequence at different levels of detail.

Which course should I start with?

Choose a Certification Course for a named exam, a Career Path Course for a role-led sequence, or a Skill Course for a focused subject. Read its level, prerequisites and curriculum before enrolling.

Do revision notes replace the full lessons?

No. Start with the full explanations, then use revision notes to refresh your understanding. Cheat sheets are concise study references, not a substitute for learning or permission to use notes during an official exam.

Are practice exams and projects included?

No. Course access, practice-exam bundles and project access are separate. An official certification, exam booking or voucher is not included.

How long do I have access?

The course page and checkout show the current online access period and price, including free enrollment where offered. Access starts when enrollment is confirmed and does not auto-renew.

Can I read lessons before enrolling?

Yes. Each course opens its first lessons to read without an account, and some courses are open in full. The course curriculum marks the lessons you can read now. Course access adds the remaining lessons, the Revision and Cheat Sheet or Quick Reference views, saved progress, bookmarks and personal notes.

Review the Terms and No-Refund Policy before confirming access. All sales are final; Vectametric does not offer refunds.

This website is operated by VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED, operating as Vectametric.

Corporate Identity Number (CIN): U85499KA2026OPC229822. GSTIN: 29AAMCV8281D1ZS. Registered office: RS NO/38/2A/1 BASTAND, ROAD MAHANTESH NAGAR, Ramdurg, Ramdurg, Belgaum- 591123, Karnataka.

Queries and grievances: Prajval Honnungar, Grievance Officer and Data Protection Contact.

Telephone: +91 94800 09310. Support: support@vectametric.com. Grievances: support@vectametric.com.

Copyright 2026 VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED. All rights reserved.

Vectametric home · Roadmaps · Vecta IT Exams · Vecta Government Exams · Vecta Banking & Finance Exams · Vecta Entrance Exams · About us · Contact · Privacy Policy · Terms and Conditions · No-Refund Policy