Skip to content

Commit 3e4b00e

Browse files
Update tripy/nvtripy/backend/api/executable.py
Co-authored-by: pranavm-nvidia <[email protected]> Signed-off-by: yizhuoz004 <[email protected]>
1 parent bb8174c commit 3e4b00e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tripy/nvtripy/backend/api/executable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def add(a, b):
204204
raise_error(
205205
"Unexpected tensor device.",
206206
[
207-
f"For tensor: `{arg_name}`, expected to be on device: {expected_device} but got: {tensor.device.kind}.\n",
207+
f"Expected tensor: `{arg_name}` to be on device: {expected_device} but it was on: {tensor.device.kind}.\n",
208208
],
209209
)
210210

0 commit comments

Comments
 (0)