This fix is required to avoid the below error during DeepSpeed build
ERROR: Could not find a version that satisfies the requirement megatron-lm==1.1.5 (from deepspeed==0.6.6+828ab71) (from versions: none)
ERROR: No matching distribution found for megatron-lm==1.1.5 (from deepspeed==0.6.6+828ab71)
This fix is required to avoid the below error during DeepSpeed build
ERROR: Could not find a version that satisfies the requirement megatron-lm==1.1.5 (from deepspeed==0.6.6+828ab71) (from versions: none) ERROR: No matching distribution found for megatron-lm==1.1.5 (from deepspeed==0.6.6+828ab71)
This change is already made in upstream https://github.com/microsoft/DeepSpeed/commit/a094c9763de8d42107cbffd0bb9abb8056aa3c60
https://ontrack-internal.amd.com/browse/SWDEV-397284