Skip to content

Commit 35547b6

Browse files
authored
Propagate rounding_mode in div_ (#2614)
1 parent e30133a commit 35547b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thunder/torch/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2379,7 +2379,7 @@ def div_(
23792379
*,
23802380
rounding_mode: None | str = None,
23812381
) -> TensorLike:
2382-
return _copy_(a, div(a, b))
2382+
return _copy_(a, div(a, b, rounding_mode=rounding_mode))
23832383

23842384

23852385
@torchsymbol(torch.eq, torch.Tensor.__eq__, is_method=True)

0 commit comments

Comments
 (0)