Skip to content

Update triton pin - #126098

Closed
amjames wants to merge 26 commits into
gh/amjames/21/basefrom
gh/amjames/21/head
Closed

amjames wants to merge 26 commits into
gh/amjames/21/basefrom
gh/amjames/21/head

Conversation

@amjames

@amjames amjames commented May 13, 2024 •

Copy link
Copy Markdown
Collaborator

[ghstack-poisoned]
@pytorch-bot

pytorch-bot Bot commented May 13, 2024 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/126098

Note: Links to docs will display an error until the docs builds have been completed.

❌ 3 New Failures, 7 Unrelated Failures

As of commit 965c7dc with merge base 0acd09a (image):

NEW FAILURES - The following jobs have failed:

UNSTABLE - The following jobs failed but were likely due to flakiness present on trunk and has been marked as unstable:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot Bot added ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request topic: not user facing topic category labels May 13, 2024
amjames added a commit that referenced this pull request May 13, 2024
[Triton #3868](triton-lang/triton#3868) adds a
no-return annotation to generated calls to `__assertFail`. This prevents
unnecessary register reservation and should help address #120452.

cc peterbell10

ghstack-source-id: 24deb74
Pull Request resolved: #126098
@eellison

Copy link
Copy Markdown
Contributor

cc @bertmaher for triton pin update

[ghstack-poisoned]
[ghstack-poisoned]
amjames added a commit that referenced this pull request May 14, 2024
[Triton #3868](triton-lang/triton#3868) adds a
no-return annotation to generated calls to `__assertFail`. This prevents
unnecessary register reservation and should help address #120452.

cc peterbell10

ghstack-source-id: a2e8f61
Pull Request resolved: #126098
amjames added a commit to amjames/pytorch that referenced this pull request May 16, 2024
[Triton pytorch#3868](triton-lang/triton#3868) adds a
no-return annotation to generated calls to `__assertFail`. This prevents
unnecessary register reservation and should help address pytorch#120452.

cc peterbell10

ghstack-source-id: a2e8f61
Pull Request resolved: pytorch#126098
[ghstack-poisoned]
[ghstack-poisoned]
amjames added a commit that referenced this pull request Jun 21, 2024
[Triton #3868](triton-lang/triton#3868) adds a
no-return annotation to generated calls to `__assertFail`. This prevents
unnecessary register reservation and should help address #120452.

cc peterbell10

ghstack-source-id: 8da1527
Pull Request resolved: #126098
@amjames amjames changed the title Update triton pin to improve throughput w/ assert Update triton pin Jun 21, 2024
@amjames

amjames commented Jun 21, 2024

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@amjames

amjames commented Jun 21, 2024

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge -f "expected failures for pin update"

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@vkuzo vkuzo mentioned this pull request Jun 24, 2024
vkuzo added a commit to pytorch/ao that referenced this pull request Jun 24, 2024
Summary:

Triton pin updated recently:
pytorch/pytorch#126098

In the new triton version, functions can only access global variables of
type `tl.constexpr`. Due to the current structure of the code and the
fact that these constants are also used by non-triton programs, I think
the best thing to do is to just stop using globals in the MX triton
kernel. The PR lifts all of these constants to kernel function
arguments.

Test Plan:

```
pytest test/prototype/mx_formats/test_custom_cast.py
```

Reviewers:

Subscribers:

Tasks:

Tags:
vkuzo added a commit to pytorch/ao that referenced this pull request Jun 24, 2024
Summary:

Triton pin updated recently:
pytorch/pytorch#126098

In the new triton version, functions can only access global variables of
type `tl.constexpr`. Due to the current structure of the code and the
fact that these constants are also used by non-triton programs, I think
the best thing to do is to just stop using globals in the MX triton
kernel. The PR lifts all of these constants to kernel function
arguments.

Test Plan:

```
pytest test/prototype/mx_formats/test_custom_cast.py
```

Reviewers:

Subscribers:

Tasks:

Tags:
vkuzo added a commit to pytorch/ao that referenced this pull request Jun 24, 2024
Summary:

Triton pin updated recently:
pytorch/pytorch#126098

In the new triton version, functions can only access global variables of
type `tl.constexpr`. Due to the current structure of the code and the
fact that these constants are also used by non-triton programs, I think
the best thing to do is to just stop using globals in the MX triton
kernel. The PR lifts all of these constants to kernel function
arguments.

Test Plan:

```
pytest test/prototype/mx_formats/test_custom_cast.py
```

Reviewers:

Subscribers:

Tasks:

Tags:
msaroufim pushed a commit to pytorch/ao that referenced this pull request Jun 24, 2024
Summary:

Triton pin updated recently:
pytorch/pytorch#126098

In the new triton version, functions can only access global variables of
type `tl.constexpr`. Due to the current structure of the code and the
fact that these constants are also used by non-triton programs, I think
the best thing to do is to just stop using globals in the MX triton
kernel. The PR lifts all of these constants to kernel function
arguments.

Test Plan:

```
pytest test/prototype/mx_formats/test_custom_cast.py
```

Reviewers:

Subscribers:

Tasks:

Tags:
facebook-github-bot pushed a commit to pytorch/FBGEMM that referenced this pull request Jun 24, 2024
Summary:
- Update pytorch-triton version to follow PyTorch pytorch/pytorch#126098

Pull Request resolved: #2775

Reviewed By: brad-mengchi

Differential Revision: D58959021

Pulled By: q10

fbshipit-source-id: 575d42dc07020778ef9f201ea1a234fb92be27f2
@github-actions
github-actions Bot deleted the gh/amjames/21/head branch July 23, 2024 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.