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

Add Build Trigger for 2.5-rc1 release #7978

Merged
merged 4 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion infra/ansible/config/vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cuda_compute_capabilities: 7.0,7.5,8.0,9.0
llvm_debian_repo: bullseye
clang_version: 17
# PyTorch and PyTorch/XLA wheel versions.
package_version: 2.5.0
package_version: 2.6.0
# If set to true, wheels will be renamed to $WHEEL_NAME-nightly-cp38-cp38-linux_x86_64.whl.
nightly_release: false
# Whether to preinstall libtpu in the PyTorch/XLA wheel. Ignored for GPU build.
Expand Down
84 changes: 83 additions & 1 deletion infra/tpu-pytorch-releases/artifacts.auto.tfvars
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nightly_package_version = "2.5.0"
nightly_package_version = "2.6.0"

# Built once a day from master.
nightly_builds = [
Expand Down Expand Up @@ -33,6 +33,88 @@ nightly_builds = [

# Built on push to specific tag.
versioned_builds = [
# Remove libtpu from PyPI builds
{
git_tag = "v2.5.0-rc1"
package_version = "2.5.0-rc1"
pytorch_git_rev = "v2.5.0-rc1"
accelerator = "tpu"
python_version = "3.9"
bundle_libtpu = "0"
},
{
git_tag = "v2.5.0-rc1"
package_version = "2.5.0-rc1"
pytorch_git_rev = "v2.5.0-rc1"
accelerator = "tpu"
python_version = "3.10"
bundle_libtpu = "0"
},
{
git_tag = "v2.5.0-rc1"
package_version = "2.5.0-rc1"
pytorch_git_rev = "v2.5.0-rc1"
accelerator = "tpu"
python_version = "3.11"
bundle_libtpu = "0"
},
# Bundle libtpu for Kaggle
{
git_tag = "v2.5.0-rc1"
package_version = "2.5.0-rc1+libtpu"
pytorch_git_rev = "v2.5.0-rc1"
accelerator = "tpu"
python_version = "3.10"
bundle_libtpu = "1"
},
{
git_tag = "v2.5.0-rc1"
package_version = "2.5.0-rc1"
pytorch_git_rev = "v2.5.0-rc1"
accelerator = "cuda"
cuda_version = "12.1"
python_version = "3.9"
},
{
git_tag = "v2.5.0-rc1"
pytorch_git_rev = "v2.5.0-rc1"
package_version = "2.5.0-rc1"
accelerator = "cuda"
cuda_version = "12.1"
python_version = "3.10"
},
{
git_tag = "v2.5.0-rc1"
package_version = "2.5.0-rc1"
pytorch_git_rev = "v2.5.0-rc1"
accelerator = "cuda"
cuda_version = "12.1"
python_version = "3.11"
},
{
git_tag = "v2.5.0-rc1"
package_version = "2.5.0-rc1"
pytorch_git_rev = "v2.5.0-rc1"
accelerator = "cuda"
cuda_version = "12.4"
python_version = "3.9"
},
{
git_tag = "v2.5.0-rc1"
package_version = "2.5.0-rc1"
pytorch_git_rev = "v2.5.0-rc1"
accelerator = "cuda"
cuda_version = "12.4"
python_version = "3.10"
},
{
git_tag = "v2.5.0-rc1"
package_version = "2.5.0-rc1"
pytorch_git_rev = "v2.5.0-rc1"
accelerator = "cuda"
cuda_version = "12.4"
python_version = "3.11"
},
# Remove libtpu from PyPI builds
{
git_tag = "v2.4.0"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def get_git_head_sha(base_dir):


def get_build_version(xla_git_sha):
version = os.getenv('TORCH_XLA_VERSION', '2.5.0')
version = os.getenv('TORCH_XLA_VERSION', '2.6.0')
if build_util.check_env_flag('GIT_VERSIONED_XLA_BUILD', default='TRUE'):
try:
version += '+git' + xla_git_sha[:7]
Expand Down
Loading