Use == instead of - to set triton version in pip and upgrade to 3.2.0#34
Open
skimberk wants to merge 2 commits intosrush:mainfrom
Open
Use == instead of - to set triton version in pip and upgrade to 3.2.0#34skimberk wants to merge 2 commits intosrush:mainfrom
skimberk wants to merge 2 commits intosrush:mainfrom
Conversation
Seems to have been broken before this change in Colab
Jokeren
approved these changes
Dec 14, 2025
Contributor
|
@Jokeren It's approved but still open? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Should fix the issue seen in #32 where the Colab notebook doesn't install the older version of
triton(3.1.0) and instead uses the version that comes pre-installed on Colab (3.4.0at the time of me writing this), causing the error.It seems the
tritoninstall command was broken (at least on Colab), and changing thetriton-3.1.0totriton==3.1.0seems to fix it.As is, the
!pip install triton-3.1.0command gives the following output:I wonder if there was some change to
pipor the waytritonis distributed? Since I'm guessing (hoping) it hasn't been broken since #25.Also, as noted by @Bakameow in #32 (comment) it seems like just reverting to
3.1.0has its own issues (pasted the error I saw below) so I also updated it to3.2.0, which seems to work!Error message when running introduction demo with
3.1.0on Colab:I tested by creating a new Colab notebook with the updated code and making sure the packages installed and the first few code blocks ran without error.
@srush @mark14wu @Jokeren