Skip to content

Commit 061707a

Browse files
authored
Update version to 3.1.0 (#2470)
PyTorch is [patching the version number](https://github.com/pytorch/pytorch/blob/main/.github/scripts/build_triton_wheel.py#L44) when building Triton wheels - possibly due to some issue syncing version between Triton and ROCM. Technically version 3.1.0 is the version we just "released" with PyTorch 2.5 so the current working version should be a higher number, but since upstream PyTorch is still using a Triton pin from the release branch, we need to make this change to advance our upstream pin. Close #2467
1 parent 0a8fedf commit 061707a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def documenter(app, obj, parent):
145145
autosummary_generate = True
146146

147147
# versioning config
148-
smv_tag_whitelist = r'^(v3.0.0)$'
148+
smv_tag_whitelist = r'^(v3.1.0)$'
149149
smv_branch_whitelist = r'^main$'
150150
smv_remote_whitelist = None
151151
smv_released_pattern = r'^tags/.*$'

python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ def get_install_requires():
700700

701701
setup(
702702
name=os.environ.get("TRITON_WHEEL_NAME", "triton"),
703-
version="3.0.0" + get_git_commit_hash() + os.environ.get("TRITON_WHEEL_VERSION_SUFFIX", ""),
703+
version="3.1.0" + get_git_commit_hash() + os.environ.get("TRITON_WHEEL_VERSION_SUFFIX", ""),
704704
author="Philippe Tillet",
705705
author_email="[email protected]",
706706
description="A language and compiler for custom Deep Learning operations",

python/triton/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""isort:skip_file"""
2-
__version__ = '3.0.0'
2+
__version__ = '3.1.0'
33

44
# ---------------------------------------
55
# Note: import order is significant here.

0 commit comments

Comments
 (0)