本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)5.1k · #15119

omh-inference-serving

できること

判断表をもとに提供エンジンと量子化の設定を選び、導入の計画を再現可能な手順にまとめ、エンドポイントの速度を測定します。オープンな言語モデルを自分のハードウェアで動かすエンジニアが対象です。

使う場面

  • ✓オープンな言語モデルを、自分のGPUサーバーで動かしたいとき。
  • ✓プレフィックスキャッシュなどの設定を有効にする価値があるか知りたいとき。
  • ✓モデルのエンドポイントの速度とスループットを測定したいとき。

スキルのリンク

https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-inference-serving/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-inference-serving/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このモデルを、チームのために当社の2つのGPUで提供してください。プレフィックスキャッシュを有効にする価値があるかも教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは判断表から、エンジンと設定を選びます。確認の項目を含む再現可能な導入計画を書き、測定できる比較の準備をします。数値は、実際に観察した実行結果からだけ報告します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Inference Serving

This is an OMH inference-serving workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

Why This Exists

inference-serving exists so serving an LLM runs as one decided, gated, measured process instead of scattered flag folklore: the engine choice is a table, the deployment is an idempotent runbook whose only completion evidence is the observed verification, and the benchmark speaks the standard metric vocabulary.

Do Not Use When

  • A new model generation needs recognition, calibration, routing, and pricing onboarding.
  • The user wants their own machine's model routing or providers configured.
  • The question is whether a coding runtime/executor can run at all.
  • The goal is application or system performance rather than the serving endpoint itself; use ulw-perf.

Examples

Good example:

  • Prompt: Serve Qwen on our two A100s for the team and tell me if prefix caching is worth turning on.
  • Expected behavior: Engine verdict (vLLM, TP as a power of two), quantization check, the k8s or docker runbook with its gates and verification, then the prefix-cache A/B protocol with hit-rate assumptions recorded - numbers only from observed runs.
  • Why: Serving plus a measured tuning question is exactly the decide-deploy-measure process this workflow owns.

Bad example:

  • Prompt: Just tell me the endpoint is fast enough, we already know it works.
  • Expected behavior: Refuse the unmeasured claim; run the benchmark protocol against the stated SLO or report the capacity question as unanswered.
  • Why: A fast-enough claim without a load shape and observed results is the folklore this skill replaces.

Completion Checklist

  • The engine/quantization verdict names the situation-table row it came from and the rejected options.
  • Every runbook step's status is prepared or observed, never assumed, and the port invariant was honored.
  • Benchmark numbers carry metrics, load shape, dataset, SLO, and saved metadata, or are not reported.
  • Anything the workflow started for measurement was stopped, and credentials never appear in artifacts.

Recovery Notes

  • If the hardware truth is unknown, probe it first (GPU inventory, VRAM) instead of assuming the engine.
  • If deployment verification fails, walk the failure ladder (toolkit, shared memory, permissions, token) before editing manifests.
  • If a benchmark misses the verify targets, go to the symptom->flag table and re-measure one change at a time.

When to Use

Use when a model needs to be served - engine and quantization chosen, docker or Kubernetes deployment prepared as a gated runbook, or the endpoint measured with the TTFT/TPOT/ITL/goodput protocol - and the user wants the process, not an ad-hoc command guess.

Strong routing signals: `inference-serving`, `inference serving`, `serve this model`, `serve the model`, `model serving`, `serving endpoint`, `vllm`, `llama.cpp`, `llama cpp`, `serve with vllm`, `deploy vllm`, `vllm deployment`, `serving benchmark`, `benchmark the endpoint`, `prefix caching benchmark`, `gguf quantization`, `which quantization`, `모델 서빙`, `모델 서빙해줘`, `모델 배포해서 서빙`, `서빙 벤치마크`, `vllm 배포`, `vllm 서빙`, `추론 서버 띄워줘`, `모델 띄워줘`

Catalog Metadata

Category: operations Phase: inference-serving Quality tier: observed-command-gated Reasoning demand: light

Quality bar:

  • Decide before deploying: engine from the situation table (vLLM for multi-user NVIDIA APIs, llama.cpp for CPU/Apple Silicon/edge, TensorRT-LLM only with ops budget), quantization to match (AWQ/GPTQ/FP8 vs the GGUF ladder with Q4_K_M default), tensor parallel a power of two.
  • Deploy as the gated runbook: docker's three load-bearing flags (--ipc=host, HF cache mount, HF_TOKEN) or the Kubernetes five-step (secret gate, existing-deployment gate, apply, rollout+readiness verify, summary+smoke); the port invariant touches four places or it did not change the port.
  • Troubleshoot from the symptom table first - slow TTFT to prefix caching/chunked prefill, OOM to gpu-memory-utilization/max-model-len/quantization - before inventing flags.
  • Measure with the protocol: TTFT/TPOT/ITL/E2EL as mean/median/P99, goodput against an explicit SLO, one load shape per run, results saved with metadata; the full contract is omh-inference-serving/references/serving-bench.md.
  • Report observed-only: each runbook step is prepared until its command's exit status and output are seen.

Required inputs:

  • the model id(s) and where
よくある質問

モデルを自分で導入しますか?

導入の計画と確認項目を用意します。実行は別の作業です。

速度の数値は推測ですか?

いいえ。数値は、観察された実行からのみ得られるとスキルに明記されています。

アプリ全体の性能も調整しますか?

いいえ。アプリケーションやシステムの性能は、別の性能用のスキルで扱います。

詳細

作者による元の説明

[omh] Self-hosted LLM serving on GPUs: choose the serving engine and quantization from decision tables, prepare deployment as an idempotent runbook with observed-only verification, and measure the endpoint with the standard TTFT/TPOT/goodput protocol. Use when the user says: inference-serving, inference serving, serve this model, serve the model, model serving, serving endpoint, vllm, llama.cpp.

repo: rlaope/oh-my-hermes

人気

GitHubのスター
5.1k
ランキング
#15119
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル