mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
gen_backend_stubs.py: fix typo for supported_autograd (#68562)
Summary:
Fixes #{issue number}
Pull Request resolved: https://github.com/pytorch/pytorch/pull/68562
Reviewed By: jbschlosser
Differential Revision: D32758608
Pulled By: bdhirsh
fbshipit-source-id: 496e1ec831edaa6fcc586f3c8f0361c31cad4e78
This commit is contained in:
parent
93eef03aa6
commit
68ea9e9df5
|
|
@ -58,7 +58,7 @@ def parse_backend_yaml(
|
|||
assert isinstance(supported, list), f'expected "supported" to be a list, but got: {supported} (of type {type(supported)})'
|
||||
|
||||
supported_autograd = yaml_values.pop('autograd', [])
|
||||
assert isinstance(supported, list), f'expected "autograd" to be a list, but got: {supported_autograd}'
|
||||
assert isinstance(supported_autograd, list), f'expected "autograd" to be a list, but got: {supported_autograd}'
|
||||
|
||||
# full_codegen is ignored by parse_backend_yaml, and re-parsed in gen_lazy_tensor.py
|
||||
full_codegen = yaml_values.pop('full_codegen', [])
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user