Closed jithunnair-amd closed 1 month ago
Tested successfully via: http://rocm-ci.amd.com/job/rocm-pytorch-manylinux-wheel-builder/296/
Tested that TorchVersion doesn't give an import error for packaging.
root@33e1cabcaf4e:/# pip list | grep setuptools setuptools 70.0.0 root@33e1cabcaf4e:/# python -c 'from pkg_resources import packaging' <string>:1: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: cannot import name 'packaging' from 'pkg_resources' (/usr/local/lib/python3.9/dist-packages/pkg_resources/__init__.py) root@33e1cabcaf4e:/# python -c 'import torch.torch_version; print(torch.torch_version.TorchVersion("1.0.0"))' 1.0.0 root@588a082ce4d1:/# python -c 'import torch.torch_version; print(torch.torch_version.TorchVersion(torch._vendor.packaging.version.Version("1.0.0")))' 1.0.0
Tested successfully via: http://rocm-ci.amd.com/job/rocm-pytorch-manylinux-wheel-builder/296/
Tested that TorchVersion doesn't give an import error for packaging.