Logo Ai Inference Deploy

Ai Inference Deploy

Tổ chức
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.

Tổng quan

Nhà phát hànhintel
Kho mãskills
Tên kỹ năngai-inference-deploy
Sao
31
Bản fork
14
Tệp đi kèm
4
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được intel công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ai Inference Deploy trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/intel/skills/tree/main/skills/ai-inference-deploy
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ai Inference Deploy trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Ai Inference Deploy ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Ai Inference Deploy không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Ai Inference Deploy làm được gì?

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...

Vì sao nên dùng Ai Inference Deploy trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ai Inference Deploy là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ai Inference Deploy trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/intel/skills/tree/main/skills/ai-inference-deploy. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ai Inference Deploy?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Ai Inference Deploy với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ai Inference Deploy với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ai Inference Deploy có miễn phí không?

Có. Kỹ năng này được intel phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇