Skip to content

Conversation

@ysiraichi
Copy link
Collaborator

Fix: #8820

Recently, PyTorch updated its triton pin pytorch/pytorch#148971, making it so our triton tests fail. This PR makes the necessary modifications for accommodating the pin update.

In summary, this PR creates 2 functions spec_and_divisible_by_16 and spec_and_equals_1 which are copied from the former JITFunction._get_config() function. That function (and their analogous versions) was removed from the recent versions of triton.

cc @bhavya01

@ysiraichi ysiraichi requested a review from bhavya01 March 12, 2025 14:44
@bhavya01 bhavya01 self-requested a review March 12, 2025 18:33
Copy link
Collaborator

@bhavya01 bhavya01 left a comment

Choose a reason for hiding this comment

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

Looks like the CI tests failed.

@ysiraichi ysiraichi force-pushed the ysiraichi/fix-updated-triton branch from 07c6b30 to 417a484 Compare March 15, 2025 11:59
@zpcore zpcore merged commit 818c92d into master Mar 15, 2025
25 checks passed
@zpcore zpcore deleted the ysiraichi/fix-updated-triton branch March 15, 2025 23:31
zpcore pushed a commit that referenced this pull request Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Triton test failed in CI: ImportError: cannot import name 'AttrsDescriptor'

4 participants