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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-inference-serving/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“قدّم هذا النموذج على وحدتي GPU للفريق، وأخبرني هل يستحق تفعيل التخزين المؤقت للبادئة.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يختار وكيلك المحرك والإعدادات من جداول القرار، ويكتب خطة نشر قابلة للتكرار مع فحوص، ويجهز مقارنة مقاسة. ولا يبلغ عن أرقام إلا من عمليات تشغيل رُصدت فعلا.

المحتوى التقني (ملف 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
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة