Logo vun Xpu Deploy Plan

Xpu Deploy Plan

Organisatioun
intel
xpu-deploy-plan

Plan an end-to-end Intel XPU model deployment by chaining existing skills. Calls xpu-runtime-preflight (readiness), model-can-it-fit (sizing), model-config-recommend (flags), and the selected runtime skill (vllm-xpu-run / sglang-xpu-run / torch-xpu-run), then writes a single PLAN.md with one exact launch command, smoke test, and rollback to .out/skills/xpu-deploy-plan/. Use when the user asks for a coordinated plan (not a direct deploy/serve request) — wants the orchestration across preflight, fit, config, launch, smoke test, and rollback, or asks which skills to run and in what order.

Iwwersiicht

Editeurintel
Repositoryskills
Skill-Nummxpu-deploy-plan
Stären
31
Forks
14
Matgeliwwert Fichieren
1
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum intel op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Xpu Deploy Plan an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/intel/skills/tree/main/skills/xpu-deploy-plan
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/intel/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/xpu-deploy-plan .claude/skills/xpu-deploy-plan
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Xpu Deploy Plan an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Xpu Deploy Plan automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Xpu Deploy Plan net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

xpu-deploy-plan

End-to-end deployment planner for Intel XPU inference. This skill is an orchestrator only: it chains the lower-level skills, captures their outputs, and writes a single PLAN.md for the user. It does not duplicate runtime guidance that lives in the called skills.

Default target: Arc Pro B70 (32 GiB) home-lab host, container-first, OpenAI-compatible HTTP serving through vLLM-XPU, unless the user's request points elsewhere.

Before invoking the plan builder, summarize the resolved inputs back to the user (model, runtime, target XPU, ctx, concurrency, quant) so they can correct anything before files are written. This is courtesy, not a safety gate — the script is read/compute only and writes a markdown plan to .out/skills/xpu-deploy-plan/; it does not pull images, launch containers, claim a GPU, or modify the system.

When to use

Use when the user asks for a plan — wants the orchestration, not just to start a server:

  • "Give me a deployment plan for Qwen2.5-7B on my Arc Pro B70 with vLLM."
  • "Plan an end-to-end deployment of Llama-3.1-8B on my Intel GPU."
  • "Which skills should I run, and in what order, to serve this model?"
  • "I have two/four B70s; give me a launch plan."

Required entry point

Always invoke scripts/build_plan.sh. It is the single supported entry point for this skill. Do not run the chained skills (xpu-runtime-preflight, model-can-it-fit, model-config-recommend, or the runtime launch emitters) by hand and assemble a plan yourself — build_plan.sh already orchestrates them, captures their outputs, and writes the canonical PLAN.md. Hand-rolled equivalents drift from the artifact layout the rest of the toolchain expects and miss the halt logic on a preflight FAIL.

If build_plan.sh fails or a chained skill returns a hard error, report the failure and the routing skill from the preflight SUMMARY.md; do not work around it by running the underlying scripts directly.

Quick start

sh
scripts/build_plan.sh \
    --model Qwen/Qwen2.5-7B-Instruct \
    --runtime vllm \
    --target-gpu 0 \
    --ctx 4096 \
    --concurrency 1 \
    --out-dir .out/skills/xpu-deploy-plan

The script writes:

text
.out/skills/xpu-deploy-plan/PLAN.md
.out/skills/xpu-deploy-plan/inputs.json
.out/skills/xpu-deploy-plan/preflight/        # forwarded from xpu-runtime-preflight
.out/skills/xpu-deploy-plan/fit.txt           # from model-can-it-fit
.out/skills/xpu-deploy-plan/config.txt        # from model-config-recommend (vLLM only)
.out/skills/xpu-deploy-plan/build_plan.log

PLAN.md is the single artifact to show the user. It contains: inputs, readiness summary, fit summary, the exact launch command from the selected runtime skill, a smoke test that verifies XPU usage (not just HTTP 200), the benchmark handoff, and a rollback command.

The output directory .out/skills/xpu-deploy-plan/ is the agent-accessible artifact dir for this skill (matches the .out/ entry in this repo's .gitignore).

Clarify only what changes the launch

If missing, ask at most three questions; otherwise use defaults.

QuestionDefault
Which HF model id or local model path?Required. Do not guess.
Runtime: vLLM / SGLang / PyTorch?vLLM OpenAI API.
Target context and concurrency?4096 ctx, concurrency 1 for first boot.
Quantized weights acceptable?BF16 if it fits; FP8/int4 only if needed.
How many XPUs?Discover host; do not assume.

Chained skills (orchestration only)

The script invokes these skills in order and HALTS on a hard failure:

  1. xpu-runtime-preflight — readiness gate. If FAIL count > 0, the plan stops with the preflight SUMMARY.md as the blocker. Do not attempt launch.
  2. model-can-it-fit — VRAM sizing for the given model, ctx, concurrency, quant, and XPU count.
  3. Runtime selection: vllm (default), sglang, or torch.
  4. model-config-recommend — only for vllm on Arc B-series; emits recommended flags.
  5. Launch command — emitted from the selected runtime skill's launch emitter. For vLLM, this is vllm-xpu-run/scripts/emit_launch.sh, using the top model-config-recommend candidate when available. Image policy, proxy env propagation, multi-GPU oneCCL setup, and OOM recovery live in those skills (vllm-xpu-run, sglang-xpu-run, torch-xpu-run) and the runtime triage skill — they are NOT duplicated here.
  6. Smoke test — /v1/models, one deterministic request, plus docker logs | grep -iE 'xpu|device|cpu fallback' and xpu-smi ps to confirm XPU is actually used.
  7. Benchmark handoff — points at vllm-xpu-bench, sglang-xpu-bench, or torch-xpu-bench.
  8. Rollback — docker stop / docker rm for containers started by the plan. The script never removes unrelated containers or caches.

Runtime decision table

User needRuntimeSkill
OpenAI-compatible chat/completionsvLLM-XPUvllm-xpu-run
Maximum current Intel model coveragevLLM-XPUvllm-xpu-run
Prefix-cache-heavy workloadsSGLang-XPUsglang-xpu-run
Grammar-constrained generationSGLang-XPUsglang-xpu-run
Pure Transformers code pathPyTorch XPUtorch-xpu-run
Diffusion / custom HF pipelinePyTorch XPUtorch-xpu-run
"How much VRAM?"Sizing toolmodel-can-it-fit
"Best vLLM config?"Recommendermodel-config-recommend

Correctness gates

Bringing up the server is not the stopping point. The plan is not "done" until the smoke test in PLAN.md passes and the agent returns the observed response summary to the user:

  • Server exposes the expected model at /v1/models.
  • One small chat/completion request returns non-empty plausible text; quote or summarize the returned content in the final answer.
  • Logs show the expected runtime/device path, not CPU fallback.
  • XPU memory rises by approximately model-size scale.
  • Bench numbers are captured after warmup.

What this skill does NOT cover

  • Driver / /dev/dri / group / Docker readiness — xpu-runtime-preflight.
  • Low-level GPU inventory — xpu-discover.
  • Detailed vLLM / SGLang / PyTorch flags, image choice, multi-GPU oneCCL guidance, and OOM recovery — the selected runtime skill and the runtime triage skill own those.
  • Performance root-cause analysis — bench / profile skills in order: runtime bench, runtime profile, xpu-profile-unitrace.

Reporting

In final answers, report:

  • target host and target GPU id
  • the readiness verdict (PASS / WARN / FAIL counts from preflight)
  • the chosen runtime, image tag, and one-line launch summary
  • the path to PLAN.md for the full plan
  • if FAIL: the blocker and the routing skill from preflight SUMMARY.md

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Xpu Deploy Plan?

Plan an end-to-end Intel XPU model deployment by chaining existing skills. Calls xpu-runtime-preflight (readiness), model-can-it-fit (sizing), model-config-recommend (flags), and the selected runtime skill (vllm-xpu-run / sglang-xpu-run / torch-xpu-run), then writes a single PLAN.md with one exact launch command, smoke test, and rollback to .out/skills/xpu-deploy-plan/. Use when the user asks for a coordinated plan (not a direct deploy/serve request) — wants the orchestration across preflight, fit, config, launch, smoke test, and rollback, or asks which skills to run and in what order.

Firwat Xpu Deploy Plan op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Xpu Deploy Plan besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Xpu Deploy Plan an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/intel/skills/tree/main/skills/xpu-deploy-plan an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Xpu Deploy Plan benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Xpu Deploy Plan benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Xpu Deploy Plan domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Xpu Deploy Plan gratis?

Jo. De Skill gëtt vum intel ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇