Skip to content

Commit 119d154

Browse files
committed
remove sub check
1 parent f593ec9 commit 119d154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dipu/scripts/autogen_diopi_wrapper/diopi_functions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
- schema: "sub.Tensor(Tensor self, Tensor other, *, Scalar alpha=1) -> Tensor"
8585
ins: [selfTmp]
8686
custom_code_at_the_beginning: |
87-
at::native::sub_check(self, other);
87+
// at::native::sub_check(self, other);
8888
8989
if (is_scalar_on_cpu(other)) {
9090
return dipu_sub_scalar(self, other.item(), alpha);

0 commit comments

Comments
 (0)