From dbc771e85a7b03eab2b46b706d3ecf90878531d6 Mon Sep 17 00:00:00 2001 From: Andrey Talman Date: Wed, 11 Dec 2024 21:24:50 +0000 Subject: [PATCH] [Release Only Changes] Remove git commit hash in wheel name (#5405) For release we are not looking for something like : `` pytorch_triton-3.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl `` not: `` triton-3.2.0+git35c6c7c6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl `` --- python/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/setup.py b/python/setup.py index d3b89be6cdea..593e014ca509 100644 --- a/python/setup.py +++ b/python/setup.py @@ -695,7 +695,7 @@ def get_git_commit_hash(length=8): setup( name=os.environ.get("TRITON_WHEEL_NAME", "triton"), - version="3.2.0" + get_git_commit_hash() + os.environ.get("TRITON_WHEEL_VERSION_SUFFIX", ""), + version="3.2.0" + 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",