From 061707a47105dda6fcf6a1319db6bf17870cd334 Mon Sep 17 00:00:00 2001 From: Alex Baden Date: Fri, 11 Oct 2024 12:56:55 -0400 Subject: [PATCH] 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 --- docs/conf.py | 2 +- python/setup.py | 2 +- python/triton/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index eac5168d51..d4514490ab 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -145,7 +145,7 @@ def documenter(app, obj, parent): autosummary_generate = True # versioning config -smv_tag_whitelist = r'^(v3.0.0)$' +smv_tag_whitelist = r'^(v3.1.0)$' smv_branch_whitelist = r'^main$' smv_remote_whitelist = None smv_released_pattern = r'^tags/.*$' diff --git a/python/setup.py b/python/setup.py index a478783777..4387085809 100644 --- a/python/setup.py +++ b/python/setup.py @@ -700,7 +700,7 @@ def get_install_requires(): setup( name=os.environ.get("TRITON_WHEEL_NAME", "triton"), - version="3.0.0" + get_git_commit_hash() + os.environ.get("TRITON_WHEEL_VERSION_SUFFIX", ""), + version="3.1.0" + get_git_commit_hash() + os.environ.get("TRITON_WHEEL_VERSION_SUFFIX", ""), author="Philippe Tillet", author_email="phil@openai.com", description="A language and compiler for custom Deep Learning operations", diff --git a/python/triton/__init__.py b/python/triton/__init__.py index 031c58fb16..a5f77f91e6 100644 --- a/python/triton/__init__.py +++ b/python/triton/__init__.py @@ -1,5 +1,5 @@ """isort:skip_file""" -__version__ = '3.0.0' +__version__ = '3.1.0' # --------------------------------------- # Note: import order is significant here.