graphsignal-profiler

Profile production inference workloads via sidecar process without modifying source code.

241|12|Updated Apr 13, 2021
One-click install
npx skills add https://github.com/graphsignal/graphsignal-profiler --skill graphsignal-profiler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graphsignal-profiler
Source: https://github.com/graphsignal/graphsignal-profiler/tree/main
Command: npx skills add https://github.com/graphsignal/graphsignal-profiler --skill graphsignal-profiler

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires xxhash, protobuf, requests, nvidia-ml-py, opentelemetry-proto, grpcio, psutil, prometheus-client, and includes scripts (resource) components.

What problem does it solve?

This Skill addresses the lack of visibility into production inference workloads, helping engineers identify bottlenecks in models, engines, and hardware accelerators like GPUs.

Core Features & Use Cases

  • Inference Tracing: Provides high-resolution timelines for operation durations and LLM generation steps.
  • System Monitoring: Captures hardware-level metrics (CPU, GPU, accelerators) and error monitoring for device failures.
  • Use Case: Use this to profile a vLLM or SGLang deployment to pinpoint latency spikes in token generation or identify underutilized GPU resources.

Quick Start

Run the graphsignal-run command followed by your inference server launch command to automatically instrument your workload.

Frequently Asked Questions about graphsignal-profiler

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I profile LLM inference latency without modifying my application source code?

You can profile LLM inference latency without modifying source code by running the graphsignal-run command followed by your inference server launch command to automatically instrument your workload through a sidecar process.

Does GPU monitoring support major inference frameworks like vLLM and SGLang?

GPU monitoring supports major inference frameworks including vLLM, SGLang, and PyTorch across various hardware accelerators to capture hardware-level metrics and identify underutilized resources.

What is OpenTelemetry tracing for AI inference operations and how does it work?

OpenTelemetry tracing for AI inference records high-resolution timelines for operation durations and LLM generation steps, enabling automated tracing of inference operations to pinpoint latency bottlenecks.

Can I use this to identify underutilized GPU resources during model deployment?

You can identify underutilized GPU resources during model deployment by capturing system-level telemetry and hardware-level metrics for CPUs and GPUs to monitor device utilization and failures.

What is the best way to monitor production inference workloads for performance bottlenecks?

The best way to monitor production inference workloads for bottlenecks is through a sidecar process that observes operations, providing performance profiling and resource utilization metrics without code changes.

Do I need to install specific dependencies to run inference tracing with OpenTelemetry?

Inference tracing with OpenTelemetry requires specific dependencies including opentelemetry-proto, grpcio, nvidia-ml-py, and prometheus-client to capture system-level telemetry and hardware metrics.