Skip to content
Mobrief
Research

Academic or research source. Check the methodology, sample size, and whether it's been replicated.

viable/strict/1772444046: Use version check for XPU fallback registration in inductor

Use version check for XPU fallback registration in inductor Replace torch.xpu.is_available() with torch.xpu._is_compiled() in: * Inductor fallback registration for embedding_dense_backward *...

2-Minute Brief
  • According to PyTorch Releases: Use version check for XPU fallback registration in inductor Replace torch.xpu.is_available() with torch.xpu._is_compiled() in: * Inductor fallback registration for embedding_dense_backward * Inductor bmm dtype kernel selection to avoid unnecessary device queries during PyTorch initialization. Fixes #174672 Testing: Existing XPU fallback tests cover this path No behavioral change - same fallback registered Pull Request resolved: #174679 Approved by: https://github.com/etaf , https://github.com/Ei
Read Original

viable/strict/1772444046: Use version check for XPU fallback registration in inductor

TLDR

Use version check for XPU fallback registration in inductor Replace torch.xpu.is_available() with torch.xpu._is_compiled() in: * Inductor fallback registration for embedding_dense_backward *...

Artifacts
Code
2-Minute Brief
  • According to PyTorch Releases: Use version check for XPU fallback registration in inductor Replace torch.xpu.is_available() with torch.xpu._is_compiled() in: * Inductor fallback registration for embedding_dense_backward * Inductor bmm dtype kernel selection to avoid unnecessary device queries during PyTorch initialization. Fixes #174672 Testing: Existing XPU fallback tests cover this path No behavioral change - same fallback registered Pull Request resolved: #174679 Approved by: https://github.com/etaf , https://github.com/Ei
Open
O open S save B back M mode