-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
PyTorch 2.0 support #262
Comments
+1 |
Face the same problem. https://mmdetection.readthedocs.io/zh_CN/latest/notes/faq.html this may help.
|
Great work!
But when I use torch==2.0.0, I find that compilation for ViT fails. I get a warning:
[2023-03-27 12:49:31,505] torch._dynamo.convert_frame: [WARNING] torch._dynamo hit config.cache_size_limit (64)
function: 'forward' (/opt/conda/lib/python3.8/site-packages/vit_pytorch/vit.py:19)
reasons: ___check_obj_id(self, 140301176861456)
to diagnose recompilation issues, see https://pytorch.org/docs/master/dynamo/troubleshooting.html.
This indicates that pytorch gives up compiling the model. Why does it happens and is there any solutions?
Thanks!
The text was updated successfully, but these errors were encountered: