"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "d6392482bd8af0d28903b5531ed04bd7273931a3"
Unverified Commit fe34486f authored by Zachary Mueller's avatar Zachary Mueller Committed by GitHub
Browse files

Muellerzr fix deepspeed (#23657)

* Fix deepspeed recursion

* Better fix
parent 7bbdfd7b
......@@ -1708,6 +1708,7 @@ class TrainingArguments:
"""
requires_backends(self, ["torch"])
# Make sure `self._n_gpu` is properly setup.
if not hasattr(self, "_n_gpu"):
_ = self._setup_devices
return self._n_gpu
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment