Skip to content

[Dynamo] Fix dynamo tests and dump graph IR#153

Merged
yaoyaoding merged 2 commits intohidet-org:mainfrom
xinli-git:dynamo_fix
Apr 3, 2023
Merged

[Dynamo] Fix dynamo tests and dump graph IR#153
yaoyaoding merged 2 commits intohidet-org:mainfrom
xinli-git:dynamo_fix

Conversation

@xinli-git
Copy link
Copy Markdown
Contributor

It seems that torch.compile on a single torch.nn.* operator will not trigger compilation.

Use a temporary hack to wrap module by torch.nn.Sequential until a proper fix is introduced.

Now that this test is enabled, operators added previously for testing actually needed hidet support. Also fix some operator params that was misconfigured.

There was also a small bug where save_graph_ir was not called in PassContext for Dyamo, adding it here.

@yaoyaoding
Copy link
Copy Markdown
Member

Thanks @xinli-git !

@yaoyaoding yaoyaoding merged commit 25657c9 into hidet-org:main Apr 3, 2023
@xinli-git xinli-git deleted the dynamo_fix branch April 21, 2023 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants