-
Notifications
You must be signed in to change notification settings - Fork 80
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
Support for torchvision models, e.g., a simple ViT #93
Comments
Hey Seb! @nikitaved Just merged a PR to improve the messaging here: #78 The TLDR is that you want to run from thunder.examine import examine
x = ...
model = ...
examine(model, x) It would be useful if you can include here what it reports for those models. |
This is nice, thanks! The report is
So the culprit seems to be https://github.com/pytorch/pytorch/blob/1e8d4b389b5f03cea191ed558051f036fe04f92d/torch/nn/functional.py#L5163 |
triage review: We think there are three issues here: First issue:
Second issue:
Third issue:
Can we break this issue up into those three, @rasbt? |
This sounds totally reasonable, please feel free to break it up into these three. Re first issue: Not sure if that's feasible, but perhaps even automatically calling |
🐛 Bug
I was trying to run a simple torchvision ViT and am getting the following error:
Not sure how to go about debugging this. I thought that sharing this may help improving thunder in terms of supporting more models and edge cases
To Reproduce
Steps to reproduce the behavior:
I attached self-contained code in the zip.
Code sample
See zip attached
Expected behavior
Either a clearer error message or ideally it should work :)
Environment
Same as Zero to Thunder studio.
Archive.zip
cc @apaz-cli
The text was updated successfully, but these errors were encountered: