Skip to content

Commit

Permalink
Updates the test cases to use thunderfx (#1553)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiya00 authored Dec 13, 2024
1 parent d59f9ab commit 84ba13c
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 72 deletions.
4 changes: 2 additions & 2 deletions thunder/tests/framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import thunder.core.utils as utils

from thunder.core.trace import TraceCtx, detached_trace
from thunder.dynamo import ThunderCompiler
from thunder.dynamo import thunderfx

import thunder

Expand Down Expand Up @@ -255,7 +255,7 @@ class DynamoThunderTestExecutor(TestExecutor):
supported_dtypes = (datatypes.dtype,)

def make_callable(self, fn, **kwargs):
return torch.compile(backend=ThunderCompiler(**kwargs))(fn)
return thunderfx(fn, **kwargs)


# TODO Refactor these executors into the actual executor (sub)modules
Expand Down
Loading

0 comments on commit 84ba13c

Please sign in to comment.