- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel Arc GPU Stability Guide for AI Workloads / Intel Arc GPU AI 负载稳定性指南 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. 免责声明:以下观察基于特定的硬件/软件组合和特定模型(详见下方)。不代表 Intel Arc GPU 的普遍行为,也不保证适用于其它配置。请作为个案参考,而非通用结论。 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. 在 Intel Arc 独立显卡上运行 Qwen3 系列模型时观察到的 GPU 驱动崩溃(Kernel Panic、段错误)问题记录与缓解方法。 Observation Methodology / 观测方法 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 工作负载:使用 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) 和冷却策略不同 Platforms & Models Tested / 测试平台与模型 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 Models: 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) / 问题描述(在本次测试中观察到) Issues observed: 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 (>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. 观察到的问题: Kernel Panic — 系统完全死机,需要硬重启 段错误 (exit code 139) — 进程崩溃,显存访问异常 NaN/Inf 输出 — GPU 在崩溃前输出异常值 降频 — 推理速度骤降 2-5 倍 可能原因(仅限本次测试):在本测试环境下,GPU 驱动在高占用率(>90%)下持续运行后变得不稳定。具体原因可能与特定 GPU+驱动版本组合的热管理特性有关——尚未在其它硬件上独立验证。 Key Findings / 关键发现 Caveat: The following findings are based on this specific test setup only. They may not generalize. 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. 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. Crashes Were Caused by Sustained High Load, Not Quantization Format In our experiments, both INT4 and INT8 configurations crashed under sustained high GPU utilization (>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. 注意:以下发现仅基于本次测试环境,未必具有普遍性。 NaN 输出是该实验中的崩溃前兆 在本测试中,NaN/Inf 输出并非量化精度问题,而是 GPU 驱动即将崩溃的前兆。加入主动冷却后,同一 INT8 模型的 NaN 完全消失。说明我们遇到的根因是 GPU 过热/供电受限,而非数值精度。 本次测试中 OpenVINO 使用 Compute 引擎 在我们的系统上,OpenVINO 的推理走 Compute (CCS) 引擎。监控时应关注 CCS 占用率。不同 GPU 架构、驱动版本或 OpenVINO 插件实现可能不同。 崩溃由持续高负载引起,而非量化格式本身 在我们的实验中,INT4 和 INT8 配置在持续高 GPU 占用率(>90%)下均出现崩溃。关键变量是 GPU 负载水平和持续时间,而非量化格式。加入 batch 限制和冷却间隔后,INT8 配置实现了稳定运行。目前尚不清楚 INT4 在同等保护措施下是否也能稳定——量化格式可能起次要作用。 Before / After Comparison / 优化前后对比 GPU Workload Metrics / GPU 负载指标 Metric (English) / 指标 (中文) Before (INT4, batch=20, no cooling) After (INT8, batch=10, with cooling) GPU Compute (CCS) usage > 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 Frequent → Kernel Panic 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. 测量方法:GPU 指标通过 intel_gpu_top 以 1 秒间隔采集,在 Embedding 推理过程中连续采样 70 秒。优化前后的测量在相同室温条件下进行。 Stability Comparison / 稳定性对比 Config / 配置 Speed (1000 texts) / 速度 (千条) Stability / 稳定性 Verdict / 结论 GPU INT4, batch=20 ~60 s Kernel panic Do not use / 不推荐 GPU INT8, batch=10 + cooling ~350 s Stable Recommended / 推荐 CPU INT8, batch=10 ~10 min 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 >90% eventually triggered a driver crash regardless of quantization format. These findings may or may not apply to other Intel Arc configurations. 在本次测试的平台和模型下,以下策略帮助实现了稳定运行: 小 batch 可能避免了瞬时功耗尖峰 频繁间歇让 GPU 有充分冷却时间 通过推理延迟监测温度,在降频初期及时触发额外冷却 INT8 量化 + 负载限制 + 冷却间隔的组合实现了稳定运行(尚未在同等保护下测试 INT4) 如果不采取这些措施,无论采用何种量化格式,GPU 在 >90% 占用率下持续运行最终触发了驱动崩溃。这些发现不保证适用于其它 Intel Arc 配置。 This document reflects observations from a single test environment. If you have similar or contradictory experiences on different hardware, contributions are welcome. 本文档仅反映单一测试环境下的观察结果。如果在其它硬件上有类似或相反的体验,欢迎提供反馈。
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page