| commit | a238bab17cf00b95c4233ed3749cbd2b1bace2f3 | [log] [tgz] |
|---|---|---|
| author | Jeroen Van Goey <jeroen.vangoey@gmail.com> | Mon May 09 00:51:58 2022 +0000 |
| committer | PyTorch MergeBot <pytorchmergebot@users.noreply.github.com> | Mon May 09 00:51:58 2022 +0000 |
| tree | 069fc60ec88e761e6c81b3df38521f0c5e98c96b | |
| parent | 2ec60944c7c906416a597b26aa445fd6dd70c7de [diff] |
Typo fix in generated module name (#76880)
`f"{_FILE_PREFIX}non_sriptable"` -> `f"{_FILE_PREFIX}non_scriptable"`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/76880
Approved by: https://github.com/mrshenli
diff --git a/torch/distributed/nn/jit/instantiator.py b/torch/distributed/nn/jit/instantiator.py index 273109f..7b78ee0 100644 --- a/torch/distributed/nn/jit/instantiator.py +++ b/torch/distributed/nn/jit/instantiator.py
@@ -142,7 +142,7 @@ def instantiate_non_scriptable_remote_module_template(): - generated_module_name = f"{_FILE_PREFIX}non_sriptable" + generated_module_name = f"{_FILE_PREFIX}non_scriptable" str_dict = dict( assign_module_interface_cls="module_interface_cls = None", args="*args",