-
Notifications
You must be signed in to change notification settings - Fork 213
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 and Torchvision version update #1216
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: yes <shailesh.tanwar@intel.com>
Signed-off-by: yes <shailesh.tanwar@intel.com>
Signed-off-by: yes <shailesh.tanwar@intel.com>
Signed-off-by: yes <shailesh.tanwar@intel.com>
Signed-off-by: yes <shailesh.tanwar@intel.com>
Signed-off-by: yes <shailesh.tanwar@intel.com>
Signed-off-by: yes <shailesh.tanwar@intel.com>
Signed-off-by: yes <shailesh.tanwar@intel.com>
Signed-off-by: yes <shailesh.tanwar@intel.com>
Signed-off-by: yes <shailesh.tanwar@intel.com>
Signed-off-by: yes <shailesh.tanwar@intel.com>
Signed-off-by: yes <shailesh.tanwar@intel.com>
Signed-off-by: yes <shailesh.tanwar@intel.com>
Pipelines are facing Issue pytorch/pytorch#140914. |
Thanks for raising the issue. Can you look into the possibility of adding the monkey patch to pytorch/pytorch#140914 (comment) If it works, we can maybe implement it while we wait for a more robust upstream solution, or we can investigate where/how |
Signed-off-by: yes <shailesh.tanwar@intel.com>
Signed-off-by: yes <shailesh.tanwar@intel.com>
Thank you @kta-intel. Workaround patch worked. |
Why are we insisting on pinning torch and torchvision, that too to latest versions? Is there anything we lose by using stable, yet recent torch versions? I am not in favor of instrumenting and applying hotfixes that become a future maintenance burden, especially if |
with |
Did we try 2.4.x? |
I believe 2.4.x was initially triggering the Though I think it is a practical solution, @MasterSkepticista brings up a good point that using |
Thank you @kta-intel and @MasterSkepticista for your inputs. I will downgrade the version to 2.4.x and check both issues. If neither issue or the type error is not encountered, I will proceed with 2.4.x. |
Signed-off-by: yes <shailesh.tanwar@intel.com>
Signed-off-by: yes <shailesh.tanwar@intel.com>
Signed-off-by: yes <shailesh.tanwar@intel.com>
@MasterSkepticista @kta-intel, We are using version 2.4.1 now without patch. Please review again. |
@@ -1,7 +1,7 @@ | |||
numpy>=1.22.2 # not directly required, pinned by Snyk to avoid a vulnerability | |||
rsa>=4.7 # not directly required, pinned by Snyk to avoid a vulnerability | |||
setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability | |||
setuptools==59.6.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like pinning to 59.6.0
will trigger Snyk vulnerability concerns. Will this cause us issues down the line?
Thanks for checking into that @tanwarsh. Glad 2.4.1 is not raising the TypeError issue. My open now is if downgrading |
Update PyTorch to version 2.4.1 and Torchvision to version 0.19.1.
setuptools is pinned to 59.6.0 as with latest version we are facing issue pytorch/pytorch#143288.
Fix for #1075.