-
Notifications
You must be signed in to change notification settings - Fork 55
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 import is extremely slow #1232
Comments
|
Noticed the code was traversing a bunch a directory, put a breakpoint on __NR_newfstatat 262
|
So that code is causing the slowness https://github.com/pytorch/builder/blob/main/common/install_rocm_drm.sh#L100 |
Additionally that file is just a mapping between the product ID and the marketing ID. |
creating the file right were the function starts to look does not prevent the directory walk. |
Just started using PyTorch-rocm. And import PyTorch is indeed very slow. |
🐛 Describe the bug
Versions
The text was updated successfully, but these errors were encountered: