Skip to content

Commit

Permalink
Follow 2 releases grace period for API deprecation (#8003)
Browse files Browse the repository at this point in the history
  • Loading branch information
zpcore authored and ManfeiBai committed Sep 23, 2024
1 parent 87304aa commit ba13b4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions torch_xla/core/xla_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit ba13b4e

Please sign in to comment.