You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Bug from apex.transformer import pipeline_parallel is not guarded by the torch.distributed.is_available() function resulting in import problems for non-distributed specific parts of Apex.
Minimal Steps/Code to Reproduce the Bug
Modify is_available() function to return False in torch/distributed/init.py
Modify is_available() function to return False in torch/distributed/rpc/init.py
Describe the Bug
from apex.transformer import pipeline_parallel
is not guarded by thetorch.distributed.is_available()
function resulting in import problems for non-distributed specific parts of Apex.Minimal Steps/Code to Reproduce the Bug
Traceback:
Expected Behavior
No import errors.
The text was updated successfully, but these errors were encountered: