diff --git a/thunder/executors/torch_compile.py b/thunder/executors/torch_compile.py index 7cb0fac0e0..5aaba1e64f 100644 --- a/thunder/executors/torch_compile.py +++ b/thunder/executors/torch_compile.py @@ -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)