<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Thema "Intel Arc GPU" in GPU Compute Software</title>
    <link>https://community.intel.com/t5/GPU-Compute-Software/Intel-Arc-GPU/m-p/1749473#M2370</link>
    <description># Intel Arc GPU Stability Guide for AI Workloads [![Ubuntu](&lt;A href="https://img.shields.io/badge/OS-Ubuntu%2026.04%20LTS-E95420)](https://ubuntu.com/" target="_blank"&gt;https://img.shields.io/badge/OS-Ubuntu%2026.04%20LTS-E95420)](https://ubuntu.com/&lt;/A&gt;) [![Kernel](&lt;A href="https://img.shields.io/badge/Kernel-7.0.0--15--generic-blue)](https://kernel.org/" target="_blank"&gt;https://img.shields.io/badge/Kernel-7.0.0--15--generic-blue)](https://kernel.org/&lt;/A&gt;) [![OpenVINO](&lt;A href="https://img.shields.io/badge/OpenVINO-2026.1-00A3E0)](https://docs.openvino.ai/" target="_blank"&gt;https://img.shields.io/badge/OpenVINO-2026.1-00A3E0)](https://docs.openvino.ai/&lt;/A&gt;) [![PyTorch](&lt;A href="https://img.shields.io/badge/PyTorch-2.12+xpu-EE4C2C)](https://pytorch.org/" target="_blank"&gt;https://img.shields.io/badge/PyTorch-2.12+xpu-EE4C2C)](https://pytorch.org/&lt;/A&gt;) &amp;gt; &lt;LI-EMOJI id="lia_warning" title=":warning:"&gt;&lt;/LI-EMOJI&gt; **Disclaimer:** The observations below were made on a specific hardware/software combination running specific models (detailed below). They may **not** represent general Intel Arc GPU behavior or apply to other configurations. Treat these as case study notes, not universal conclusions. **A practical guide to preventing GPU driver crashes (Kernel Panic, Segfault) on Intel Arc discrete GPUs — observed during sustained AI inference workloads with Qwen3-series models.** --- ## Observation Methodology The data in this document comes from the following setup and measurement methods: - **Workload:** Batch-encoding Chinese classical poetry text passages (~7000 poems, 100–500 chars each) using Qwen3-Embedding-4B via OpenVINO - **Monitoring tool:** `intel_gpu_top` (part of `intel-gpu-tools`), sampled at 1000ms intervals - **Monitoring duration:** 70-second continuous capture during active embedding inference - **Crash detection:** Process exit code monitoring (exit 139 = segfault), kernel log (`dmesg`) for kernel panic events, and output tensor inspection for NaN/Inf values - **Comparison scope:** Same model, same data, same GPU — only quantization format (INT4 vs INT8), batch size (20 vs 10), and cooling strategy were varied --- ## Platforms &amp;amp; Models Tested | Category | Details | |----------|---------| | **GPU** | Intel Arc Pro 130T/140T (Arrow Lake-P, PCI ID `8086:7d51`) | | **NPU** | Intel AI Boost (`/dev/dri/renderD128`) | | **RAM** | 64 GB | | **OS** | Ubuntu 26.04 LTS | | **Kernel** | `7.0.0-15-generic` | | **Frameworks** | OpenVINO `2026.1`, PyTorch `2.12.0+xpu`, llama.cpp `b9404` (SYCL) | | **Compiler** | oneAPI `2026.0` (IntelLLVM, MKL, DNNL, TBB) | | **GPU driver** | `libze-intel-gpu1 26.14.37833.4` | | Model | Task | Format | Size | |-------|------|--------|------| | **Qwen3-Embedding-4B** | Text embedding (2560-dim) | OpenVINO INT8 | ~3 GB | | **Qwen3-Reranker-4B** | Text reranking | OpenVINO INT8 | ~3 GB | | **Qwen3.5-4B** | Text generation | GGUF (IQ4_XS) | ~2.5 GB | --- ## The Problem (Observed with these models) When running the above models on the described test platform, we observed the following issues: - **Kernel Panic** – Complete system freeze requiring hard reboot (occurred during INT4 batch embedding) - **Segfault (exit code 139)** – Process crashes from GPU memory access violation - **NaN/Inf Output** – Model outputs garbage numerical values before crashes - **Throttling** – Inference throughput drops 2–5× as the GPU downclocks under sustained load **Possible explanation (observed on this platform):** Under our specific test conditions, the GPU driver became unstable when running at high utilization (&amp;gt;90%) for extended periods. This may be related to thermal/power management characteristics of this particular GPU+driver combination — but the exact root cause has not been independently verified on other hardware. --- ## Observations on Data Source The GPU metrics in the comparison table below were collected using `intel_gpu_top` with 1-second sampling intervals, captured during active embedding inference. The "Before" data was captured before any crash-mitigation measures were applied; the "After" data was captured with the protection strategies described below. All metrics are from the same GPU under the same ambient conditions. --- ## Key Findings &amp;gt; &lt;LI-EMOJI id="lia_warning" title=":warning:"&gt;&lt;/LI-EMOJI&gt; **Caveat:** The following findings are based on this specific test setup only. They may not generalize. ### 1. NaN Output Appeared as a Crash Warning (in this experiment) In our tests, NaN/Inf values in inference output did **not** appear to be a quantization precision issue — instead, they consistently preceded GPU driver crashes. After implementing active cooling, NaN disappeared completely even with the same INT8 model. This suggests the root cause in our case was GPU overheating / power constraints, not numerical precision. Other users may have different experiences. ### 2. OpenVINO Used the Compute Engine on This Platform On our test system, OpenVINO ran inference on the **Compute (CCS)** engine. When monitoring GPU utilization, `CCS` busy % was the relevant metric. This may vary by GPU architecture, driver version, or OpenVINO plugin implementation. ### 3. Crashes Were Caused by Sustained High Load, Not Quantization Format In our experiments, both INT4 and INT8 configurations crashed under sustained high GPU utilization (&amp;gt;90%). The key variable was GPU load level and duration, not the quantization format. After introducing batch-size limits and cooldown intervals, the INT8 configuration ran stably. It remains unclear whether INT4 with the same protection measures would also be stable — quantization format may still play a secondary role. --- ## Before / After Comparison ### GPU Workload Metrics | Metric | Before (INT4, batch=20, no cooling) | After (INT8, batch=10, with cooling) | |--------|-------------------------------------|--------------------------------------| | GPU Compute (CCS) usage | &amp;gt; **90%** sustained | Peak **~19%**, avg **2.3%** | | GPU freq (actual) | Sustained ~1800 MHz | Avg **456 MHz**, peak **2151 MHz** | | GPU power | Sustained high → overheating | Avg **2.9 W**, peak **20.8 W** | | RC6 idle ratio | ~**0%** (never rests) | **~31%** (frequent cooling breaks) | | NaN/Inf output | &lt;LI-EMOJI id="lia_cross-mark" title=":cross_mark:"&gt;&lt;/LI-EMOJI&gt; Frequent → Kernel Panic | &lt;LI-EMOJI id="lia_white-heavy-check-mark" title=":white_heavy_check_mark:"&gt;&lt;/LI-EMOJI&gt; Zero NaN, zero crashes | | Time per 1000 texts | ~**60 s** (fast but dangerous) | ~**350 s** (slow but safe) | **Measurement method:** GPU metrics were captured via `intel_gpu_top` with 1-second sampling, over a 70-second continuous window during active embedding inference. The "Before" and "After" measurements were taken under identical ambient temperature conditions. ### Stability Comparison | Config | Speed (1000 texts) | Stability | Verdict | |--------|-------------------|-----------|---------| | GPU INT4, batch=20 | ~60 s | &lt;LI-EMOJI id="lia_cross-mark" title=":cross_mark:"&gt;&lt;/LI-EMOJI&gt; Kernel panic | Do not use | | **GPU INT8, batch=10 + cooling** | **~350 s** | **&lt;LI-EMOJI id="lia_white-heavy-check-mark" title=":white_heavy_check_mark:"&gt;&lt;/LI-EMOJI&gt; Stable** | **Recommended** | | CPU INT8, batch=10 | ~10 min | &lt;LI-EMOJI id="lia_white-heavy-check-mark" title=":white_heavy_check_mark:"&gt;&lt;/LI-EMOJI&gt; Rock solid | Fallback | | NPU INT8 | TBD | Needs static shapes | Future | --- ## Summary (for this specific setup) On the tested platform and with the tested models, the following strategies helped achieve stable operation: - **Small batches** appeared to prevent power spikes - **Frequent breaks** between batches gave the GPU time to cool - **Thermal detection via latency monitoring** caught throttling early and triggered extra cooldown - **INT8 quantization** combined with load limits and cooldown intervals achieved stable operation (INT4 alone was not tested with these protections) Without these measures, sustained GPU load &amp;gt;90% eventually triggered a driver crash regardless of quantization format. These findings may or may not apply to other Intel Arc configurations. --- &amp;gt; *This document reflects observations from a single test environment. If you have similar or contradictory experiences on different hardware, contributions are welcome.* --- ## 观测方法 本文数据来自以下设置和测量方法： - **工作负载：** 使用 Qwen3-Embedding-4B (OpenVINO) 批量编码中国古典诗歌文本（约 7000 首，每首 100–500 字） - **监控工具：** `intel_gpu_top`（`intel-gpu-tools` 套件的一部分），每秒采样一次 - **监控时长：** Embedding 推理过程中连续采集 70 秒 - **崩溃检测：** 进程退出码监控（exit 139 = 段错误）、内核日志 (`dmesg`) 检测 Kernel Panic、输出张量检查 NaN/Inf - **对比方式：** 同一模型、同一数据、同一 GPU——仅量化格式 (INT4 vs INT8)、批次大小 (20 vs 10) 和冷却策略不同 --- # Intel Arc GPU AI 负载稳定性指南 &amp;gt; &lt;LI-EMOJI id="lia_warning" title=":warning:"&gt;&lt;/LI-EMOJI&gt; **免责声明：** 以下观察基于特定的硬件/软件组合和特定模型（详见下方）。**不代表** Intel Arc GPU 的普遍行为，也不保证适用于其它配置。请作为个案参考，而非通用结论。 **在 Intel Arc 独立显卡上运行 Qwen3 系列模型时观察到的 GPU 驱动崩溃（Kernel Panic、段错误）问题记录与缓解方法。** --- ## 测试平台与模型 | 类别 | 详情 | |------|------| | **GPU** | Intel Arc Pro 130T/140T (Arrow Lake-P, PCI ID `8086:7d51`) | | **NPU** | Intel AI Boost (`/dev/dri/renderD128`) | | **内存** | 64 GB | | **系统** | Ubuntu 26.04 LTS | | **内核** | `7.0.0-15-generic` | | **框架** | OpenVINO `2026.1`, PyTorch `2.12.0+xpu`, llama.cpp `b9404` (SYCL) | | **编译器** | oneAPI `2026.0` (IntelLLVM, MKL, DNNL, TBB) | | **GPU 驱动** | `libze-intel-gpu1 26.14.37833.4` | | 模型 | 任务 | 格式 | 大小 | |------|------|------|------| | **Qwen3-Embedding-4B** | 文本向量化 (2560维) | OpenVINO INT8 | ~3 GB | | **Qwen3-Reranker-4B** | 文本排序 | OpenVINO INT8 | ~3 GB | | **Qwen3.5-4B** | 文本生成 | GGUF (IQ4_XS) | ~2.5 GB | --- ## 问题描述（在本次测试中观察到） 在运行上述模型时，我们观察到了以下问题： - **Kernel Panic** — 系统完全死机，需要硬重启 - **段错误 (exit code 139)** — 进程崩溃，显存访问异常 - **NaN/Inf 输出** — GPU 在崩溃前输出异常值 - **降频** — 推理速度骤降 2-5 倍 **可能原因（仅限本次测试）：** 在本测试环境下，GPU 驱动在高占用率（&amp;gt;90%）下持续运行后变得不稳定。具体原因可能与特定 GPU+驱动版本组合的热管理特性有关——尚未在其它硬件上独立验证。 --- ## 关键发现 &amp;gt; &lt;LI-EMOJI id="lia_warning" title=":warning:"&gt;&lt;/LI-EMOJI&gt; **注意：** 以下发现仅基于本次测试环境，未必具有普遍性。 ### 1. NaN 输出是该实验中的崩溃前兆 在本测试中，NaN/Inf 输出**并非量化精度问题**，而是 GPU 驱动即将崩溃的前兆。加入主动冷却后，同一 INT8 模型的 NaN 完全消失。说明我们遇到的根因是 GPU 过热/供电受限，而非数值精度。其它配置下可能不同。 ### 2. 本次测试中 OpenVINO 使用 Compute 引擎 在我们的系统上，OpenVINO 的推理走 **Compute (CCS)** 引擎。监控时应关注 `CCS` 占用率。不同 GPU 架构、驱动版本或 OpenVINO 插件实现可能不同。 ### 3. 崩溃由持续高负载引起，而非量化格式本身 在我们的实验中，INT4 和 INT8 配置在持续高 GPU 占用率（&amp;gt;90%）下均出现崩溃。关键变量是 GPU 负载水平和持续时间，而非量化格式。加入 batch 限制和冷却间隔后，INT8 配置实现了稳定运行。目前尚不清楚 INT4 在同等保护措施下是否也能稳定——量化格式可能起次要作用。 --- ## 优化前后对比 ### GPU 负载指标 | 指标 | 优化前 (INT4, batch=20, 无冷却) | 优化后 (INT8, batch=10, 有冷却) | |------|--------------------------------|-------------------------------| | GPU Compute (CCS) 占用 | &amp;gt; **90%** 持续满载 | 峰值 **~19%**，均值 **2.3%** | | GPU 实际频率 | 持续 ~1800 MHz | 均值 **456 MHz**，峰值 **2151 MHz** | | GPU 功耗 | 持续高负载 → 过热 | 均值 **2.9 W**，峰值 **20.8 W** | | RC6 空闲比例 | ~**0%**（从不休息） | **~31%**（频繁冷却） | | NaN/Inf 输出 | &lt;LI-EMOJI id="lia_cross-mark" title=":cross_mark:"&gt;&lt;/LI-EMOJI&gt; 频繁出现 → Kernel Panic | &lt;LI-EMOJI id="lia_white-heavy-check-mark" title=":white_heavy_check_mark:"&gt;&lt;/LI-EMOJI&gt; 零 NaN、零崩溃 | | 每千条耗时 | ~**60 s**（快但不稳） | ~**350 s**（慢但安全） | **测量方法：** GPU 指标通过 `intel_gpu_top` 以 1 秒间隔采集，在 Embedding 推理过程中连续采样 70 秒。优化前后的测量在相同室温条件下进行。 ### 稳定性对比 | 配置 | 速度 (千条) | 稳定性 | 结论 | |------|-----------|--------|------| | GPU INT4, batch=20 | ~60 s | &lt;LI-EMOJI id="lia_cross-mark" title=":cross_mark:"&gt;&lt;/LI-EMOJI&gt; Kernel panic | 不推荐 | | **GPU INT8, batch=10 + 冷却** | **~350 s** | **&lt;LI-EMOJI id="lia_white-heavy-check-mark" title=":white_heavy_check_mark:"&gt;&lt;/LI-EMOJI&gt; 稳定** | **推荐** | | CPU INT8, batch=10 | ~10 min | &lt;LI-EMOJI id="lia_white-heavy-check-mark" title=":white_heavy_check_mark:"&gt;&lt;/LI-EMOJI&gt; 绝对稳定 | 备用 | | NPU INT8 | 待测 | 需静态 shape | 后续 | --- ## 总结（仅限于本次测试环境） 在本次测试的平台和模型下，以下策略帮助实现了稳定运行： - **小 batch** 可能避免了瞬时功耗尖峰 - **频繁间歇** 让 GPU 有充分冷却时间 - **通过推理延迟监测温度**，在降频初期及时触发额外冷却 - **INT8 量化 + 负载限制 + 冷却间隔** 的组合实现了稳定运行（尚未在同等保护下测试 INT4） 如果不采取这些措施，无论采用何种量化格式，GPU 在 &amp;gt;90% 占用率下持续运行最终触发了驱动崩溃。这些发现不保证适用于其它 Intel Arc 配置。 --- &amp;gt; *本文档仅反映单一测试环境下的观察结果。如果你在其它硬件上有类似或相反的体验，欢迎提供反馈。*</description>
    <pubDate>Fri, 29 May 2026 15:16:05 GMT</pubDate>
    <dc:creator>PlanteAmigor</dc:creator>
    <dc:date>2026-05-29T15:16:05Z</dc:date>
    <item>
      <title>Intel Arc GPU</title>
      <link>https://community.intel.com/t5/GPU-Compute-Software/Intel-Arc-GPU/m-p/1749473#M2370</link>
      <description># Intel Arc GPU Stability Guide for AI Workloads [![Ubuntu](&lt;A href="https://img.shields.io/badge/OS-Ubuntu%2026.04%20LTS-E95420)](https://ubuntu.com/" target="_blank"&gt;https://img.shields.io/badge/OS-Ubuntu%2026.04%20LTS-E95420)](https://ubuntu.com/&lt;/A&gt;) [![Kernel](&lt;A href="https://img.shields.io/badge/Kernel-7.0.0--15--generic-blue)](https://kernel.org/" target="_blank"&gt;https://img.shields.io/badge/Kernel-7.0.0--15--generic-blue)](https://kernel.org/&lt;/A&gt;) [![OpenVINO](&lt;A href="https://img.shields.io/badge/OpenVINO-2026.1-00A3E0)](https://docs.openvino.ai/" target="_blank"&gt;https://img.shields.io/badge/OpenVINO-2026.1-00A3E0)](https://docs.openvino.ai/&lt;/A&gt;) [![PyTorch](&lt;A href="https://img.shields.io/badge/PyTorch-2.12+xpu-EE4C2C)](https://pytorch.org/" target="_blank"&gt;https://img.shields.io/badge/PyTorch-2.12+xpu-EE4C2C)](https://pytorch.org/&lt;/A&gt;) &amp;gt; &lt;LI-EMOJI id="lia_warning" title=":warning:"&gt;&lt;/LI-EMOJI&gt; **Disclaimer:** The observations below were made on a specific hardware/software combination running specific models (detailed below). They may **not** represent general Intel Arc GPU behavior or apply to other configurations. Treat these as case study notes, not universal conclusions. **A practical guide to preventing GPU driver crashes (Kernel Panic, Segfault) on Intel Arc discrete GPUs — observed during sustained AI inference workloads with Qwen3-series models.** --- ## Observation Methodology The data in this document comes from the following setup and measurement methods: - **Workload:** Batch-encoding Chinese classical poetry text passages (~7000 poems, 100–500 chars each) using Qwen3-Embedding-4B via OpenVINO - **Monitoring tool:** `intel_gpu_top` (part of `intel-gpu-tools`), sampled at 1000ms intervals - **Monitoring duration:** 70-second continuous capture during active embedding inference - **Crash detection:** Process exit code monitoring (exit 139 = segfault), kernel log (`dmesg`) for kernel panic events, and output tensor inspection for NaN/Inf values - **Comparison scope:** Same model, same data, same GPU — only quantization format (INT4 vs INT8), batch size (20 vs 10), and cooling strategy were varied --- ## Platforms &amp;amp; Models Tested | Category | Details | |----------|---------| | **GPU** | Intel Arc Pro 130T/140T (Arrow Lake-P, PCI ID `8086:7d51`) | | **NPU** | Intel AI Boost (`/dev/dri/renderD128`) | | **RAM** | 64 GB | | **OS** | Ubuntu 26.04 LTS | | **Kernel** | `7.0.0-15-generic` | | **Frameworks** | OpenVINO `2026.1`, PyTorch `2.12.0+xpu`, llama.cpp `b9404` (SYCL) | | **Compiler** | oneAPI `2026.0` (IntelLLVM, MKL, DNNL, TBB) | | **GPU driver** | `libze-intel-gpu1 26.14.37833.4` | | Model | Task | Format | Size | |-------|------|--------|------| | **Qwen3-Embedding-4B** | Text embedding (2560-dim) | OpenVINO INT8 | ~3 GB | | **Qwen3-Reranker-4B** | Text reranking | OpenVINO INT8 | ~3 GB | | **Qwen3.5-4B** | Text generation | GGUF (IQ4_XS) | ~2.5 GB | --- ## The Problem (Observed with these models) When running the above models on the described test platform, we observed the following issues: - **Kernel Panic** – Complete system freeze requiring hard reboot (occurred during INT4 batch embedding) - **Segfault (exit code 139)** – Process crashes from GPU memory access violation - **NaN/Inf Output** – Model outputs garbage numerical values before crashes - **Throttling** – Inference throughput drops 2–5× as the GPU downclocks under sustained load **Possible explanation (observed on this platform):** Under our specific test conditions, the GPU driver became unstable when running at high utilization (&amp;gt;90%) for extended periods. This may be related to thermal/power management characteristics of this particular GPU+driver combination — but the exact root cause has not been independently verified on other hardware. --- ## Observations on Data Source The GPU metrics in the comparison table below were collected using `intel_gpu_top` with 1-second sampling intervals, captured during active embedding inference. The "Before" data was captured before any crash-mitigation measures were applied; the "After" data was captured with the protection strategies described below. All metrics are from the same GPU under the same ambient conditions. --- ## Key Findings &amp;gt; &lt;LI-EMOJI id="lia_warning" title=":warning:"&gt;&lt;/LI-EMOJI&gt; **Caveat:** The following findings are based on this specific test setup only. They may not generalize. ### 1. NaN Output Appeared as a Crash Warning (in this experiment) In our tests, NaN/Inf values in inference output did **not** appear to be a quantization precision issue — instead, they consistently preceded GPU driver crashes. After implementing active cooling, NaN disappeared completely even with the same INT8 model. This suggests the root cause in our case was GPU overheating / power constraints, not numerical precision. Other users may have different experiences. ### 2. OpenVINO Used the Compute Engine on This Platform On our test system, OpenVINO ran inference on the **Compute (CCS)** engine. When monitoring GPU utilization, `CCS` busy % was the relevant metric. This may vary by GPU architecture, driver version, or OpenVINO plugin implementation. ### 3. Crashes Were Caused by Sustained High Load, Not Quantization Format In our experiments, both INT4 and INT8 configurations crashed under sustained high GPU utilization (&amp;gt;90%). The key variable was GPU load level and duration, not the quantization format. After introducing batch-size limits and cooldown intervals, the INT8 configuration ran stably. It remains unclear whether INT4 with the same protection measures would also be stable — quantization format may still play a secondary role. --- ## Before / After Comparison ### GPU Workload Metrics | Metric | Before (INT4, batch=20, no cooling) | After (INT8, batch=10, with cooling) | |--------|-------------------------------------|--------------------------------------| | GPU Compute (CCS) usage | &amp;gt; **90%** sustained | Peak **~19%**, avg **2.3%** | | GPU freq (actual) | Sustained ~1800 MHz | Avg **456 MHz**, peak **2151 MHz** | | GPU power | Sustained high → overheating | Avg **2.9 W**, peak **20.8 W** | | RC6 idle ratio | ~**0%** (never rests) | **~31%** (frequent cooling breaks) | | NaN/Inf output | &lt;LI-EMOJI id="lia_cross-mark" title=":cross_mark:"&gt;&lt;/LI-EMOJI&gt; Frequent → Kernel Panic | &lt;LI-EMOJI id="lia_white-heavy-check-mark" title=":white_heavy_check_mark:"&gt;&lt;/LI-EMOJI&gt; Zero NaN, zero crashes | | Time per 1000 texts | ~**60 s** (fast but dangerous) | ~**350 s** (slow but safe) | **Measurement method:** GPU metrics were captured via `intel_gpu_top` with 1-second sampling, over a 70-second continuous window during active embedding inference. The "Before" and "After" measurements were taken under identical ambient temperature conditions. ### Stability Comparison | Config | Speed (1000 texts) | Stability | Verdict | |--------|-------------------|-----------|---------| | GPU INT4, batch=20 | ~60 s | &lt;LI-EMOJI id="lia_cross-mark" title=":cross_mark:"&gt;&lt;/LI-EMOJI&gt; Kernel panic | Do not use | | **GPU INT8, batch=10 + cooling** | **~350 s** | **&lt;LI-EMOJI id="lia_white-heavy-check-mark" title=":white_heavy_check_mark:"&gt;&lt;/LI-EMOJI&gt; Stable** | **Recommended** | | CPU INT8, batch=10 | ~10 min | &lt;LI-EMOJI id="lia_white-heavy-check-mark" title=":white_heavy_check_mark:"&gt;&lt;/LI-EMOJI&gt; Rock solid | Fallback | | NPU INT8 | TBD | Needs static shapes | Future | --- ## Summary (for this specific setup) On the tested platform and with the tested models, the following strategies helped achieve stable operation: - **Small batches** appeared to prevent power spikes - **Frequent breaks** between batches gave the GPU time to cool - **Thermal detection via latency monitoring** caught throttling early and triggered extra cooldown - **INT8 quantization** combined with load limits and cooldown intervals achieved stable operation (INT4 alone was not tested with these protections) Without these measures, sustained GPU load &amp;gt;90% eventually triggered a driver crash regardless of quantization format. These findings may or may not apply to other Intel Arc configurations. --- &amp;gt; *This document reflects observations from a single test environment. If you have similar or contradictory experiences on different hardware, contributions are welcome.* --- ## 观测方法 本文数据来自以下设置和测量方法： - **工作负载：** 使用 Qwen3-Embedding-4B (OpenVINO) 批量编码中国古典诗歌文本（约 7000 首，每首 100–500 字） - **监控工具：** `intel_gpu_top`（`intel-gpu-tools` 套件的一部分），每秒采样一次 - **监控时长：** Embedding 推理过程中连续采集 70 秒 - **崩溃检测：** 进程退出码监控（exit 139 = 段错误）、内核日志 (`dmesg`) 检测 Kernel Panic、输出张量检查 NaN/Inf - **对比方式：** 同一模型、同一数据、同一 GPU——仅量化格式 (INT4 vs INT8)、批次大小 (20 vs 10) 和冷却策略不同 --- # Intel Arc GPU AI 负载稳定性指南 &amp;gt; &lt;LI-EMOJI id="lia_warning" title=":warning:"&gt;&lt;/LI-EMOJI&gt; **免责声明：** 以下观察基于特定的硬件/软件组合和特定模型（详见下方）。**不代表** Intel Arc GPU 的普遍行为，也不保证适用于其它配置。请作为个案参考，而非通用结论。 **在 Intel Arc 独立显卡上运行 Qwen3 系列模型时观察到的 GPU 驱动崩溃（Kernel Panic、段错误）问题记录与缓解方法。** --- ## 测试平台与模型 | 类别 | 详情 | |------|------| | **GPU** | Intel Arc Pro 130T/140T (Arrow Lake-P, PCI ID `8086:7d51`) | | **NPU** | Intel AI Boost (`/dev/dri/renderD128`) | | **内存** | 64 GB | | **系统** | Ubuntu 26.04 LTS | | **内核** | `7.0.0-15-generic` | | **框架** | OpenVINO `2026.1`, PyTorch `2.12.0+xpu`, llama.cpp `b9404` (SYCL) | | **编译器** | oneAPI `2026.0` (IntelLLVM, MKL, DNNL, TBB) | | **GPU 驱动** | `libze-intel-gpu1 26.14.37833.4` | | 模型 | 任务 | 格式 | 大小 | |------|------|------|------| | **Qwen3-Embedding-4B** | 文本向量化 (2560维) | OpenVINO INT8 | ~3 GB | | **Qwen3-Reranker-4B** | 文本排序 | OpenVINO INT8 | ~3 GB | | **Qwen3.5-4B** | 文本生成 | GGUF (IQ4_XS) | ~2.5 GB | --- ## 问题描述（在本次测试中观察到） 在运行上述模型时，我们观察到了以下问题： - **Kernel Panic** — 系统完全死机，需要硬重启 - **段错误 (exit code 139)** — 进程崩溃，显存访问异常 - **NaN/Inf 输出** — GPU 在崩溃前输出异常值 - **降频** — 推理速度骤降 2-5 倍 **可能原因（仅限本次测试）：** 在本测试环境下，GPU 驱动在高占用率（&amp;gt;90%）下持续运行后变得不稳定。具体原因可能与特定 GPU+驱动版本组合的热管理特性有关——尚未在其它硬件上独立验证。 --- ## 关键发现 &amp;gt; &lt;LI-EMOJI id="lia_warning" title=":warning:"&gt;&lt;/LI-EMOJI&gt; **注意：** 以下发现仅基于本次测试环境，未必具有普遍性。 ### 1. NaN 输出是该实验中的崩溃前兆 在本测试中，NaN/Inf 输出**并非量化精度问题**，而是 GPU 驱动即将崩溃的前兆。加入主动冷却后，同一 INT8 模型的 NaN 完全消失。说明我们遇到的根因是 GPU 过热/供电受限，而非数值精度。其它配置下可能不同。 ### 2. 本次测试中 OpenVINO 使用 Compute 引擎 在我们的系统上，OpenVINO 的推理走 **Compute (CCS)** 引擎。监控时应关注 `CCS` 占用率。不同 GPU 架构、驱动版本或 OpenVINO 插件实现可能不同。 ### 3. 崩溃由持续高负载引起，而非量化格式本身 在我们的实验中，INT4 和 INT8 配置在持续高 GPU 占用率（&amp;gt;90%）下均出现崩溃。关键变量是 GPU 负载水平和持续时间，而非量化格式。加入 batch 限制和冷却间隔后，INT8 配置实现了稳定运行。目前尚不清楚 INT4 在同等保护措施下是否也能稳定——量化格式可能起次要作用。 --- ## 优化前后对比 ### GPU 负载指标 | 指标 | 优化前 (INT4, batch=20, 无冷却) | 优化后 (INT8, batch=10, 有冷却) | |------|--------------------------------|-------------------------------| | GPU Compute (CCS) 占用 | &amp;gt; **90%** 持续满载 | 峰值 **~19%**，均值 **2.3%** | | GPU 实际频率 | 持续 ~1800 MHz | 均值 **456 MHz**，峰值 **2151 MHz** | | GPU 功耗 | 持续高负载 → 过热 | 均值 **2.9 W**，峰值 **20.8 W** | | RC6 空闲比例 | ~**0%**（从不休息） | **~31%**（频繁冷却） | | NaN/Inf 输出 | &lt;LI-EMOJI id="lia_cross-mark" title=":cross_mark:"&gt;&lt;/LI-EMOJI&gt; 频繁出现 → Kernel Panic | &lt;LI-EMOJI id="lia_white-heavy-check-mark" title=":white_heavy_check_mark:"&gt;&lt;/LI-EMOJI&gt; 零 NaN、零崩溃 | | 每千条耗时 | ~**60 s**（快但不稳） | ~**350 s**（慢但安全） | **测量方法：** GPU 指标通过 `intel_gpu_top` 以 1 秒间隔采集，在 Embedding 推理过程中连续采样 70 秒。优化前后的测量在相同室温条件下进行。 ### 稳定性对比 | 配置 | 速度 (千条) | 稳定性 | 结论 | |------|-----------|--------|------| | GPU INT4, batch=20 | ~60 s | &lt;LI-EMOJI id="lia_cross-mark" title=":cross_mark:"&gt;&lt;/LI-EMOJI&gt; Kernel panic | 不推荐 | | **GPU INT8, batch=10 + 冷却** | **~350 s** | **&lt;LI-EMOJI id="lia_white-heavy-check-mark" title=":white_heavy_check_mark:"&gt;&lt;/LI-EMOJI&gt; 稳定** | **推荐** | | CPU INT8, batch=10 | ~10 min | &lt;LI-EMOJI id="lia_white-heavy-check-mark" title=":white_heavy_check_mark:"&gt;&lt;/LI-EMOJI&gt; 绝对稳定 | 备用 | | NPU INT8 | 待测 | 需静态 shape | 后续 | --- ## 总结（仅限于本次测试环境） 在本次测试的平台和模型下，以下策略帮助实现了稳定运行： - **小 batch** 可能避免了瞬时功耗尖峰 - **频繁间歇** 让 GPU 有充分冷却时间 - **通过推理延迟监测温度**，在降频初期及时触发额外冷却 - **INT8 量化 + 负载限制 + 冷却间隔** 的组合实现了稳定运行（尚未在同等保护下测试 INT4） 如果不采取这些措施，无论采用何种量化格式，GPU 在 &amp;gt;90% 占用率下持续运行最终触发了驱动崩溃。这些发现不保证适用于其它 Intel Arc 配置。 --- &amp;gt; *本文档仅反映单一测试环境下的观察结果。如果你在其它硬件上有类似或相反的体验，欢迎提供反馈。*</description>
      <pubDate>Fri, 29 May 2026 15:16:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/GPU-Compute-Software/Intel-Arc-GPU/m-p/1749473#M2370</guid>
      <dc:creator>PlanteAmigor</dc:creator>
      <dc:date>2026-05-29T15:16:05Z</dc:date>
    </item>
  </channel>
</rss>

