You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix torchao version check on torch version (#2918)
Summary:
Fix error in #2908. The version string for
PyTorch 2.8 reads "2.8.0...", so we need to compare `>= 2.9` to properly
gate out PyTorch 2.9.
Test Plan:
1. make this change in a locally installed __init__ file of torchao
downloaded via pip
2. install PyTorch 2.8.0
3. import torchao, verify warning was not hit
Reviewers:
Subscribers:
Tasks:
Tags:
0 commit comments