[root@localhost CenterNet]# pip3 list |grep torch [root@localhost CenterNet]# [root@localhost CenterNet]# [root@localhost CenterNet]# [root@localhost CenterNet]# yum install pytorch-python3-2.0.1-2.an23.x86_64 Last metadata expiration check: 1:39:47 ago on Tue 15 Aug 2023 05:34:50 PM CST. Dependencies resolved. =========================================================================================================== Package Architecture Version Repository Size =========================================================================================================== Installing: pytorch-python3 x86_64 2.0.1-2.an23 EPAO 12 M Transaction Summary =========================================================================================================== Install 1 Package Total download size: 12 M Installed size: 68 M Is this ok [y/N]: y Downloading Packages: pytorch-python3-2.0.1-2.an23.x86_64.rpm 11 MB/s | 12 MB 00:01 ----------------------------------------------------------------------------------------------------------- Total 11 MB/s | 12 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : pytorch-python3-2.0.1-2.an23.x86_64 1/1 Running scriptlet: pytorch-python3-2.0.1-2.an23.x86_64 1/1 Verifying : pytorch-python3-2.0.1-2.an23.x86_64 1/1 Installed: pytorch-python3-2.0.1-2.an23.x86_64 Complete! [root@localhost CenterNet]# pip3 list |grep torch torch 2.0.0a0+gitunknown
在pytorch-2.0.1-3.an23 版本中修复。 # pip3 list | grep torch torch 2.0.1