fix: clarify 'Torch not compiled with CUDA enabled' error for Intel GPU users - #1307
fix: clarify 'Torch not compiled with CUDA enabled' error for Intel GPU users#1307lin-bot23 wants to merge 3 commits into
Conversation
…PU users Intel GPU users see 'Torch not compiled with CUDA enabled' and mistakenly follow the NVIDIA CUDA reinstallation steps. Added a note explaining this error is expected for Intel hardware — they should verify XPU availability instead. Closes Comfy-Org#1298
|
Warning Review limit reached
Next review available in: 32 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Intel GPU troubleshooting section now explains expected CUDA errors, adds an XPU availability check, and describes ComfyUI’s behavior when XPU support is detected. ChangesIntel GPU troubleshooting
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@troubleshooting/overview.mdx`:
- Line 343: Update the Intel GPU guidance sentence in the MDX to replace the em
dash after “expected behavior” with a period or colon, keeping the existing
meaning and avoiding dash punctuation.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 1d1ad796-aa51-4646-b657-8fcca3ac698c
📒 Files selected for processing (1)
troubleshooting/overview.mdx
Summary
Intel GPU users seeing the error "Torch not compiled with CUDA enabled" in the NVIDIA section currently have no guidance about what this means for their hardware. They may mistakenly follow the CUDA reinstallation steps instead of installing the XPU-enabled PyTorch.
Files
troubleshooting/overview.mdx— Added 11 lines to the Intel GPU Issues section explaining that this error is expected for Intel GPUs and directing users to verify XPU availability and install XPU-enabled PyTorch.Source
Issue #1298 — user reports getting "Torch not compiled with CUDA enabled" on an Intel Arc GPU while using XPU.
Checklist