8000 update test args · pytorch/pytorch@76bfc80 · GitHub
[go: up one dir, main page]

Skip to content

Commit 76bfc80

Browse files
committed
update test args
1 parent ef5719e commit 76bfc80

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

torch/testing/_internal/common_methods_invocations.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16865,6 +16865,9 @@ def reference_flatten(input, start_dim=0, end_dim=-1):
1686516865
PythonRefInfo(
1686616866
"_refs.nn.functional.nll_loss",
1686716867
torch_opinfo_name="nn.functional.nll_loss",
16868+
# The corresponding PyTorch op doesn't support out. But the ref is
16869+
# registered as a decomp and ATen has an out variant.
16870+
supports_out=True,
1686816871
supports_nvfuser=False,
1686916872
# For simpler indexing, we flatten target indices, then reshape the result tensor.
1687016873
# This creates inconsistent view state with reference impl.

0 commit comments

Comments
 (0)
0