Logo Openvino Gpu Run

Openvino Gpu Run

Tổ chức
intel
openvino-gpu-run

Serve an LLM on an Intel GPU with OpenVINO Model Server (OVMS) behind an OpenAI-compatible API — /v1/chat/completions and /v1/models. The default serving path for Intel integrated graphics (Core Ultra laptop GPUs that share system RAM), and the one runtime in this catalog with a native Windows build; it also runs on discrete Intel GPUs. Covers picking a model source (pre-converted OpenVINO models, GGUF, or a Hugging Face model that needs conversion), the container launch, pinning the GPU so it does not fall back to the CPU, and checking the output. Not for vLLM (vllm-xpu-run) or in-process PyTorch (torch-xpu-run).

Tổng quan

Nhà phát hànhintel
Kho mãskills
Tên kỹ năngopenvino-gpu-run
Sao
31
Bản fork
14
Tệp đi kèm
1
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ộ.

  • 1 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 Openvino Gpu Run 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/openvino-gpu-run
  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/openvino-gpu-run .claude/skills/openvino-gpu-run
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 Openvino Gpu Run 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 Openvino Gpu Run 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 Openvino Gpu Run 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.

openvino-gpu-run

Serve a model with OpenVINO Model Server on an Intel GPU, then prove it ran on the GPU.

1. Inspect

  • The GPU: run query_gpus.py from ai-inference-deploy for name, memory and class. If only this skill is installed, use clinfo (Linux) or Task Manager → Performance → GPU (Windows), or ask the user. An integrated GPU shares system RAM, so size against the free RAM, not the total. If no memory figure is available, ask; do not assume one.
  • The model: is there a pre-converted copy in the OpenVINO organization on Hugging Face (OpenVINO/<model>-int4-ov and similar)? That is the simplest source — no conversion.

2. Decide the model source

SourceImageExtra arguments
OpenVINO/... model (pre-converted)openvino/model_server:latest-gpunone
GGUF repositoryopenvino/model_server:latest-gpu--gguf_filename <file>.gguf --task text_generation
Plain Hugging Face model (PyTorch weights)Convert with openvino/model_server:latest-py, then serve with latest-gpusee below

latest-py is the image that ships optimum-cli; latest-gpu does not convert. Convert once with --pull, which exports the model into ~/models and exits (no GPU needed for this step):

bash
docker run --user $(id -u):$(id -g) --rm -v ~/models:/models:rw \
  openvino/model_server:latest-py \
  --pull --source_model <model> --model_repository_path /models \
  --task text_generation --weight-format int4 --target_device GPU

Then launch from step 3 with the same --source_model; the server finds the exported copy.

3. Launch

Linux, Docker:

bash
mkdir -p ~/models
docker run --user $(id -u):$(id -g) -d --rm -p 8000:8000 \
  --device /dev/dri --group-add $(stat -c '%g' /dev/dri/render* | head -n1) \
  -v ~/models:/models:rw \
  openvino/model_server:latest-gpu \
  --source_model <model> --model_repository_path /models \
  --target_device GPU --rest_port 8000

Windows, native (no container):

  1. Install the Microsoft Visual C++ Redistributable and the Intel graphics driver.
  2. Download ovms_windows_*_python_on.zip from the model_server releases page and unpack it (tar -xf <zip>).
  3. In every new shell, run ovms\setupvars.bat (cmd) or ovms\setupvars.ps1 (PowerShell).
  4. ovms.exe with the same arguments as above, and --model_repository_path c:\models. The python_on build can convert a plain Hugging Face model itself with --pull.

Always pass --target_device. Without it OVMS picks a device itself and falls back to the CPU when it cannot use the GPU — the server comes up and answers, just not on the GPU. On a host with more than one GPU use GPU.<index>; the startup log lists the indices.

The first run downloads the model into ~/models; later runs reuse it.

4. Verify — HTTP 200 is not enough

bash
curl -s http://localhost:8000/v1/models
curl -s http://localhost:8000/v1/chat/completions -H "Content-Type: application/json" \
  -d '{"model": "<model>", "max_tokens": 30, "temperature": 0,
       "messages": [{"role": "user", "content": "What is the capital of France?"}]}'
docker exec <container> sh -c 'grep -h "^drm-resident" /proc/1/fdinfo/*'

On Windows, check the GPU memory of the ovms process instead (PowerShell):

powershell
$p = (Get-Process ovms).Id
Get-Counter "\GPU Process Memory(pid_${p}_*)\Dedicated Usage", "\GPU Process Memory(pid_${p}_*)\Shared Usage"

Task Manager → Details with the "Dedicated GPU memory" / "Shared GPU memory" columns shows the same.

Done when: /v1/models lists the model, the reply is plausible text (quote it to the user), and the server process holds GPU memory — non-zero drm-resident-* lines (vram on a discrete GPU, system/gtt on integrated), or on Windows a non-zero dedicated or shared GPU memory counter for ovms. The startup log only lists available devices; it does not show where the model loaded.

5. Recover

SignalFix
/v1/models returns "data":[], chat says graph not foundthe server is up but the model is still downloading or loading; poll until the model id is listed, then test
No drm-resident-* linesnot on the GPU: --target_device GPU missing, or /dev/dri / render group not passed
Windows: curl error ... Error code: 60, then Could not infer model taskthe download failed on TLS: a fresh Windows install has not fetched the root certificate yet. Run Invoke-WebRequest https://huggingface.co once (or open it in a browser), then relaunch
Windows: ovms GPU memory stays at zeronot on the GPU: --target_device GPU missing, or the Intel graphics driver is not installed
optimum-cli not found during --pulla plain Hugging Face model was given to latest-gpu; convert with latest-py first
Permission denied on /dev/dri/renderD*the --group-add value must be the render node's group id
Model fails to load: missing tokenizerthe IR model needs tokenizer files; re-export, or use an OpenVINO/... model
Out of memory on an integrated GPUsmaller or int4 model, or cap the KV cache with --cache_size <GB>
Podman: short-name resolution enforceduse the full name, docker.io/openvino/model_server:latest-gpu

Hand off

Unsure which runtime fits → ai-inference-deploy. A CUDA codebase → cuda-to-xpu-migration. No OVMS benchmark skill exists here yet; say so rather than inventing one.

Sources: LLM quickstart, pulling models, pulling with conversion, bare-metal install, parameters.

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 Openvino Gpu Run làm được gì?

Serve an LLM on an Intel GPU with OpenVINO Model Server (OVMS) behind an OpenAI-compatible API — /v1/chat/completions and /v1/models. The default serving path for Intel integrated graphics (Core Ultra laptop GPUs that share system RAM), and the one runtime in this catalog with a native Windows build; it also runs on discrete Intel GPUs. Covers picking a model source (pre-converted OpenVINO models, GGUF, or a Hugging Face model that needs conversion), the container launch, pinning the GPU so it does not fall back to the CPU, and checking the output. Not for vLLM (vllm-xpu-run) or in-process...

Vì sao nên dùng Openvino Gpu Run 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. Openvino Gpu Run 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 Openvino Gpu Run 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/openvino-gpu-run. 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 Openvino Gpu Run?

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 Openvino Gpu Run 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 Openvino Gpu Run 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 Openvino Gpu Run 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 👇