deployment

Deploy HF LLM checkpoints as OpenAI-compatible endpoints via vLLM, SGLang, or TRT-LLM.

Updated May 23, 2026
One-click install
npx skills add https://github.com/yo-steven/skills-exploration-20260522 --skill deployment-yo-steven
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deployment
Source: https://github.com/yo-steven/skills-exploration-20260522/tree/main/skills/Model-Optimizer/deployment
Command: npx skills add https://github.com/yo-steven/skills-exploration-20260522 --skill deployment-yo-steven

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the problem of turning a quantized or unquantized LLM checkpoint into a usable OpenAI-compatible inference endpoint without manually figuring out the right serving framework and flags.

Core Features & Use Cases

  • Spin up an inference server: Deploys ModelOpt-exported HF checkpoints as an OpenAI-compatible API using vLLM, SGLang, or TRT-LLM.
  • Auto-detect quantization: Reads hf_quant_config.json (or config.json quantization_config) to choose the correct quantization flag for vLLM/SGLang.
  • Environment-aware operations: Handles GPU detection, tensor parallel sizing, health checks, and optional remote deployment guidance for SLURM and Docker contexts.
  • Use Case: You quantized a model checkpoint with ModelOpt and need to benchmark throughput or integrate it into an app that expects OpenAI-style endpoints.

Quick Start

Start a local vLLM OpenAI-compatible server from your ModelOpt FP8 checkpoint by running: scripts/deploy.sh start --model ./qwen3-0.6b-fp8

Frequently Asked Questions about deployment

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

FAQPage Schema
How do I serve a quantized LLM checkpoint as an OpenAI-compatible API?

To serve a quantized LLM checkpoint as an OpenAI-compatible API, deploy it using vLLM, SGLang, or TRT-LLM. The serving framework automatically reads hf_quant_config.json to apply the correct quantization flags and starts a real-time inference endpoint.

How does tensor parallelism sizing work when deploying vLLM or SGLang servers?

Tensor parallelism sizing for vLLM or SGLang servers is handled automatically by detecting available GPUs in your environment. The deployment workflow validates GPU availability and selects the appropriate tensor parallel size to start the inference server.

Can I deploy unquantized Hugging Face checkpoints with vLLM or TRT-LLM?

Yes, you can deploy unquantized Hugging Face checkpoints with vLLM or TRT-LLM. The deployment workflow supports both unquantized and ModelOpt-exported FP8 checkpoints, reading config.json to determine the correct serving configuration.

What is the best way to benchmark throughput for a ModelOpt quantized LLM?

The best way to benchmark throughput for a ModelOpt quantized LLM is to deploy it as an OpenAI-compatible inference endpoint. By serving the checkpoint via vLLM or SGLang, you can integrate it into apps for real-time generation and throughput testing.

Does the LLM serving deployment workflow support SLURM and Docker environments?

Yes, the LLM serving deployment workflow supports SLURM and Docker environments. It provides environment-aware operations that include optional remote deployment guidance for both SLURM and Docker contexts alongside local GPU detection.

How do I verify that my vLLM or SGLang inference server is running correctly?

You verify your vLLM or SGLang inference server is running correctly by checking the /health and /v1/models endpoints. The deployment workflow automatically performs these health checks after starting the server to ensure endpoint availability.