applied-ai-018's picture
Add files using upload-large-folder tool
9ad9e91 verified
raw
history blame contribute delete
347 Bytes
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: Apache-2.0
# DeepSpeed Team
from deepspeed.utils.torch import required_torch_version
def is_torch_elastic_compatible():
'''
Helper to lookup torch version. Elastic training is
introduced in 1.11.x
'''
return required_torch_version(min_version=1.11)