Skip to content

Commit

Permalink
Fix typo for opinfo adaptations (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
internal developer authored and aostrowski-hbn committed Jan 7, 2025
1 parent b6dc5cc commit 840d3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch/testing/_internal/opinfo/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1430,7 +1430,7 @@ def supported_backward_dtypes(self, device_type):
else self.backward_dtypesIfCUDA
)
elif device_type == "hpu":
backward_dtype = self.backward_dtypesIfHpu
backward_dtypes = self.backward_dtypesIfHpu
else:
backward_dtypes = self.backward_dtypes

Expand Down

0 comments on commit 840d3c3

Please sign in to comment.