Skip to content

Commit

Permalink
Give "f" to an error message which lacks it (#1644)
Browse files Browse the repository at this point in the history
  • Loading branch information
crcrpar authored and riccardofelluga committed Jan 27, 2025
1 parent 90e48af commit 805854f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thunder/executors/torch_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def _to_torch(*args, **kwargs) -> Any:
torch_op = pytorch_ex.opmap.get(bsym.subsymbols[0].sym.name)

if torch_op is None:
raise RuntimeError("op not found for {bsym.sym.name}")
raise RuntimeError(f"op not found for {bsym.sym.name}")

return torch_op(*args, **kwargs)

Expand Down

0 comments on commit 805854f

Please sign in to comment.