Repository navigation
Studio: stop image loads exhausting Windows commit on Intel Arc iGPUs - #17378
Conversation
…an Intel Arc iGPU on Windows
Codex Review Summary: 🔄 RunningThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
One CI red here is from this PR's That test |
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Fixes #17137
Problem
On Windows, loading Qwen-Image-2.1-Turbo or FLUX.3 Klein (GGUF denoiser + base repo) onto an Intel Arc 140V (Lunar Lake iGPU, 32 GB shared RAM) fails with
and the retry kills the backend with
0xc0000005, the native form of the same commit exhaustion (#13432, #14513).Why:
pread; a same-dtype bf16 load keeps the mapping, which is fine on a discrete card.Change
pread_safetensors(..., every_shard=True)reads same-dtype shards throughpreadas well (component dirs the small-host route keeps mapped still stay mapped).xpu_is_integrated(), by PCI id: the iGPU subset of the existing XPU allowlist, split into_INTEL_XPU_IGPU_PCI_IDSwith no change to_INTEL_XPU_PCI_IDS).Every other platform and device keeps the byte-identical path: off Windows the scope installs nothing, and on Windows a CUDA, ROCm, discrete Arc or unclassifiable XPU load passes
every_shard=False.Tests
studio/backend/tests/test_safetensors_pread_igpu.py: the iGPU classifier over Lunar Lake / Meteor Lake / Panther Lake vs discrete Arc / Data Center ids, the backend choice with and withoutevery_shard, the image-load scope engaging only on Windows + iGPU, and a Windows-only commit measurement (bf16 load at bf16, then each weight copied the way.to("xpu")does on shared memory, mmap vs pread arms).