Skip to content
View waqasm86's full-sized avatar

Block or report waqasm86

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
waqasm86/README.md

Mohammad Waqas

AI Systems Engineer Β· GPU/LLM Inference Β· CUDA Β· Distributed Systems

Building reproducible LLM inference systems for constrained NVIDIA GPU environments.

GitHub LinkedIn llamatelemetry Kaggle


I have built GPU-accelerated LLM inference infrastructure, with a particular interest in making modern AI runtimes work reliably on hardware and environments with real constraints.

My work spans:

  • vLLM and PyTorch inference
  • CUDA runtime compatibility
  • NCCL and multi-GPU execution
  • llama.cpp / GGUF inference
  • GPU and LLM observability
  • Kubernetes / k3s GPU infrastructure
  • C++/CUDA distributed systems
  • OpenTelemetry, Prometheus and Grafana
  • reproducible benchmarking and runtime diagnostics

A recurring theme across my projects is simple:

Can we make sophisticated LLM infrastructure work predictably on the GPU hardware developers actually have?


What I'm Building Now

1. ⚑ kaggle-vllm

Run upstream vLLM reproducibly on Kaggle's dual NVIDIA Tesla T4 GPUs.

Repository Python CUDA GPU Architecture vLLM

kaggle-vllm is a lightweight compatibility and runtime-delivery toolkit for running upstream vLLM inside Kaggle notebooks without replacing Kaggle's preinstalled CUDA/PyTorch stack.

It tackles a practical problem: vLLM is built primarily for modern production GPU environments, while Kaggle provides a tightly controlled notebook environment with its own Python, PyTorch, CUDA, NCCL and storage constraints.

The project validates and organizes that environment instead of pretending those constraints do not exist.

Current capabilities include:

  • validated upstream vLLM runtime delivery;
  • 2 Γ— NVIDIA Tesla T4 / SM75 execution;
  • CPython/PyTorch/CUDA compatibility checking;
  • checksum-verified native runtime artifacts;
  • safe pip --target runtime staging;
  • NCCL two-rank execution;
  • vLLM tensor parallelism with TP=2;
  • single- and dual-GPU inference benchmarks;
  • Qwen2.5-3B FP16 sharded_state save/reload;
  • OpenAI-compatible vLLM serving;
  • GPU topology and runtime diagnostics;
  • reproducible evidence and benchmark artifacts.
Kaggle Notebook
     β”‚
     β”œβ”€β”€ Python / PyTorch / CUDA compatibility
     β”‚
     β–Ό
kaggle-vllm SDK
     β”‚
     β”œβ”€β”€ validated native vLLM runtime
     β”œβ”€β”€ environment diagnostics
     β”œβ”€β”€ runtime staging
     β”œβ”€β”€ benchmark tooling
     β”‚
     β–Ό
Upstream vLLM
     β”‚
     β”œβ”€β”€ GPU 0 ──┐
     β”‚            β”œβ”€β”€ NCCL / TP=2
     └── GPU 1 β”€β”€β”˜
          β”‚
          β–Ό
     LLM inference
          β”‚
          β”œβ”€β”€ sharded checkpoints
          └── OpenAI-compatible API

Why it matters: inexpensive notebook GPUs can become useful environments for learning about real inference-runtime behaviorβ€”including CUDA compatibility, distributed execution, checkpoint loading and multi-GPU communicationβ€”rather than only high-level model APIs.

➑️ Explore kaggle-vllm


2. 🌐 Edge Computing LLM

Private local LLM inference + Kubernetes-native GPU operations + observability.

Organization Go Kubernetes NVIDIA OpenTelemetry Grafana

Edge Computing LLM explores how the infrastructure patterns normally associated with cloud LLM deployments can be brought to constrained Linux systems and small NVIDIA GPUs.

The project separates the platform into explicit layers instead of building one large application.

flowchart LR
    U[Operator] --> C[edge-cli]

    C --> K[k3s-nvidia-edge]
    C --> O[llm-observability-stack]

    K --> G[NVIDIA GPU Runtime]
    O --> L[Local LLM Runtime]

    G --> T[Telemetry]
    L --> T

    T --> OT[OpenTelemetry]
    OT --> P[Prometheus]
    P --> GR[Grafana]
Loading

Core repositories

Project Responsibility
🧭 edge-cli Go control plane for install, validation, status, logs and safe operations
βš™οΈ k3s-nvidia-edge k3s, containerd, NVIDIA runtime, GPU Operator and device-plugin infrastructure
πŸ“ˆ llm-observability-stack Local inference, OpenTelemetry, Prometheus, Grafana, dashboards and Helm profiles
πŸ”Ž gguf-observability Runtime and model-contract verification for GGUF workloads
πŸ§ͺ edge-llm-tests Cross-project infrastructure and reproducibility validation

The reference environment deliberately includes low-VRAM NVIDIA hardware, CPU fallback, local models and single-node k3s.

This is not an attempt to imitate an unlimited cloud cluster.

It is an exploration of how much of the modern LLMOps stack can remain useful when compute, VRAM and infrastructure are limited.

➑️ Explore Edge Computing LLM


3. πŸ“‘ llamatelemetry

CUDA-first Python SDK for GGUF inference and LLM observability.

Repository Python CUDA llama.cpp GGUF OpenTelemetry

llamatelemetry grew out of a practical problem I encountered while using llama.cpp tooling for CUDA LLM experiments:

inference worked, but organizing models, runtime state, GPU metrics, server processes and benchmark evidence quickly became messy.

The project turns that workflow into a Python SDK.

Python application
       β”‚
       β–Ό
llamatelemetry
       β”‚
       β”œβ”€β”€ InferenceEngine
       β”œβ”€β”€ ServerManager
       β”œβ”€β”€ Model Registry
       β”œβ”€β”€ GGUF metadata
       └── Telemetry
               β”‚
       β”Œβ”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”
       β–Ό                β–Ό
   llama.cpp         NVML / OTEL
       β”‚                β”‚
       β–Ό                β–Ό
 CUDA inference      GPU metrics
       β”‚                β”‚
       β””β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
               β–Ό
        Observable LLM run

It includes:

  • high-level GGUF inference;
  • llama-server lifecycle management;
  • OpenAI-compatible client access;
  • model registry and metadata parsing;
  • quantization helpers;
  • GPU metrics collection;
  • OpenTelemetry instrumentation;
  • Kaggle dual-T4 presets;
  • CUDA/C++ components;
  • notebook-based reproducible workflows.

➑️ Repository · Documentation


Selected Systems Work

Beyond the three main projects, I use smaller repositories to explore individual pieces of the LLM infrastructure stack.

Project Area What I explored
CommGuard GPU communication research Content-agnostic dual-T4 telemetry, NCCL calibration and workload-classification experiments
cuda-nvidia-systems-engg Distributed inference C++20/CUDA inference infrastructure combining TCP, MPI scheduling, storage and benchmarking
cuda-mpi-llama-scheduler Scheduling Multi-rank llama.cpp/GGUF inference scheduling and latency/throughput measurement
cuda-llm-storage-pipeline LLM storage Content-addressed model artifacts, SeaweedFS and inference-run storage pipelines
llcuda Kaggle CUDA CUDA-first experimentation with GGUF/llama.cpp on Kaggle dual T4
Ubuntu-Cuda-Llama.cpp-Executable Runtime distribution Pre-built CUDA-enabled llama.cpp runtime delivery
cuda-openmpi GPU communication CUDA-aware MPI experimentation
local-llama-cuda Local inference llama.cpp/CUDA experimentation on constrained NVIDIA hardware
cursor-llama-mcp-bridge Developer tooling Connecting local llama.cpp inference with MCP-based development workflows
Kaggle-Dropbox-HuggingFace Artifact movement Moving model and experiment artifacts across constrained notebook/storage environments

Engineering Focus

                         LLM INFERENCE
                              β”‚
          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
          β”‚                   β”‚                   β”‚
          β–Ό                   β–Ό                   β–Ό
       PyTorch              GGUF              Serving
        vLLM              llama.cpp          OpenAI APIs
          β”‚                   β”‚                   β”‚
          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                          β”‚
                          β–Ό
                    GPU RUNTIME
                          β”‚
             CUDA Β· NCCL Β· NVML Β· MPI
                          β”‚
                          β–Ό
                SYSTEMS INFRASTRUCTURE
                          β”‚
             Linux Β· k3s Β· Kubernetes
                          β”‚
                          β–Ό
                     OBSERVABILITY
                          β”‚
        OpenTelemetry Β· Prometheus Β· Grafana
                          β”‚
                          β–Ό
             REPRODUCIBLE EXPERIMENTS

I am particularly interested in the boundary between the AI model and the system underneath it:

  • Why does an inference runtime fail on one CUDA environment and work on another?
  • When does tensor parallelism actually help?
  • What does NCCL communication cost on limited GPUs?
  • How should model binaries and checkpoints be distributed reproducibly?
  • What telemetry is necessary to understand an inference failure?
  • How much production-style infrastructure can run on small or inexpensive hardware?
  • How can experiments preserve enough evidence that somebody else can reproduce the result?

Stack

AI / LLM

PyTorch Hugging Face vLLM llama.cpp Kaggle

GPU / Systems

NVIDIA C++ Python Go Linux CMake

CUDA Β· NCCL Β· NVML Β· MPI Β· CMake Β· Ninja Β· TCP/epoll

Infrastructure / Observability

Kubernetes Docker Grafana Prometheus OpenTelemetry

k3s Β· containerd Β· Helm Β· OpenTelemetry Β· Prometheus Β· Grafana


Current Direction

I am currently concentrating my open-source work around three layers:

1. PyTorch LLM inference on constrained GPUs β†’ kaggle-vllm

2. Local / edge LLM infrastructure β†’ Edge-Computing-LLM

3. CUDA-first inference observability β†’ llamatelemetry

Together, these projects explore the same larger problem from different levels:

making GPU inference reproducible, understandable and useful outside large managed GPU clusters.


Connect

I am interested in collaborating on:

  • LLM inference infrastructure
  • vLLM
  • CUDA and NVIDIA GPU systems
  • inference performance engineering
  • distributed inference
  • GPU observability
  • developer tooling for AI infrastructure
  • constrained / edge GPU deployments

GitHub Β· LinkedIn Β· llamatelemetry docs


Build for the hardware you have. Measure what actually happens.

Pinned Loading

  1. llamatelemetry/llamatelemetry llamatelemetry/llamatelemetry Public

    llamatelemetry is a cuda-dedicated llm inference and llm observability tool for local llm model with GGUF format using built-in llama.cpp tool.

    Jupyter Notebook 2 1

  2. cursor-llama-mcp-bridge cursor-llama-mcp-bridge Public

    Python

  3. cuda-nvidia-systems-engg cuda-nvidia-systems-engg Public

    Production-grade C++20/CUDA distributed LLM inference system with TCP networking, MPI scheduling, and content-addressed storage. Features comprehensive benchmarking (p50/p95/p99 latencies), epoll a…

    C++

  4. Edge-Computing-LLM/llm-observability-stack Edge-Computing-LLM/llm-observability-stack Public

    Layer 2: multi-model Ollama/GGUF serving, Open WebUI, OpenTelemetry, metrics, dashboards, and low-VRAM CPU/NVIDIA Helm profiles.

    Jupyter Notebook 1

  5. kaggle-vllm/kaggle-vllm kaggle-vllm/kaggle-vllm Public

    Run upstream vLLM on Kaggle dual NVIDIA Tesla T4 GPUs with a validated CUDA runtime, safe staging, NCCL tensor parallelism, and reproducible compatibility checks.

    Jupyter Notebook