-
Notifications
You must be signed in to change notification settings - Fork 25.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
torch.distributed
group initialization for torch_neuron
disabled when optimum-neuron
is installed
#22728
torch.distributed
group initialization for torch_neuron
disabled when optimum-neuron
is installed
#22728
Conversation
The documentation is not available anymore as the PR was closed or merged. |
…euron_initialization
src/transformers/training_args.py
Outdated
TORCH_COMPILE_BACKENDS = [ | ||
"eager", | ||
"aot_eager", | ||
"inductor", | ||
"nvfuser", | ||
"aot_nvfuser", | ||
"aot_cudagraphs", | ||
"ofi", | ||
"fx2trt", | ||
"onnxrt", | ||
"ipex", | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not related and shouoldn't be re-added.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error when solving conflicts sorry.
"will fail otherwise." | ||
) | ||
else: | ||
import torch_xla.distributed.xla_backend as xbn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
raise the deprecation warning here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
…when `optimum-neuron` is installed (huggingface#22728) * Make the process group initialization not happen if optimum_neuron is installed * Add warning * Remove list and added warning
As per title.