Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

OVMS GPU Memory Allocation Issue - Crashes on model load

オープン
#4,035 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
cpp

調査の方向性

まず、記載されている ovms.exe コマンド、Qwen3-Coder-30B-A3B-Instruct-int4-ov モデル、target_device GPU を使って失敗を再現します。リンクされている 12900HK.txt ログを、報告されている Intel GPU ProgramBuilder エラーおよび USM 割り当てエラーと併せて読み、その後 GPU 実行と CPU 実行を比較します。12900HK iGPU 上で、CPU メモリ使用量が制御不能に増加したりクラッシュしたりすることなくモデルが読み込まれれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

Describe the bug
When attempting to load various models, OVMS has some type of runaway memory issue when attempting to use the GPU. For example attempting to load OpenVINO/Qwen3-Coder-30B-A3B-Instruct-int4-ov with the CPU flag works fine, CPU RAM usage is as expected and model functions correctly. Attempting to use the GPU the GPU RAM is not utilized, CPU RAM appears to fill instead until it far exceeds the model size and the system runs out of RAM crashing OVMS.

To Reproduce
Steps to reproduce the behavior:

  1. Use https://huggingface.co/OpenVINO/Qwen3-Coder-30B-A3B-Instruct-int4-ov
  2. .\ovms.exe --source_model OpenVINO/Qwen3-Coder-30B-A3B-Instruct-int4-ov --model_repository_path models --rest_port 8000 --task text_generation --target_device GPU --metrics_enable --log_level DEBUG
  3. Error: Exception from src\inference\src\dev\plugin.cpp:53:
    Check 'false' failed at src\plugins\intel_gpu\src\plugin\program_builder.cpp:163:
    [GPU] ProgramBuilder build failed!
    [CL ext] Can not allocate 402653184 bytes for USM Device. ptr: 0000000000000000, error: 0

Expected behavior
I would expect the model to be loaded into GPU memory and consume a parity level of memory as running on the CPU.

Logs
12900HK.txt

Configuration

  1. OVMS version: 2026
  2. OVMS config.json file: Default
  3. CPU, accelerator's versions if applicable: Attempting to run on the 12900HK iGPU
Image
  1. Model repository directory structure: Default from HF
  2. Model or publicly available similar model that reproduces the issue: https://huggingface.co/OpenVINO/Qwen3-Coder-30B-A3B-Instruct-int4-ov

Additional context
This is what it looks like in Task Manager

Image

Where as loading the model on the CPU uses a normal amount of RAM and performs as expected

Image

This also occurs with
OpenVINO/Qwen3-Coder-30B-A3B-Instruct-int4-ov
OpenVINO/gpt-oss-20b-int4-ov

主要言語
C++
スター
932
フォーク
278
平均マージ
3日 5時間
マージ済み PR(30日)
70

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openvinotoolkit/model_server のほかの issue

openvinotoolkit/model_server の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。