Ai Inference Deploy 标志

Ai Inference Deploy

组织
intel
ai-inference-deploy

Top-level router for an Intel GPU inference request that has not settled what it wants yet. Use for the bare ask — "deploy qwen", "serve a model on my Arc", "get llama running on my Intel graphics card", "which one do I use, vllm or sglang?", "what do I need to run this model on my GPU?" — where the runtime, the host OS, the install path and the readiness of the machine are all still open. It picks the runtime for a user who has no basis to pick one, translates the catalog's "xpu" skill names into the GPU the user actually has, names the branches this catalog does not cover instead of improvising them, and hands off. Not for a request already settled: a written deployment plan is xpu-deploy-plan, a vLLM launch is vllm-xpu-run, an SGLang launch is sglang-xpu-run, throughput is the bench skills, and a CUDA repo is cuda-to-xpu-migration.

概览

发布者intel
代码仓库skills
技能名称ai-inference-deploy
星标数
31
复刻数
14
附带文件
4
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 intel 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ai Inference Deploy AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/intel/skills/tree/main/skills/ai-inference-deploy
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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/ai-inference-deploy .claude/skills/ai-inference-deploy
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ai Inference Deploy,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ai Inference Deploy。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ai Inference Deploy 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

ai-inference-deploy

The entry point for "deploy a model on an Intel GPU" before anyone has said which runtime, which host, or which install path. It turns that request into a resolved set of inputs and the name of the skill that owns the next step.

This skill routes only. It states no image tag, no serve flag and no environment variable, because those live in the runtime skills and change there. If you find yourself writing a launch command while in this skill, you have gone one stage too far — stop and hand off.

Say "GPU", not "XPU"

Nearly every skill this router hands off to has xpu in its name. XPU is Intel's name for the GPU as a compute device — the same Intel GPU the user is asking about, discrete card or laptop graphics. It is not a separate product, a separate device, or something they need to go and buy.

Users do not type "XPU". They type GPU, graphics card, Arc, or the name on the box or laptop, and a request phrased that way is this catalog's request. So:

  • Recognise "XPU" when a user does say it, but write "GPU" back to them.
  • When handing off, say what the skill does before its name — "the skill that serves models through vLLM, vllm-xpu-run" — so the name is not the first thing they have to decode.
  • Do not make a user learn the term to get an answer. If they ask what XPU means, one sentence: it is the Intel GPU they already have.

Stage 0 — is this catalog the right one at all

The request is aboutDo this
Running or serving a model on an Intel GPU — discrete or integratedContinue to stage 1
An NVIDIA or AMD GPUStop. This catalog is Intel-only; say so and name no Intel skill
A CPU-only workloadStop, and point at the CPU skills — linux-perf, performance-patterns, onetbb-quickstart, mkl-extension-advisor
Training or fine-tuning rather than inferenceStop. This catalog covers inference; do not improvise a training recipe

Stage 1 — which verb

Classify before routing. The verbs are the ones the catalog is already organised by, and each one owns a different set of skills.

The user wantsVerbGo to
A machine prepared from bare metalsetupxpu-system-setup, then stage 5. Done
To know whether it fits, or the best configplanStage 2's query, then model-can-it-fit / model-config-recommend with the queried memory and count. Done
To actually serve or run the modelrunStage 2
A number for how fast it isbenchStage 2's query, then vllm-xpu-bench / sglang-xpu-bench / torch-xpu-bench. Done
To know why it is slowprofiletorch-xpu-profile / vllm-xpu-profile / xpu-profile-unitrace. Done
To move a CUDA repo overmigratecuda-to-xpu-migration (assess) or xpu-port (execute). Done

Only the run verb continues through every stage. plan and bench still take stage 2's query first, because the skills they hand to fall back to a default card when no memory is passed. Everything else is one hand-off and this skill is finished.

Stage 2 — which GPU, then which runtime

Query the card; never assume one. Run scripts/query_gpus.py where the GPU runtime is — on the host, or inside the runtime's container if the host has none. It prints each device's name, memory and class: dgpu, igpu (shares system RAM), or unknown. On unknown, say so and ask; do not guess. A state other than normal means the GPU itself needs attention: report it and stop.

If memory_bytes is null, no tool on this host reported it (common on Windows). Ask the user — on Windows, Task Manager → Performance → GPU shows it — and never fill it from a default.

If the query lists both an igpu and a dgpu, route on the dgpu and pass only its memory and count. Tell the user the integrated GPU is being left out unless they ask for it.

Signaldgpuigpu
GGUF weightsllamacpp-xpu-runllamacpp-xpu-run
Wants an endpoint, nothing else saidvllm-xpu-run (default)openvino-gpu-run (default)
In-process Transformers / Diffuserstorch-xpu-runtorch-xpu-run
Prefix caching or grammar-constrained outputsglang-xpu-runnot supported; offer openvino-gpu-run
Asks for vLLM by namevllm-xpu-runvllm-xpu-run, warning it is unvalidated on integrated graphics

If the choice is genuinely open, or the user asks which to pick, read references/runtime-choice.md before answering. Apply the table rather than handing the decision back: a user who asked which runtime to use is asking for a recommendation, not for a menu. State the pick and the signal behind it, and say plainly that they can override it.

Unknown model id? Run xpu-model-type-detect first: a vision-language or diffusion model routes differently from a text generator, and getting it wrong surfaces as an unexpected keyword argument at load time rather than as a routing error.

Stage 3 — which host OS

HostRoute
LinuxContinue to stage 4
Windowsopenvino-gpu-run — the one runtime here with a native Windows build. Every other path is Linux-only: say so, do not adapt the Linux steps

Stage 4 — which install path

PathRoute
Container (the default, and what every run skill here documents)xpu-container-run owns the device-access flags; the runtime skill owns the rest. Continue to stage 5
Build from sourceOnly llamacpp-xpu-run documents a from-source build, and it builds a container image from an upstream Dockerfile at a pinned tag. For vLLM or SGLang there is no from-source skill here: say so, and offer the container path instead of inventing a build

Do not treat "build from source" as the way to fix a container problem. A failing container is stage 5's question, not a reason to compile.

Stage 5 — is the host ready

Skip when a preflight has already run in this session, or when the user reports a recent clean preflight and asks for nothing further. A host nobody has checked gets one.

StateRoute
Unknown hardwarexpu-discover — what GPUs are present, and is the driver healthy
Hardware known, readiness notxpu-runtime-preflight — the read-only go/no-go
Preflight reports FAILxpu-system-setup. Re-run preflight; do not launch past a FAIL
Preflight fails only its xpu-smi rows, and the query found the GPUNot a blocker: xpu-smi does not enumerate every Intel GPU. Read references/gpu-targets.md

Stage 6 — hand off

Resolve these, then call the skill stage 2 chose, or xpu-deploy-plan (dgpu only) if the user wants the whole chain written down as a plan:

InputIf not given
Model id or local pathAsk. This is the one thing never to guess
RuntimeStage 2's pick
Target GPU, memory, countFrom the query; where it returned null, from the user. Pass them explicitly to model-can-it-fit and xpu-deploy-plan; never rely on their defaults
Context lengthThe runtime skill's own default
ConcurrencyOne, for a first boot

Ask at most three questions in total. Summarize the resolved inputs back to the user before handing off, so a wrong branch is caught before any work starts.

What this skill does NOT cover

Everything downstream of the hand-off. Device flags and container launch — xpu-container-run. Images, serve flags, quantization pairing and out-of-memory recovery — the runtime skill stage 2 chose. Driver, groups and /dev/dri — xpu-runtime-preflight and xpu-system-setup. Memory sizing — model-can-it-fit. The written end-to-end plan, with preflight and fit and rollback in one document — xpu-deploy-plan.

Reporting

Return the branch, not just the destination: the verb, the runtime and why it was picked, the host OS, the install path, the readiness verdict, and the skill being handed to. If a stage stopped, name the stage and what is missing — an honest dead end is the correct output for a branch this catalog does not cover.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Ai Inference Deploy AI 技能有什么作用?

Top-level router for an Intel GPU inference request that has not settled what it wants yet. Use for the bare ask — "deploy qwen", "serve a model on my Arc", "get llama running on my Intel graphics card", "which one do I use, vllm or sglang?", "what do I need to run this model on my GPU?" — where the runtime, the host OS, the install path and the readiness of the machine are all still open. It picks the runtime for a user who has no basis to pick one, translates the catalog's "xpu" skill names into the GPU the user actually has, names the branches this catalog does not cover instead of impro...

为什么在 TypingMind 中使用 Ai Inference Deploy?

因为您只需安装一次,就能搭配任何模型使用。Ai Inference Deploy 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ai Inference Deploy?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/intel/skills/tree/main/skills/ai-inference-deploy。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ai Inference Deploy?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ai Inference Deploy 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ai Inference Deploy 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ai Inference Deploy AI 技能免费吗?

是的。intel 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇