-
Notifications
You must be signed in to change notification settings - Fork 66
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
Issues with torch.compile #196
Comments
I'd suggest raising this with the PyTorch folks, including a MWE. This is likely this is an instance of hitting something |
Hmm, I managed to fix a few things and rearrange, but now I get:
which I would guess is because the compile rewrite the forward pass as a pure function? |
I'm not sure of the details of |
Hi @botev , I face exactly the same (original) problem. |
Unfortunately no, I just disabled the guard for PyTorch. |
We are very happy with the fact that jaxtyping supports Pytorch as well, but we are currently hitting some kind of weird error/edge case and was hoping if you can give some suggestions.
When compiling a module and trying to run it we get this stacktrace:
The text was updated successfully, but these errors were encountered: