Skip to content

Conversation

@Stonepia
Copy link

@Stonepia Stonepia commented Nov 28, 2025

This PR is to align with the XPU Triton recently change. Now the min_dot_size() call is not exposed directly and wrapped in XPUBackend class according to intel/intel-xpu-backend-for-triton#5329.

cc: @EikanWang

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 28, 2025
from triton.backends.intel.compiler import min_dot_size as min_dot_size_xpu
try:
# Support New triton API which put the min_dot_size in XPUBackend class
from triton.backends.intel.compiler import XPUBackend
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CUDA does not do it. I'm wondering why we need to do it. @etiotto, may I know the background?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants