From 999248012eade4025cac74694ef1baf35fd4b29a Mon Sep 17 00:00:00 2001 From: Pei Zhang Date: Thu, 12 Sep 2024 16:46:09 -0700 Subject: [PATCH] Follow 2 releases grace period for API deprecation (#8003) --- torch_xla/core/xla_model.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/torch_xla/core/xla_model.py b/torch_xla/core/xla_model.py index fbdfbbf2801..39f6083e828 100644 --- a/torch_xla/core/xla_model.py +++ b/torch_xla/core/xla_model.py @@ -41,13 +41,13 @@ from . import xla_model as this_module xrt_world_size = deprecated(this_module, torch_xla.runtime.world_size, - 'xrt_world_size() will be removed in release 2.6.') + 'xrt_world_size() will be removed in release 2.7.') get_ordinal = deprecated( this_module, torch_xla.runtime.global_ordinal, - 'xla_model.get_ordinal() will be removed in release 2.6.') + 'xla_model.get_ordinal() will be removed in release 2.7.') parse_xla_device = deprecated( this_module, _utils.parse_xla_device, - 'xla_model.parse_xla_device() will be removed in release 2.6.') + 'xla_model.parse_xla_device() will be removed in release 2.7.') class DeviceContext(object):