[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
739e5d555d
commit
18690c6b67
1 changed files with 1 additions and 0 deletions
|
|
@ -1091,6 +1091,7 @@ def run_training_process(
|
|||
# AttributeError. Force a full import and stub any missing callables.
|
||||
try:
|
||||
import torch.distributed as _td
|
||||
|
||||
_td_stubs = {
|
||||
"is_initialized": lambda: False,
|
||||
"is_available": lambda: False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue