Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update triton pin #126098

Closed
wants to merge 26 commits into from
Closed

Update triton pin #126098

wants to merge 26 commits into from

Conversation

[ghstack-poisoned]
Copy link

pytorch-bot bot commented May 13, 2024

🔗 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: 24deb748bfd25dafbef2ceeaeb162fb6c5e93743
Pull Request resolved: #126098
@eellison
Copy link
Contributor

cc @bertmaher for triton pin update

[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: 739ef465c09f49e2e0032e2f985b72d74277410e
Pull Request resolved: #126098
[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: a2e8f61ccd5bdd135f03d450b04cee9c81597b54
Pull Request resolved: #126098
amjames added a commit to amjames/pytorch that referenced this pull request May 15, 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: a2e8f61ccd5bdd135f03d450b04cee9c81597b54
Pull Request resolved: pytorch#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: a2e8f61ccd5bdd135f03d450b04cee9c81597b54
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: 8da15270f99e5121650bb7f2f1ec1e75f50c20f9
Pull Request resolved: #126098
@amjames amjames changed the title Update triton pin to improve throughput w/ assert Update triton pin Jun 21, 2024
@amjames
Copy link
Collaborator Author

amjames commented Jun 21, 2024

@pytorchbot merge

@pytorchmergebot
Copy link
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
Collaborator

@amjames
Copy link
Collaborator Author

amjames commented Jun 21, 2024

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

@pytorchmergebot
Copy link
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:
q10 added a commit to q10/FBGEMM that referenced this pull request Jun 24, 2024
- Update pytorch-triton version to follow PyTorch pytorch/pytorch#126098
q10 added a commit to q10/FBGEMM that referenced this pull request Jun 24, 2024
- Update pytorch-triton version to follow PyTorch pytorch/pytorch#126098

- Remove triton from git submodules as triton installation no longer requires this
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
pytorchmergebot pushed a commit that referenced this pull request Jul 2, 2024
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.

None yet