Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI and enable TKML to work with torch >= 2.2.0 #99

Merged
merged 4 commits into from
Feb 6, 2024

Conversation

danielholanda
Copy link
Collaborator

@danielholanda danielholanda commented Feb 5, 2024

Closes #98

Issue

Torch recently released version 2.2.0, which broke TKML's CI pipeline.

The issue is caused by torch dynamo instrumenting callback functions, which conflicts with TKML's analysis and causes it to crash before TKML can report that only models in eager mode are supported.

Torch versions supported

This PR has been manually tested with both torch 2.1.2 and torch 2.2.0. As a result, we can continue to assume that tkml works with the latest versions of torch.

@danielholanda danielholanda added the bug Something isn't working label Feb 5, 2024
@danielholanda danielholanda self-assigned this Feb 5, 2024
Copy link
Collaborator

@jeremyfowers jeremyfowers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really know what your code is doing so I'm gonna have to trust you here 😄

Does this resolve #84? Or that's still a problem (that possibly got worse)?

@jeremyfowers jeremyfowers merged commit a81ee37 into main Feb 6, 2024
10 checks passed
@jeremyfowers jeremyfowers deleted the fix_ci_dynamo_callback branch February 6, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix CI and enable TKML to work with torch >= 2.2.0
2 participants