Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 26, 2024
1 parent 6165dc9 commit 4ccbfa8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions thunder/core/jit_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -909,10 +909,12 @@ def is_from_torch(fn):
fn_name = f"{fn.__module__}.{fn.__name__}"

# Probably merge with sharp edges
get_calling_opaque_torch_msg = lambda: f"Trying to call function {fn_name}, but it is not yet supported. " \
"Please file an issue requesting support. " \
"For getting a full list of unsupported functions we recommend " \
"running `examine` from the `thunder.examine` module on your callable/PyTorch module."
get_calling_opaque_torch_msg = (
lambda: f"Trying to call function {fn_name}, but it is not yet supported. "
"Please file an issue requesting support. "
"For getting a full list of unsupported functions we recommend "
"running `examine` from the `thunder.examine` module on your callable/PyTorch module."
)

return do_raise(NotImplementedError(get_calling_opaque_torch_msg()))

Expand Down

0 comments on commit 4ccbfa8

Please sign in to comment.