20250109使用M6000显卡在Ubuntu20.04.6下跑whisper来识别中英文字幕

news2025/1/11 14:18:04

20250109使用M6000显卡在Ubuntu20.04.6下跑whisper来识别中英文字幕
2025/1/9 20:57


https://blog.csdn.net/wb4916/article/details/144541848
20241217使用M6000显卡在WIN10下跑whisper来识别中英文字幕

步骤:
1、在NVIDIA的官网下载并安装M6000显卡在WIN10下的最新驱动程序。
2、安装ffmpeg预编译版本。
3、安装python3.8,一定不要去Microsoft的软件商城里安装最新的python3.13等。最新的python不好安装Torch。
4、安装torch
5、安装whisper
6、开始识别。需要使用large模式


1、在NVIDIA的官网下载并安装M6000显卡在WIN10下的最新驱动程序。
https://blog.csdn.net/wb4916/article/details/144698089
20241224在Ubuntu20.04.6下给X99平台上的M6000显卡安装驱动程序
https://www.nvidia.cn/
https://www.nvidia.cn/drivers/lookup/
NVIDIA RTX / Quadro
Quadro Series
Quadro M6000
Windows 10 64-bit
Chinese (Simplified)


2、安装ffmpeg预编译版本。
sudo apt-get install ffmpeg

rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ sudo apt-get install ffmpeg

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  i965-va-driver intel-media-va-driver libaacs0 libaom0 libass9 libavcodec58 libavdevice58 libavfilter7 libavformat58 libavresample4 libavutil56 libbdplus0 libbluray2 libbs2b0 libchromaprint1 libcodec2-0.9
  libdc1394-22 libflite1 libgme0 libgsm1 libigdgmm11 liblilv-0-0 libmysofa1 libnorm1 libopenal-data libopenal1 libopenmpt0 libpgm-5.2-0 libpostproc55 librubberband2 libsdl2-2.0-0 libserd-0-0 libshine3
  libsnappy1v5 libsndio7.0 libsord-0-0 libsratom-0-0 libssh-gcrypt-4 libswresample3 libswscale5 libva-drm2 libva-x11-2 libva2 libvdpau1 libvidstab1.1 libx264-155 libx265-179 libxvidcore4 libzmq5
  libzvbi-common libzvbi0 mesa-va-drivers mesa-vdpau-drivers ocl-icd-libopencl1 va-driver-all vdpau-driver-all
Suggested packages:
  ffmpeg-doc i965-va-driver-shaders libbluray-bdj libportaudio2 serdi sndiod sordi opencl-icd libvdpau-va-gl1 nvidia-vdpau-driver nvidia-legacy-340xx-vdpau-driver nvidia-legacy-304xx-vdpau-driver
The following NEW packages will be installed:
  ffmpeg i965-va-driver intel-media-va-driver libaacs0 libaom0 libass9 libavcodec58 libavdevice58 libavfilter7 libavformat58 libavresample4 libavutil56 libbdplus0 libbluray2 libbs2b0 libchromaprint1
  libcodec2-0.9 libdc1394-22 libflite1 libgme0 libgsm1 libigdgmm11 liblilv-0-0 libmysofa1 libnorm1 libopenal-data libopenal1 libopenmpt0 libpgm-5.2-0 libpostproc55 librubberband2 libsdl2-2.0-0 libserd-0-0
  libshine3 libsnappy1v5 libsndio7.0 libsord-0-0 libsratom-0-0 libssh-gcrypt-4 libswresample3 libswscale5 libva-drm2 libva-x11-2 libva2 libvdpau1 libvidstab1.1 libx264-155 libx265-179 libxvidcore4 libzmq5
  libzvbi-common libzvbi0 mesa-va-drivers mesa-vdpau-drivers ocl-icd-libopencl1 va-driver-all vdpau-driver-all
0 upgraded, 57 newly installed, 0 to remove and 76 not upgraded.
Need to get 45.4 MB of archives.
After this operation, 207 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 libaom0 amd64 1.0.0.errata1-3+deb11u1build0.20.04.1 [1,161 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libva2 amd64 2.7.0-2 [53.5 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libva-drm2 amd64 2.7.0-2 [7,044 B]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libva-x11-2 amd64 2.7.0-2 [11.9 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 libvdpau1 amd64 1.3-1ubuntu2 [25.6 kB]
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 ocl-icd-libopencl1 amd64 2.2.11-1ubuntu1 [30.3 kB]
Get:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 libavutil56 amd64 7:4.2.7-0ubuntu0.1 [241 kB]
Get:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libcodec2-0.9 amd64 0.9.2-2 [7,886 kB]
Get:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libgsm1 amd64 1.0.18-2 [24.4 kB]
Get:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libshine3 amd64 3.1.1-2 [23.2 kB]
Get:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 libsnappy1v5 amd64 1.1.8-1build1 [16.7 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 libswresample3 amd64 7:4.2.7-0ubuntu0.1 [57.1 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libx264-155 amd64 2:0.155.2917+git0a84d98-2 [521 kB]
Get:14 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libx265-179 amd64 3.2.1-1build1 [1,060 kB]
Get:15 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libxvidcore4 amd64 2:1.3.7-1 [201 kB]
Get:16 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libzvbi-common all 0.2.35-17 [32.5 kB]
Get:17 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libzvbi0 amd64 0.2.35-17 [237 kB]
Get:18 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 libavcodec58 amd64 7:4.2.7-0ubuntu0.1 [4,878 kB]
Get:19 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libass9 amd64 1:0.14.0-2 [88.0 kB]
Get:20 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libbluray2 amd64 1:1.2.0-1 [138 kB]
Get:21 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libchromaprint1 amd64 1.4.3-3build1 [37.6 kB]
Get:22 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libgme0 amd64 0.6.2-1build1 [123 kB]
Get:23 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libopenmpt0 amd64 0.4.11-1build1 [599 kB]
Get:24 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 libssh-gcrypt-4 amd64 0.9.3-2ubuntu2.5 [202 kB]
Get:25 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 libavformat58 amd64 7:4.2.7-0ubuntu0.1 [985 kB]
Get:26 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libbs2b0 amd64 3.1.0+dfsg-2.2build1 [10.2 kB]
Get:27 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libflite1 amd64 2.1-release-3 [12.8 MB]
Get:28 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libserd-0-0 amd64 0.30.2-1 [46.6 kB]
Get:29 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libsord-0-0 amd64 0.16.4-1 [19.5 kB]                                                                                                     
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libsratom-0-0 amd64 0.6.4-1 [16.9 kB]                                                                                                    
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 liblilv-0-0 amd64 0.24.6-1ubuntu0.1 [40.6 kB]                                                                                    
Get:32 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libmysofa1 amd64 1.0~dfsg0-1 [39.2 kB]                                                                                                   
Get:33 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 libpostproc55 amd64 7:4.2.7-0ubuntu0.1 [55.0 kB]                                                                                 
Get:34 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 librubberband2 amd64 1.8.2-1build1 [89.4 kB]                                                                                             
Get:35 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 libswscale5 amd64 7:4.2.7-0ubuntu0.1 [157 kB]                                                                                    
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libvidstab1.1 amd64 1.1.0-2 [35.0 kB]                                                                                                    
Get:37 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libnorm1 amd64 1.5.8+dfsg2-2build1 [290 kB]                                                                                              
Get:38 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libpgm-5.2-0 amd64 5.2.122~dfsg-3ubuntu1 [158 kB]                                                                                        
Get:39 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libzmq5 amd64 4.3.2-2ubuntu1 [242 kB]                                                                                                    
Get:40 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 libavfilter7 amd64 7:4.2.7-0ubuntu0.1 [1,085 kB]                                                                                 
Get:41 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libdc1394-22 amd64 2.2.5-2.1 [79.6 kB]                                                                                                   
Get:42 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libopenal-data all 1:1.19.1-1 [162 kB]                                                                                                   
Get:43 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libsndio7.0 amd64 1.5.0-3 [24.5 kB]                                                                                                      
Get:44 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libopenal1 amd64 1:1.19.1-1 [492 kB]                                                                                                     
Get:45 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libsdl2-2.0-0 amd64 2.0.10+dfsg1-3 [407 kB]                                                                                              
Get:46 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 libavdevice58 amd64 7:4.2.7-0ubuntu0.1 [74.3 kB]                                                                                 
Get:47 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 libavresample4 amd64 7:4.2.7-0ubuntu0.1 [54.2 kB]                                                                                
Get:48 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 ffmpeg amd64 7:4.2.7-0ubuntu0.1 [1,453 kB]                                                                                       
Get:49 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libigdgmm11 amd64 20.1.1+ds1-1 [111 kB]                                                                                                  
Get:50 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 intel-media-va-driver amd64 20.1.1+dfsg1-1 [1,764 kB]                                                                                    
Get:51 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libaacs0 amd64 0.9.0-2 [50.1 kB]                                                                                                         
Get:52 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libbdplus0 amd64 0.1.2-3 [47.3 kB]                                                                                                       
Get:53 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 mesa-va-drivers amd64 21.2.6-0ubuntu0.1~20.04.2 [2,970 kB]                                                                       
Get:54 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 mesa-vdpau-drivers amd64 21.2.6-0ubuntu0.1~20.04.2 [3,089 kB]                                                                        
Get:55 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 i965-va-driver amd64 2.4.0-0ubuntu1 [924 kB]                                                                                             
Get:56 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 va-driver-all amd64 2.7.0-2 [4,020 B]                                                                                                    
Get:57 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 vdpau-driver-all amd64 1.3-1ubuntu2 [4,596 B]                                                                                                
Fetched 45.4 MB in 33s (1,359 kB/s)                                                                                                                                                                             
Extracting templates from packages: 100%
Selecting previously unselected package libaom0:amd64.
(Reading database ... 199373 files and directories currently installed.)
Preparing to unpack .../00-libaom0_1.0.0.errata1-3+deb11u1build0.20.04.1_amd64.deb ...
Unpacking libaom0:amd64 (1.0.0.errata1-3+deb11u1build0.20.04.1) ...
Selecting previously unselected package libva2:amd64.
Preparing to unpack .../01-libva2_2.7.0-2_amd64.deb ...
Unpacking libva2:amd64 (2.7.0-2) ...
Selecting previously unselected package libva-drm2:amd64.
Preparing to unpack .../02-libva-drm2_2.7.0-2_amd64.deb ...
Unpacking libva-drm2:amd64 (2.7.0-2) ...
Selecting previously unselected package libva-x11-2:amd64.
Preparing to unpack .../03-libva-x11-2_2.7.0-2_amd64.deb ...
Unpacking libva-x11-2:amd64 (2.7.0-2) ...
Selecting previously unselected package libvdpau1:amd64.
Preparing to unpack .../04-libvdpau1_1.3-1ubuntu2_amd64.deb ...
Unpacking libvdpau1:amd64 (1.3-1ubuntu2) ...
Selecting previously unselected package ocl-icd-libopencl1:amd64.
Preparing to unpack .../05-ocl-icd-libopencl1_2.2.11-1ubuntu1_amd64.deb ...
Unpacking ocl-icd-libopencl1:amd64 (2.2.11-1ubuntu1) ...
Selecting previously unselected package libavutil56:amd64.
Preparing to unpack .../06-libavutil56_7%3a4.2.7-0ubuntu0.1_amd64.deb ...
Unpacking libavutil56:amd64 (7:4.2.7-0ubuntu0.1) ...
Selecting previously unselected package libcodec2-0.9:amd64.
Preparing to unpack .../07-libcodec2-0.9_0.9.2-2_amd64.deb ...
Unpacking libcodec2-0.9:amd64 (0.9.2-2) ...
Selecting previously unselected package libgsm1:amd64.
Preparing to unpack .../08-libgsm1_1.0.18-2_amd64.deb ...
Unpacking libgsm1:amd64 (1.0.18-2) ...
Selecting previously unselected package libshine3:amd64.
Preparing to unpack .../09-libshine3_3.1.1-2_amd64.deb ...
Unpacking libshine3:amd64 (3.1.1-2) ...
Selecting previously unselected package libsnappy1v5:amd64.
Preparing to unpack .../10-libsnappy1v5_1.1.8-1build1_amd64.deb ...
Unpacking libsnappy1v5:amd64 (1.1.8-1build1) ...
Selecting previously unselected package libswresample3:amd64.
Preparing to unpack .../11-libswresample3_7%3a4.2.7-0ubuntu0.1_amd64.deb ...
Unpacking libswresample3:amd64 (7:4.2.7-0ubuntu0.1) ...
Selecting previously unselected package libx264-155:amd64.
Preparing to unpack .../12-libx264-155_2%3a0.155.2917+git0a84d98-2_amd64.deb ...
Unpacking libx264-155:amd64 (2:0.155.2917+git0a84d98-2) ...
Selecting previously unselected package libx265-179:amd64.
Preparing to unpack .../13-libx265-179_3.2.1-1build1_amd64.deb ...
Unpacking libx265-179:amd64 (3.2.1-1build1) ...
Selecting previously unselected package libxvidcore4:amd64.
Preparing to unpack .../14-libxvidcore4_2%3a1.3.7-1_amd64.deb ...
Unpacking libxvidcore4:amd64 (2:1.3.7-1) ...
Selecting previously unselected package libzvbi-common.
Preparing to unpack .../15-libzvbi-common_0.2.35-17_all.deb ...
Unpacking libzvbi-common (0.2.35-17) ...
Selecting previously unselected package libzvbi0:amd64.
Preparing to unpack .../16-libzvbi0_0.2.35-17_amd64.deb ...
Unpacking libzvbi0:amd64 (0.2.35-17) ...
Selecting previously unselected package libavcodec58:amd64.
Preparing to unpack .../17-libavcodec58_7%3a4.2.7-0ubuntu0.1_amd64.deb ...
Unpacking libavcodec58:amd64 (7:4.2.7-0ubuntu0.1) ...
Selecting previously unselected package libass9:amd64.
Preparing to unpack .../18-libass9_1%3a0.14.0-2_amd64.deb ...
Unpacking libass9:amd64 (1:0.14.0-2) ...
Selecting previously unselected package libbluray2:amd64.
Preparing to unpack .../19-libbluray2_1%3a1.2.0-1_amd64.deb ...
Unpacking libbluray2:amd64 (1:1.2.0-1) ...
Selecting previously unselected package libchromaprint1:amd64.
Preparing to unpack .../20-libchromaprint1_1.4.3-3build1_amd64.deb ...
Unpacking libchromaprint1:amd64 (1.4.3-3build1) ...
Selecting previously unselected package libgme0:amd64.
Preparing to unpack .../21-libgme0_0.6.2-1build1_amd64.deb ...
Unpacking libgme0:amd64 (0.6.2-1build1) ...
Selecting previously unselected package libopenmpt0:amd64.
Preparing to unpack .../22-libopenmpt0_0.4.11-1build1_amd64.deb ...
Unpacking libopenmpt0:amd64 (0.4.11-1build1) ...
Selecting previously unselected package libssh-gcrypt-4:amd64.
Preparing to unpack .../23-libssh-gcrypt-4_0.9.3-2ubuntu2.5_amd64.deb ...
Unpacking libssh-gcrypt-4:amd64 (0.9.3-2ubuntu2.5) ...
Selecting previously unselected package libavformat58:amd64.
Preparing to unpack .../24-libavformat58_7%3a4.2.7-0ubuntu0.1_amd64.deb ...
Unpacking libavformat58:amd64 (7:4.2.7-0ubuntu0.1) ...
Selecting previously unselected package libbs2b0:amd64.
Preparing to unpack .../25-libbs2b0_3.1.0+dfsg-2.2build1_amd64.deb ...
Unpacking libbs2b0:amd64 (3.1.0+dfsg-2.2build1) ...
Selecting previously unselected package libflite1:amd64.
Preparing to unpack .../26-libflite1_2.1-release-3_amd64.deb ...
Unpacking libflite1:amd64 (2.1-release-3) ...
Selecting previously unselected package libserd-0-0:amd64.
Preparing to unpack .../27-libserd-0-0_0.30.2-1_amd64.deb ...
Unpacking libserd-0-0:amd64 (0.30.2-1) ...
Selecting previously unselected package libsord-0-0:amd64.
Preparing to unpack .../28-libsord-0-0_0.16.4-1_amd64.deb ...
Unpacking libsord-0-0:amd64 (0.16.4-1) ...
Selecting previously unselected package libsratom-0-0:amd64.
Preparing to unpack .../29-libsratom-0-0_0.6.4-1_amd64.deb ...
Unpacking libsratom-0-0:amd64 (0.6.4-1) ...
Selecting previously unselected package liblilv-0-0:amd64.
Preparing to unpack .../30-liblilv-0-0_0.24.6-1ubuntu0.1_amd64.deb ...
Unpacking liblilv-0-0:amd64 (0.24.6-1ubuntu0.1) ...
Selecting previously unselected package libmysofa1:amd64.
Preparing to unpack .../31-libmysofa1_1.0~dfsg0-1_amd64.deb ...
Unpacking libmysofa1:amd64 (1.0~dfsg0-1) ...
Selecting previously unselected package libpostproc55:amd64.
Preparing to unpack .../32-libpostproc55_7%3a4.2.7-0ubuntu0.1_amd64.deb ...
Unpacking libpostproc55:amd64 (7:4.2.7-0ubuntu0.1) ...
Selecting previously unselected package librubberband2:amd64.
Preparing to unpack .../33-librubberband2_1.8.2-1build1_amd64.deb ...
Unpacking librubberband2:amd64 (1.8.2-1build1) ...
Selecting previously unselected package libswscale5:amd64.
Preparing to unpack .../34-libswscale5_7%3a4.2.7-0ubuntu0.1_amd64.deb ...
Unpacking libswscale5:amd64 (7:4.2.7-0ubuntu0.1) ...
Selecting previously unselected package libvidstab1.1:amd64.
Preparing to unpack .../35-libvidstab1.1_1.1.0-2_amd64.deb ...
Unpacking libvidstab1.1:amd64 (1.1.0-2) ...
Selecting previously unselected package libnorm1:amd64.
Preparing to unpack .../36-libnorm1_1.5.8+dfsg2-2build1_amd64.deb ...
Unpacking libnorm1:amd64 (1.5.8+dfsg2-2build1) ...
Selecting previously unselected package libpgm-5.2-0:amd64.
Preparing to unpack .../37-libpgm-5.2-0_5.2.122~dfsg-3ubuntu1_amd64.deb ...
Unpacking libpgm-5.2-0:amd64 (5.2.122~dfsg-3ubuntu1) ...
Selecting previously unselected package libzmq5:amd64.
Preparing to unpack .../38-libzmq5_4.3.2-2ubuntu1_amd64.deb ...
Unpacking libzmq5:amd64 (4.3.2-2ubuntu1) ...
Selecting previously unselected package libavfilter7:amd64.
Preparing to unpack .../39-libavfilter7_7%3a4.2.7-0ubuntu0.1_amd64.deb ...
Unpacking libavfilter7:amd64 (7:4.2.7-0ubuntu0.1) ...
Selecting previously unselected package libdc1394-22:amd64.
Preparing to unpack .../40-libdc1394-22_2.2.5-2.1_amd64.deb ...
Unpacking libdc1394-22:amd64 (2.2.5-2.1) ...
Selecting previously unselected package libopenal-data.
Preparing to unpack .../41-libopenal-data_1%3a1.19.1-1_all.deb ...
Unpacking libopenal-data (1:1.19.1-1) ...
Selecting previously unselected package libsndio7.0:amd64.
Preparing to unpack .../42-libsndio7.0_1.5.0-3_amd64.deb ...
Unpacking libsndio7.0:amd64 (1.5.0-3) ...
Selecting previously unselected package libopenal1:amd64.
Preparing to unpack .../43-libopenal1_1%3a1.19.1-1_amd64.deb ...
Unpacking libopenal1:amd64 (1:1.19.1-1) ...
Selecting previously unselected package libsdl2-2.0-0:amd64.
Preparing to unpack .../44-libsdl2-2.0-0_2.0.10+dfsg1-3_amd64.deb ...
Unpacking libsdl2-2.0-0:amd64 (2.0.10+dfsg1-3) ...
Selecting previously unselected package libavdevice58:amd64.
Preparing to unpack .../45-libavdevice58_7%3a4.2.7-0ubuntu0.1_amd64.deb ...
Unpacking libavdevice58:amd64 (7:4.2.7-0ubuntu0.1) ...
Selecting previously unselected package libavresample4:amd64.
Preparing to unpack .../46-libavresample4_7%3a4.2.7-0ubuntu0.1_amd64.deb ...
Unpacking libavresample4:amd64 (7:4.2.7-0ubuntu0.1) ...
Selecting previously unselected package ffmpeg.
Preparing to unpack .../47-ffmpeg_7%3a4.2.7-0ubuntu0.1_amd64.deb ...
Unpacking ffmpeg (7:4.2.7-0ubuntu0.1) ...
Selecting previously unselected package libigdgmm11:amd64.
Preparing to unpack .../48-libigdgmm11_20.1.1+ds1-1_amd64.deb ...
Unpacking libigdgmm11:amd64 (20.1.1+ds1-1) ...
Selecting previously unselected package intel-media-va-driver:amd64.
Preparing to unpack .../49-intel-media-va-driver_20.1.1+dfsg1-1_amd64.deb ...
Unpacking intel-media-va-driver:amd64 (20.1.1+dfsg1-1) ...
Selecting previously unselected package libaacs0:amd64.
Preparing to unpack .../50-libaacs0_0.9.0-2_amd64.deb ...
Unpacking libaacs0:amd64 (0.9.0-2) ...
Selecting previously unselected package libbdplus0:amd64.
Preparing to unpack .../51-libbdplus0_0.1.2-3_amd64.deb ...
Unpacking libbdplus0:amd64 (0.1.2-3) ...
Selecting previously unselected package mesa-va-drivers:amd64.
Preparing to unpack .../52-mesa-va-drivers_21.2.6-0ubuntu0.1~20.04.2_amd64.deb ...
Unpacking mesa-va-drivers:amd64 (21.2.6-0ubuntu0.1~20.04.2) ...
Selecting previously unselected package mesa-vdpau-drivers:amd64.
Preparing to unpack .../53-mesa-vdpau-drivers_21.2.6-0ubuntu0.1~20.04.2_amd64.deb ...
Unpacking mesa-vdpau-drivers:amd64 (21.2.6-0ubuntu0.1~20.04.2) ...
Selecting previously unselected package i965-va-driver:amd64.
Preparing to unpack .../54-i965-va-driver_2.4.0-0ubuntu1_amd64.deb ...
Unpacking i965-va-driver:amd64 (2.4.0-0ubuntu1) ...
Selecting previously unselected package va-driver-all:amd64.
Preparing to unpack .../55-va-driver-all_2.7.0-2_amd64.deb ...
Unpacking va-driver-all:amd64 (2.7.0-2) ...
Selecting previously unselected package vdpau-driver-all:amd64.
Preparing to unpack .../56-vdpau-driver-all_1.3-1ubuntu2_amd64.deb ...
Unpacking vdpau-driver-all:amd64 (1.3-1ubuntu2) ...
Setting up libgme0:amd64 (0.6.2-1build1) ...
Setting up libssh-gcrypt-4:amd64 (0.9.3-2ubuntu2.5) ...
Setting up libshine3:amd64 (3.1.1-2) ...
Setting up libgsm1:amd64 (1.0.18-2) ...
Setting up libx264-155:amd64 (2:0.155.2917+git0a84d98-2) ...
Setting up libx265-179:amd64 (3.2.1-1build1) ...
Setting up libaom0:amd64 (1.0.0.errata1-3+deb11u1build0.20.04.1) ...
Setting up libnorm1:amd64 (1.5.8+dfsg2-2build1) ...
Setting up libmysofa1:amd64 (1.0~dfsg0-1) ...
Setting up libdc1394-22:amd64 (2.2.5-2.1) ...
Setting up libxvidcore4:amd64 (2:1.3.7-1) ...
Setting up libsnappy1v5:amd64 (1.1.8-1build1) ...
Setting up libass9:amd64 (1:0.14.0-2) ...
Setting up libva2:amd64 (2.7.0-2) ...
Setting up libigdgmm11:amd64 (20.1.1+ds1-1) ...
Setting up libcodec2-0.9:amd64 (0.9.2-2) ...
Setting up intel-media-va-driver:amd64 (20.1.1+dfsg1-1) ...
Setting up libaacs0:amd64 (0.9.0-2) ...
Setting up librubberband2:amd64 (1.8.2-1build1) ...
Setting up libsndio7.0:amd64 (1.5.0-3) ...
Setting up libbdplus0:amd64 (0.1.2-3) ...
Setting up libvidstab1.1:amd64 (1.1.0-2) ...
Setting up libflite1:amd64 (2.1-release-3) ...
Setting up libva-drm2:amd64 (2.7.0-2) ...
Setting up ocl-icd-libopencl1:amd64 (2.2.11-1ubuntu1) ...
Setting up libvdpau1:amd64 (1.3-1ubuntu2) ...
Setting up libbs2b0:amd64 (3.1.0+dfsg-2.2build1) ...
Setting up libopenal-data (1:1.19.1-1) ...
Setting up mesa-va-drivers:amd64 (21.2.6-0ubuntu0.1~20.04.2) ...
Setting up libbluray2:amd64 (1:1.2.0-1) ...
Setting up libsdl2-2.0-0:amd64 (2.0.10+dfsg1-3) ...
Setting up libva-x11-2:amd64 (2.7.0-2) ...
Setting up libopenmpt0:amd64 (0.4.11-1build1) ...
Setting up libzvbi-common (0.2.35-17) ...
Setting up i965-va-driver:amd64 (2.4.0-0ubuntu1) ...
Setting up libpgm-5.2-0:amd64 (5.2.122~dfsg-3ubuntu1) ...
Setting up libserd-0-0:amd64 (0.30.2-1) ...
Setting up mesa-vdpau-drivers:amd64 (21.2.6-0ubuntu0.1~20.04.2) ...
Setting up libzvbi0:amd64 (0.2.35-17) ...
Setting up libzmq5:amd64 (4.3.2-2ubuntu1) ...
Setting up libopenal1:amd64 (1:1.19.1-1) ...
Setting up libavutil56:amd64 (7:4.2.7-0ubuntu0.1) ...
Setting up va-driver-all:amd64 (2.7.0-2) ...
Setting up libpostproc55:amd64 (7:4.2.7-0ubuntu0.1) ...
Setting up vdpau-driver-all:amd64 (1.3-1ubuntu2) ...
Setting up libsord-0-0:amd64 (0.16.4-1) ...
Setting up libsratom-0-0:amd64 (0.6.4-1) ...
Setting up libswscale5:amd64 (7:4.2.7-0ubuntu0.1) ...
Setting up liblilv-0-0:amd64 (0.24.6-1ubuntu0.1) ...
Setting up libswresample3:amd64 (7:4.2.7-0ubuntu0.1) ...
Setting up libavresample4:amd64 (7:4.2.7-0ubuntu0.1) ...
Setting up libavcodec58:amd64 (7:4.2.7-0ubuntu0.1) ...
Setting up libchromaprint1:amd64 (1.4.3-3build1) ...
Setting up libavformat58:amd64 (7:4.2.7-0ubuntu0.1) ...
Setting up libavfilter7:amd64 (7:4.2.7-0ubuntu0.1) ...
Setting up libavdevice58:amd64 (7:4.2.7-0ubuntu0.1) ...
Setting up ffmpeg (7:4.2.7-0ubuntu0.1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.16) ...
rootroot@rootroot-X99-Turbo:~$ 


3、安装python3.8,一定不要去Microsoft的软件商城里安装最新的python3.13等。最新的python不好安装Torch。
Ubuntu20.04.6已经默认内置python3.8了?
反正我会安装Rockchip【RK3566/RK3588等】的Android12/13和Buildroot的编译环境。很多软件就直接安装了!

rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ python3
Python 3.8.10 (default, Nov  7 2024, 13:10:47) 
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
rootroot@rootroot-X99-Turbo:~$ 


4、安装torch

https://blog.csdn.net/m0_52156129/article/details/129263703
如何在你的电脑上完成whisper的简单部署

【根据你的位置或者网速,你下载的速度可能会很慢或者中断,重来即可!^_】
https://pytorch.org/get-started/locally/

rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ nvidia-smi 
Fri Dec 27 10:08:26 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.142                Driver Version: 550.142        CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  Quadro M6000                   Off |   00000000:03:00.0  On |                  Off |
| 26%   36C    P8             17W /  250W |     500MiB /  12288MiB |      1%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      1562      G   /usr/lib/xorg/Xorg                            111MiB |
|    0   N/A  N/A      1857      G   /usr/bin/gnome-shell                          155MiB |
|    0   N/A  N/A      2330      G   /usr/lib/firefox/firefox                      194MiB |
|    0   N/A  N/A      4626      G   ...AAAAAAAIAAAAAAAAAA== --shared-files         29MiB |
+-----------------------------------------------------------------------------------------+
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ pip3 install torch torchvision torchaudio
Collecting torch
  Downloading torch-2.4.1-cp38-cp38-manylinux1_x86_64.whl (797.1 MB)
     |████████████████████████████████| 797.1 MB 21 kB/s 
Collecting torchvision
  Downloading torchvision-0.19.1-cp38-cp38-manylinux1_x86_64.whl (7.0 MB)
     |████████████████████████████████| 7.0 MB 29.8 MB/s 
Collecting torchaudio
  Downloading torchaudio-2.4.1-cp38-cp38-manylinux1_x86_64.whl (3.4 MB)
     |████████████████████████████████| 3.4 MB 33.4 MB/s 
Collecting triton==3.0.0; platform_system == "Linux" and platform_machine == "x86_64" and python_version < "3.13"
  Downloading triton-3.0.0-1-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (209.4 MB)
     |████████████████████████████████| 209.4 MB 1.3 MB/s 
Collecting nvidia-cuda-runtime-cu12==12.1.105; platform_system == "Linux" and platform_machine == "x86_64"
  Downloading nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (823 kB)
     |████████████████████████████████| 823 kB 41.4 MB/s 
Collecting nvidia-cublas-cu12==12.1.3.1; platform_system == "Linux" and platform_machine == "x86_64"
  Downloading nvidia_cublas_cu12-12.1.3.1-py3-none-manylinux1_x86_64.whl (410.6 MB)
     |████████████████████████████████| 410.6 MB 11 kB/s 
Collecting networkx
  Downloading networkx-3.1-py3-none-any.whl (2.1 MB)
     |████████████████████████████████| 2.1 MB 39.0 MB/s 
Collecting nvidia-cufft-cu12==11.0.2.54; platform_system == "Linux" and platform_machine == "x86_64"
  Downloading nvidia_cufft_cu12-11.0.2.54-py3-none-manylinux1_x86_64.whl (121.6 MB)
     |████████████████████████████████| 121.6 MB 1.6 MB/s 
Collecting nvidia-cuda-cupti-cu12==12.1.105; platform_system == "Linux" and platform_machine == "x86_64"
  Downloading nvidia_cuda_cupti_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (14.1 MB)
     |████████████████████████████████| 14.1 MB 42.3 MB/s 
Collecting nvidia-curand-cu12==10.3.2.106; platform_system == "Linux" and platform_machine == "x86_64"
  Downloading nvidia_curand_cu12-10.3.2.106-py3-none-manylinux1_x86_64.whl (56.5 MB)
     |████████████████████████████████| 56.5 MB 1.4 MB/s 
Collecting nvidia-nccl-cu12==2.20.5; platform_system == "Linux" and platform_machine == "x86_64"
  Downloading nvidia_nccl_cu12-2.20.5-py3-none-manylinux2014_x86_64.whl (176.2 MB)
     |████████████████████████████████| 176.2 MB 94 kB/s 
Collecting nvidia-cusolver-cu12==11.4.5.107; platform_system == "Linux" and platform_machine == "x86_64"
  Downloading nvidia_cusolver_cu12-11.4.5.107-py3-none-manylinux1_x86_64.whl (124.2 MB)
     |████████████████████████████████| 124.2 MB 1.7 MB/s 
Collecting typing-extensions>=4.8.0
  Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Collecting fsspec
  Downloading fsspec-2024.12.0-py3-none-any.whl (183 kB)
     |████████████████████████████████| 183 kB 38.2 MB/s 
Collecting sympy
  Downloading sympy-1.13.3-py3-none-any.whl (6.2 MB)
     |████████████████████████████████| 6.2 MB 39.6 MB/s 
Collecting jinja2
  Downloading jinja2-3.1.5-py3-none-any.whl (134 kB)
     |████████████████████████████████| 134 kB 40.8 MB/s 
Collecting nvidia-cusparse-cu12==12.1.0.106; platform_system == "Linux" and platform_machine == "x86_64"
  Downloading nvidia_cusparse_cu12-12.1.0.106-py3-none-manylinux1_x86_64.whl (196.0 MB)
     |████████████████████████████████| 196.0 MB 1.8 MB/s 
Collecting nvidia-cuda-nvrtc-cu12==12.1.105; platform_system == "Linux" and platform_machine == "x86_64"
  Downloading nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (23.7 MB)
     |████████████████████████████████| 23.7 MB 1.4 MB/s 
Collecting nvidia-cudnn-cu12==9.1.0.70; platform_system == "Linux" and platform_machine == "x86_64"
  Downloading nvidia_cudnn_cu12-9.1.0.70-py3-none-manylinux2014_x86_64.whl (664.8 MB)
     |████████████████████████████████| 664.8 MB 16 kB/s 
Collecting filelock
  Downloading filelock-3.16.1-py3-none-any.whl (16 kB)
Collecting nvidia-nvtx-cu12==12.1.105; platform_system == "Linux" and platform_machine == "x86_64"
  Downloading nvidia_nvtx_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (99 kB)
     |████████████████████████████████| 99 kB 15.9 MB/s 
Collecting numpy
  Downloading numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
     |████████████████████████████████| 17.3 MB 14 kB/s 
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /usr/lib/python3/dist-packages (from torchvision) (7.0.0)
Collecting nvidia-nvjitlink-cu12
  Downloading nvidia_nvjitlink_cu12-12.6.85-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl (19.7 MB)
     |████████████████████████████████| 19.7 MB 1.4 MB/s 
Collecting mpmath<1.4,>=1.1.0
  Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)
     |████████████████████████████████| 536 kB 42.8 MB/s 
Collecting MarkupSafe>=2.0
  Downloading MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26 kB)
Installing collected packages: filelock, triton, nvidia-cuda-runtime-cu12, nvidia-cublas-cu12, networkx, nvidia-cufft-cu12, nvidia-cuda-cupti-cu12, nvidia-curand-cu12, nvidia-nccl-cu12, nvidia-nvjitlink-cu12, nvidia-cusparse-cu12, nvidia-cusolver-cu12, typing-extensions, fsspec, mpmath, sympy, MarkupSafe, jinja2, nvidia-cuda-nvrtc-cu12, nvidia-cudnn-cu12, nvidia-nvtx-cu12, torch, numpy, torchvision, torchaudio
  WARNING: The scripts proton and proton-viewer are installed in '/home/rootroot/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script isympy is installed in '/home/rootroot/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts convert-caffe2-to-onnx, convert-onnx-to-caffe2 and torchrun are installed in '/home/rootroot/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts f2py, f2py3 and f2py3.8 are installed in '/home/rootroot/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed MarkupSafe-2.1.5 filelock-3.16.1 fsspec-2024.12.0 jinja2-3.1.5 mpmath-1.3.0 networkx-3.1 numpy-1.24.4 nvidia-cublas-cu12-12.1.3.1 nvidia-cuda-cupti-cu12-12.1.105 nvidia-cuda-nvrtc-cu12-12.1.105 nvidia-cuda-runtime-cu12-12.1.105 nvidia-cudnn-cu12-9.1.0.70 nvidia-cufft-cu12-11.0.2.54 nvidia-curand-cu12-10.3.2.106 nvidia-cusolver-cu12-11.4.5.107 nvidia-cusparse-cu12-12.1.0.106 nvidia-nccl-cu12-2.20.5 nvidia-nvjitlink-cu12-12.6.85 nvidia-nvtx-cu12-12.1.105 sympy-1.13.3 torch-2.4.1 torchaudio-2.4.1 torchvision-0.19.1 triton-3.0.0 typing-extensions-4.12.2
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ 


确认NVCC的版本:
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ nvcc -v

Command 'nvcc' not found, but can be installed with:

sudo apt install nvidia-cuda-toolkit

rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ sudo apt install nvidia-cuda-toolkit

[sudo] password for rootroot: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  cpp-8 g++-8 gcc-8 gcc-8-base javascript-common libaccinj64-10.1 libcublas10 libcublaslt10 libcudart10.1 libcufft10 libcufftw10 libcuinj64-10.1 libcupti-dev libcupti-doc libcupti10.1 libcurand10
  libcusolver10 libcusolvermg10 libcusparse10 libgcc-8-dev libjs-jquery libjs-underscore libmpx2 libnppc10 libnppial10 libnppicc10 libnppicom10 libnppidei10 libnppif10 libnppig10 libnppim10 libnppist10
  libnppisu10 libnppitc10 libnpps10 libnvblas10 libnvgraph10 libnvidia-compute-418-server libnvidia-ml-dev libnvjpeg10 libnvrtc10.1 libnvtoolsext1 libnvvm3 libstdc++-8-dev libthrust-dev libvdpau-dev
  node-html5shiv nsight-compute nsight-systems nvidia-cuda-dev nvidia-cuda-doc nvidia-cuda-gdb nvidia-opencl-dev nvidia-profiler nvidia-visual-profiler ocl-icd-opencl-dev opencl-c-headers
Suggested packages:
  gcc-8-locales g++-8-multilib gcc-8-doc gcc-8-multilib apache2 | lighttpd | httpd libstdc++-8-doc libvdpau-doc nodejs nvidia-driver | nvidia-tesla-440-driver | nvidia-tesla-418-driver libpoclu-dev
Recommended packages:
  libnvcuvid1
The following NEW packages will be installed:
  cpp-8 g++-8 gcc-8 gcc-8-base javascript-common libaccinj64-10.1 libcublas10 libcublaslt10 libcudart10.1 libcufft10 libcufftw10 libcuinj64-10.1 libcupti-dev libcupti-doc libcupti10.1 libcurand10
  libcusolver10 libcusolvermg10 libcusparse10 libgcc-8-dev libjs-jquery libjs-underscore libmpx2 libnppc10 libnppial10 libnppicc10 libnppicom10 libnppidei10 libnppif10 libnppig10 libnppim10 libnppist10
  libnppisu10 libnppitc10 libnpps10 libnvblas10 libnvgraph10 libnvidia-compute-418-server libnvidia-ml-dev libnvjpeg10 libnvrtc10.1 libnvtoolsext1 libnvvm3 libstdc++-8-dev libthrust-dev libvdpau-dev
  node-html5shiv nsight-compute nsight-systems nvidia-cuda-dev nvidia-cuda-doc nvidia-cuda-gdb nvidia-cuda-toolkit nvidia-opencl-dev nvidia-profiler nvidia-visual-profiler ocl-icd-opencl-dev opencl-c-headers
0 upgraded, 58 newly installed, 0 to remove and 76 not upgraded.
Need to get 1,420 MB of archives.
After this operation, 3,819 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 gcc-8-base amd64 8.4.0-3ubuntu2 [18.7 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 cpp-8 amd64 8.4.0-3ubuntu2 [8,945 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libmpx2 amd64 8.4.0-3ubuntu2 [11.8 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libgcc-8-dev amd64 8.4.0-3ubuntu2 [2,313 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 gcc-8 amd64 8.4.0-3ubuntu2 [9,833 kB]
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libstdc++-8-dev amd64 8.4.0-3ubuntu2 [1,537 kB]
Get:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 g++-8 amd64 8.4.0-3ubuntu2 [10.1 MB]
Get:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 javascript-common all 11 [6,066 B]
Get:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libaccinj64-10.1 amd64 10.1.243-3 [1,893 kB]
Get:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libcublaslt10 amd64 10.1.243-3 [9,249 kB]                                                                                              
Get:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libcublas10 amd64 10.1.243-3 [29.7 MB]                                                                                                 
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libcudart10.1 amd64 10.1.243-3 [125 kB]                                                                                                
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libcufft10 amd64 10.1.243-3 [85.3 MB]                                                                                                  
Get:14 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libcufftw10 amd64 10.1.243-3 [124 kB]                                                                                                  
Get:15 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse amd64 libnvidia-compute-418-server amd64 418.226.00-0ubuntu0.20.04.2 [19.8 MB]                                                       
Get:16 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libcuinj64-10.1 amd64 10.1.243-3 [2,030 kB]                                                                                            
Get:17 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libcupti10.1 amd64 10.1.243-3 [4,311 kB]                                                                                               
Get:18 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libcurand10 amd64 10.1.243-3 [39.0 MB]                                                                                                 
Get:19 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libcusolver10 amd64 10.1.243-3 [44.5 MB]                                                                                               
Get:20 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libcusolvermg10 amd64 10.1.243-3 [28.1 MB]                                                                                             
Get:21 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libcusparse10 amd64 10.1.243-3 [56.8 MB]                                                                                               
Get:22 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 libjs-jquery all 3.3.1~dfsg-3 [329 kB]                                                                                                       
Get:23 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 libjs-underscore all 1.9.1~dfsg-1ubuntu0.20.04.1 [99.5 kB]                                                                           
Get:24 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnppc10 amd64 10.1.243-3 [123 kB]                                                                                                    
Get:25 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnppial10 amd64 10.1.243-3 [3,667 kB]                                                                                                
Get:26 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnppicc10 amd64 10.1.243-3 [1,621 kB]                                                                                                
Get:27 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnppicom10 amd64 10.1.243-3 [539 kB]                                                                                                 
Get:28 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnppidei10 amd64 10.1.243-3 [2,001 kB]                                                                                               
Get:29 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnppif10 amd64 10.1.243-3 [22.0 MB]                                                                                                  
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnppig10 amd64 10.1.243-3 [12.0 MB]                                                                                                  
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnppim10 amd64 10.1.243-3 [2,694 kB]                                                                                                 
Get:32 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnppist10 amd64 10.1.243-3 [7,313 kB]                                                                                                
Get:33 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnppisu10 amd64 10.1.243-3 [116 kB]                                                                                                  
Get:34 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnppitc10 amd64 10.1.243-3 [802 kB]                                                                                                  
Get:35 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnpps10 amd64 10.1.243-3 [2,970 kB]                                                                                                  
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnvblas10 amd64 10.1.243-3 [129 kB]                                                                                                  
Get:37 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnvgraph10 amd64 10.1.243-3 [44.5 MB]                                                                                                
Get:38 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnvidia-ml-dev amd64 10.1.243-3 [58.1 kB]                                                                                            
Get:39 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnvjpeg10 amd64 10.1.243-3 [1,227 kB]                                                                                                
Get:40 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnvrtc10.1 amd64 10.1.243-3 [6,307 kB]                                                                                               
Get:41 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 libvdpau-dev amd64 1.3-1ubuntu2 [37.3 kB]                                                                                                    
Get:42 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 node-html5shiv all 3.7.3+dfsg-3 [12.9 kB]                                                                                                
Get:43 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 nsight-compute amd64 10.1.243-3 [196 MB]                                                                                               
Get:44 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 nsight-systems amd64 10.1.243-3 [71.4 MB]                                                                                              
Get:45 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libcupti-dev amd64 10.1.243-3 [4,779 kB]                                                                                               
Get:46 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libcupti-doc all 10.1.243-3 [2,117 kB]                                                                                                 
Get:47 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnvtoolsext1 amd64 10.1.243-3 [25.1 kB]                                                                                              
Get:48 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libnvvm3 amd64 10.1.243-3 [4,436 kB]                                                                                                   
Get:49 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libthrust-dev all 1.9.5-1 [526 kB]                                                                                                     
Get:50 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 nvidia-cuda-dev amd64 10.1.243-3 [420 MB]                                                                                              
Get:51 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 nvidia-cuda-doc all 10.1.243-3 [102 MB]                                                                                                
Get:52 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 nvidia-cuda-gdb amd64 10.1.243-3 [2,722 kB]                                                                                            
Get:53 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 nvidia-profiler amd64 10.1.243-3 [2,673 kB]                                                                                            
Get:54 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 opencl-c-headers all 2.2~2019.08.06-g0d5f18c-1 [29.9 kB]                                                                                     
Get:55 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 ocl-icd-opencl-dev amd64 2.2.11-1ubuntu1 [2,512 B]                                                                                           
Get:56 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 nvidia-opencl-dev amd64 10.1.243-3 [16.5 kB]                                                                                           
Get:57 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 nvidia-cuda-toolkit amd64 10.1.243-3 [35.0 MB]                                                                                         
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 nvidia-visual-profiler amd64 10.1.243-3 [115 MB]                                                                                       
Fetched 1,420 MB in 1min 35s (14.9 MB/s)                                                                                                                                                                        
Extracting templates from packages: 100%

Selecting previously unselected package gcc-8-base:amd64.
(Reading database ... 199784 files and directories currently installed.)
Preparing to unpack .../00-gcc-8-base_8.4.0-3ubuntu2_amd64.deb ...
Unpacking gcc-8-base:amd64 (8.4.0-3ubuntu2) ...
Selecting previously unselected package cpp-8.
Preparing to unpack .../01-cpp-8_8.4.0-3ubuntu2_amd64.deb ...
Unpacking cpp-8 (8.4.0-3ubuntu2) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../02-libmpx2_8.4.0-3ubuntu2_amd64.deb ...
Unpacking libmpx2:amd64 (8.4.0-3ubuntu2) ...
Selecting previously unselected package libgcc-8-dev:amd64.
Preparing to unpack .../03-libgcc-8-dev_8.4.0-3ubuntu2_amd64.deb ...
Unpacking libgcc-8-dev:amd64 (8.4.0-3ubuntu2) ...
Selecting previously unselected package gcc-8.
Preparing to unpack .../04-gcc-8_8.4.0-3ubuntu2_amd64.deb ...
Unpacking gcc-8 (8.4.0-3ubuntu2) ...
Selecting previously unselected package libstdc++-8-dev:amd64.
Preparing to unpack .../05-libstdc++-8-dev_8.4.0-3ubuntu2_amd64.deb ...
Unpacking libstdc++-8-dev:amd64 (8.4.0-3ubuntu2) ...
Selecting previously unselected package g++-8.
Preparing to unpack .../06-g++-8_8.4.0-3ubuntu2_amd64.deb ...
Unpacking g++-8 (8.4.0-3ubuntu2) ...
Selecting previously unselected package javascript-common.
Preparing to unpack .../07-javascript-common_11_all.deb ...
Unpacking javascript-common (11) ...
Selecting previously unselected package libaccinj64-10.1:amd64.
Preparing to unpack .../08-libaccinj64-10.1_10.1.243-3_amd64.deb ...
Unpacking libaccinj64-10.1:amd64 (10.1.243-3) ...
Selecting previously unselected package libcublaslt10:amd64.
Preparing to unpack .../09-libcublaslt10_10.1.243-3_amd64.deb ...
Unpacking libcublaslt10:amd64 (10.1.243-3) ...
Selecting previously unselected package libcublas10:amd64.
Preparing to unpack .../10-libcublas10_10.1.243-3_amd64.deb ...
Unpacking libcublas10:amd64 (10.1.243-3) ...
Selecting previously unselected package libcudart10.1:amd64.
Preparing to unpack .../11-libcudart10.1_10.1.243-3_amd64.deb ...
Unpacking libcudart10.1:amd64 (10.1.243-3) ...
Selecting previously unselected package libcufft10:amd64.
Preparing to unpack .../12-libcufft10_10.1.243-3_amd64.deb ...
Unpacking libcufft10:amd64 (10.1.243-3) ...
Selecting previously unselected package libcufftw10:amd64.
Preparing to unpack .../13-libcufftw10_10.1.243-3_amd64.deb ...
Unpacking libcufftw10:amd64 (10.1.243-3) ...
Selecting previously unselected package libnvidia-compute-418-server:amd64.
Preparing to unpack .../14-libnvidia-compute-418-server_418.226.00-0ubuntu0.20.04.2_amd64.deb ...
Unpacking libnvidia-compute-418-server:amd64 (418.226.00-0ubuntu0.20.04.2) ...
Selecting previously unselected package libcuinj64-10.1:amd64.
Preparing to unpack .../15-libcuinj64-10.1_10.1.243-3_amd64.deb ...
Unpacking libcuinj64-10.1:amd64 (10.1.243-3) ...
Selecting previously unselected package libcupti10.1:amd64.
Preparing to unpack .../16-libcupti10.1_10.1.243-3_amd64.deb ...
Unpacking libcupti10.1:amd64 (10.1.243-3) ...
Selecting previously unselected package libcurand10:amd64.
Preparing to unpack .../17-libcurand10_10.1.243-3_amd64.deb ...
Unpacking libcurand10:amd64 (10.1.243-3) ...
Selecting previously unselected package libcusolver10:amd64.
Preparing to unpack .../18-libcusolver10_10.1.243-3_amd64.deb ...
Unpacking libcusolver10:amd64 (10.1.243-3) ...
Selecting previously unselected package libcusolvermg10:amd64.
Preparing to unpack .../19-libcusolvermg10_10.1.243-3_amd64.deb ...
Unpacking libcusolvermg10:amd64 (10.1.243-3) ...
Selecting previously unselected package libcusparse10:amd64.
Preparing to unpack .../20-libcusparse10_10.1.243-3_amd64.deb ...
Unpacking libcusparse10:amd64 (10.1.243-3) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../21-libjs-jquery_3.3.1~dfsg-3_all.deb ...
Unpacking libjs-jquery (3.3.1~dfsg-3) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../22-libjs-underscore_1.9.1~dfsg-1ubuntu0.20.04.1_all.deb ...
Unpacking libjs-underscore (1.9.1~dfsg-1ubuntu0.20.04.1) ...
Selecting previously unselected package libnppc10:amd64.
Preparing to unpack .../23-libnppc10_10.1.243-3_amd64.deb ...
Unpacking libnppc10:amd64 (10.1.243-3) ...
Selecting previously unselected package libnppial10:amd64.
Preparing to unpack .../24-libnppial10_10.1.243-3_amd64.deb ...
Unpacking libnppial10:amd64 (10.1.243-3) ...
Selecting previously unselected package libnppicc10:amd64.
Preparing to unpack .../25-libnppicc10_10.1.243-3_amd64.deb ...
Unpacking libnppicc10:amd64 (10.1.243-3) ...
Selecting previously unselected package libnppicom10:amd64.
Preparing to unpack .../26-libnppicom10_10.1.243-3_amd64.deb ...
Unpacking libnppicom10:amd64 (10.1.243-3) ...
Selecting previously unselected package libnppidei10:amd64.
Preparing to unpack .../27-libnppidei10_10.1.243-3_amd64.deb ...
Unpacking libnppidei10:amd64 (10.1.243-3) ...
Selecting previously unselected package libnppif10:amd64.
Preparing to unpack .../28-libnppif10_10.1.243-3_amd64.deb ...
Unpacking libnppif10:amd64 (10.1.243-3) ...
Selecting previously unselected package libnppig10:amd64.
Preparing to unpack .../29-libnppig10_10.1.243-3_amd64.deb ...
Unpacking libnppig10:amd64 (10.1.243-3) ...
Selecting previously unselected package libnppim10:amd64.
Preparing to unpack .../30-libnppim10_10.1.243-3_amd64.deb ...
Unpacking libnppim10:amd64 (10.1.243-3) ...
Selecting previously unselected package libnppist10:amd64.
Preparing to unpack .../31-libnppist10_10.1.243-3_amd64.deb ...
Unpacking libnppist10:amd64 (10.1.243-3) ...
Selecting previously unselected package libnppisu10:amd64.
Preparing to unpack .../32-libnppisu10_10.1.243-3_amd64.deb ...
Unpacking libnppisu10:amd64 (10.1.243-3) ...
Selecting previously unselected package libnppitc10:amd64.
Preparing to unpack .../33-libnppitc10_10.1.243-3_amd64.deb ...
Unpacking libnppitc10:amd64 (10.1.243-3) ...
Selecting previously unselected package libnpps10:amd64.
Preparing to unpack .../34-libnpps10_10.1.243-3_amd64.deb ...
Unpacking libnpps10:amd64 (10.1.243-3) ...
Selecting previously unselected package libnvblas10:amd64.
Preparing to unpack .../35-libnvblas10_10.1.243-3_amd64.deb ...
Unpacking libnvblas10:amd64 (10.1.243-3) ...
Selecting previously unselected package libnvgraph10:amd64.
Preparing to unpack .../36-libnvgraph10_10.1.243-3_amd64.deb ...
Unpacking libnvgraph10:amd64 (10.1.243-3) ...
Selecting previously unselected package libnvidia-ml-dev.
Preparing to unpack .../37-libnvidia-ml-dev_10.1.243-3_amd64.deb ...
Unpacking libnvidia-ml-dev (10.1.243-3) ...
Selecting previously unselected package libnvjpeg10:amd64.
Preparing to unpack .../38-libnvjpeg10_10.1.243-3_amd64.deb ...
Unpacking libnvjpeg10:amd64 (10.1.243-3) ...
Selecting previously unselected package libnvrtc10.1:amd64.
Preparing to unpack .../39-libnvrtc10.1_10.1.243-3_amd64.deb ...
Unpacking libnvrtc10.1:amd64 (10.1.243-3) ...
Selecting previously unselected package libvdpau-dev:amd64.
Preparing to unpack .../40-libvdpau-dev_1.3-1ubuntu2_amd64.deb ...
Unpacking libvdpau-dev:amd64 (1.3-1ubuntu2) ...
Selecting previously unselected package node-html5shiv.
Preparing to unpack .../41-node-html5shiv_3.7.3+dfsg-3_all.deb ...
Unpacking node-html5shiv (3.7.3+dfsg-3) ...
Selecting previously unselected package nsight-compute.
Preparing to unpack .../42-nsight-compute_10.1.243-3_amd64.deb ...
Unpacking nsight-compute (10.1.243-3) ...
Selecting previously unselected package nsight-systems.
Preparing to unpack .../43-nsight-systems_10.1.243-3_amd64.deb ...
Unpacking nsight-systems (10.1.243-3) ...
Selecting previously unselected package libcupti-dev:amd64.
Preparing to unpack .../44-libcupti-dev_10.1.243-3_amd64.deb ...
Unpacking libcupti-dev:amd64 (10.1.243-3) ...
Selecting previously unselected package libcupti-doc.
Preparing to unpack .../45-libcupti-doc_10.1.243-3_all.deb ...
Unpacking libcupti-doc (10.1.243-3) ...
Selecting previously unselected package libnvtoolsext1:amd64.
Preparing to unpack .../46-libnvtoolsext1_10.1.243-3_amd64.deb ...
Unpacking libnvtoolsext1:amd64 (10.1.243-3) ...
Selecting previously unselected package libnvvm3:amd64.
Preparing to unpack .../47-libnvvm3_10.1.243-3_amd64.deb ...
Unpacking libnvvm3:amd64 (10.1.243-3) ...
Selecting previously unselected package libthrust-dev.
Preparing to unpack .../48-libthrust-dev_1.9.5-1_all.deb ...
Unpacking libthrust-dev (1.9.5-1) ...
Selecting previously unselected package nvidia-cuda-dev.
Preparing to unpack .../49-nvidia-cuda-dev_10.1.243-3_amd64.deb ...
Unpacking nvidia-cuda-dev (10.1.243-3) ...
Selecting previously unselected package nvidia-cuda-doc.
Preparing to unpack .../50-nvidia-cuda-doc_10.1.243-3_all.deb ...
Unpacking nvidia-cuda-doc (10.1.243-3) ...
Selecting previously unselected package nvidia-cuda-gdb.
Preparing to unpack .../51-nvidia-cuda-gdb_10.1.243-3_amd64.deb ...
Unpacking nvidia-cuda-gdb (10.1.243-3) ...
Selecting previously unselected package nvidia-profiler.
Preparing to unpack .../52-nvidia-profiler_10.1.243-3_amd64.deb ...
Unpacking nvidia-profiler (10.1.243-3) ...
Selecting previously unselected package opencl-c-headers.
Preparing to unpack .../53-opencl-c-headers_2.2~2019.08.06-g0d5f18c-1_all.deb ...
Unpacking opencl-c-headers (2.2~2019.08.06-g0d5f18c-1) ...
Selecting previously unselected package ocl-icd-opencl-dev:amd64.
Preparing to unpack .../54-ocl-icd-opencl-dev_2.2.11-1ubuntu1_amd64.deb ...
Unpacking ocl-icd-opencl-dev:amd64 (2.2.11-1ubuntu1) ...
Selecting previously unselected package nvidia-opencl-dev:amd64.
Preparing to unpack .../55-nvidia-opencl-dev_10.1.243-3_amd64.deb ...
Unpacking nvidia-opencl-dev:amd64 (10.1.243-3) ...
Selecting previously unselected package nvidia-cuda-toolkit.
Preparing to unpack .../56-nvidia-cuda-toolkit_10.1.243-3_amd64.deb ...
Unpacking nvidia-cuda-toolkit (10.1.243-3) ...
Selecting previously unselected package nvidia-visual-profiler.
Preparing to unpack .../57-nvidia-visual-profiler_10.1.243-3_amd64.deb ...
Unpacking nvidia-visual-profiler (10.1.243-3) ...
Setting up libaccinj64-10.1:amd64 (10.1.243-3) ...
Setting up javascript-common (11) ...
Setting up libthrust-dev (1.9.5-1) ...
Setting up nvidia-cuda-gdb (10.1.243-3) ...
Setting up libnppc10:amd64 (10.1.243-3) ...
Setting up libnppial10:amd64 (10.1.243-3) ...
Setting up libnvvm3:amd64 (10.1.243-3) ...
Setting up libcusparse10:amd64 (10.1.243-3) ...
Setting up libnvrtc10.1:amd64 (10.1.243-3) ...
Setting up node-html5shiv (3.7.3+dfsg-3) ...
Setting up libcupti10.1:amd64 (10.1.243-3) ...
Setting up libnppisu10:amd64 (10.1.243-3) ...
Setting up libnppicc10:amd64 (10.1.243-3) ...
Setting up libnppicom10:amd64 (10.1.243-3) ...
Setting up libcusolver10:amd64 (10.1.243-3) ...
Setting up libnvjpeg10:amd64 (10.1.243-3) ...
Setting up libcublaslt10:amd64 (10.1.243-3) ...
Setting up libcusolvermg10:amd64 (10.1.243-3) ...
Setting up libnpps10:amd64 (10.1.243-3) ...
Setting up gcc-8-base:amd64 (8.4.0-3ubuntu2) ...
Setting up opencl-c-headers (2.2~2019.08.06-g0d5f18c-1) ...
Setting up libnvidia-compute-418-server:amd64 (418.226.00-0ubuntu0.20.04.2) ...
Setting up ocl-icd-opencl-dev:amd64 (2.2.11-1ubuntu1) ...
Setting up libcudart10.1:amd64 (10.1.243-3) ...
Setting up libmpx2:amd64 (8.4.0-3ubuntu2) ...
Setting up libcufft10:amd64 (10.1.243-3) ...
Setting up libnppim10:amd64 (10.1.243-3) ...
Setting up libnppitc10:amd64 (10.1.243-3) ...
Setting up libnppist10:amd64 (10.1.243-3) ...
Setting up libvdpau-dev:amd64 (1.3-1ubuntu2) ...
Setting up libnvtoolsext1:amd64 (10.1.243-3) ...
Setting up libjs-jquery (3.3.1~dfsg-3) ...
Setting up cpp-8 (8.4.0-3ubuntu2) ...
Setting up libcurand10:amd64 (10.1.243-3) ...
Setting up libnvgraph10:amd64 (10.1.243-3) ...
Setting up libjs-underscore (1.9.1~dfsg-1ubuntu0.20.04.1) ...
Setting up libnppig10:amd64 (10.1.243-3) ...
Setting up libnppidei10:amd64 (10.1.243-3) ...
Setting up libnppif10:amd64 (10.1.243-3) ...
Setting up libcuinj64-10.1:amd64 (10.1.243-3) ...
Setting up libcufftw10:amd64 (10.1.243-3) ...
Setting up libnvidia-ml-dev (10.1.243-3) ...
Setting up libcublas10:amd64 (10.1.243-3) ...
Setting up libcupti-dev:amd64 (10.1.243-3) ...
Setting up nsight-compute (10.1.243-3) ...
Setting up libcupti-doc (10.1.243-3) ...
Setting up nvidia-profiler (10.1.243-3) ...
Setting up libnvblas10:amd64 (10.1.243-3) ...
Setting up nvidia-opencl-dev:amd64 (10.1.243-3) ...
Setting up nvidia-cuda-doc (10.1.243-3) ...
Setting up libgcc-8-dev:amd64 (8.4.0-3ubuntu2) ...
Setting up nsight-systems (10.1.243-3) ...
Setting up libstdc++-8-dev:amd64 (8.4.0-3ubuntu2) ...
Setting up gcc-8 (8.4.0-3ubuntu2) ...
Setting up nvidia-cuda-dev (10.1.243-3) ...
Setting up nvidia-visual-profiler (10.1.243-3) ...
Setting up g++-8 (8.4.0-3ubuntu2) ...
Setting up nvidia-cuda-toolkit (10.1.243-3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.16) ...

rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ nvcc -v
nvcc fatal   : No input files specified; use option --help for more information
rootroot@rootroot-X99-Turbo:~$ nvcc -version
nvcc fatal   : Unknown option 'version'
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243
rootroot@rootroot-X99-Turbo:~$ 


5、安装whisper
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ pip install -U openai-whisper
Collecting openai-whisper
  Downloading openai-whisper-20240930.tar.gz (800 kB)
     |████████████████████████████████| 800 kB 11 kB/s 
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Requirement already satisfied, skipping upgrade: torch in ./.local/lib/python3.8/site-packages (from openai-whisper) (2.4.1)
Collecting tqdm
  Downloading tqdm-4.67.1-py3-none-any.whl (78 kB)
     |████████████████████████████████| 78 kB 11 kB/s 
Collecting more-itertools
  Downloading more_itertools-10.5.0-py3-none-any.whl (60 kB)
     |████████████████████████████████| 60 kB 9.1 kB/s 
Collecting numba
  Downloading numba-0.58.1-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (3.7 MB)
     |████████████████████████████████| 3.7 MB 1.2 MB/s 
Requirement already satisfied, skipping upgrade: triton>=2.0.0; platform_machine == "x86_64" and sys_platform == "linux" or sys_platform == "linux2" in ./.local/lib/python3.8/site-packages (from openai-whisper) (3.0.0)
Collecting tiktoken
  Downloading tiktoken-0.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
     |████████████████████████████████| 1.1 MB 1.7 MB/s 
Requirement already satisfied, skipping upgrade: numpy in ./.local/lib/python3.8/site-packages (from openai-whisper) (1.24.4)
Requirement already satisfied, skipping upgrade: jinja2 in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (3.1.5)
Requirement already satisfied, skipping upgrade: filelock in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (3.16.1)
Requirement already satisfied, skipping upgrade: nvidia-cuda-nvrtc-cu12==12.1.105; platform_system == "Linux" and platform_machine == "x86_64" in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (12.1.105)
Requirement already satisfied, skipping upgrade: nvidia-cuda-runtime-cu12==12.1.105; platform_system == "Linux" and platform_machine == "x86_64" in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (12.1.105)
Requirement already satisfied, skipping upgrade: nvidia-cuda-cupti-cu12==12.1.105; platform_system == "Linux" and platform_machine == "x86_64" in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (12.1.105)
Requirement already satisfied, skipping upgrade: nvidia-cufft-cu12==11.0.2.54; platform_system == "Linux" and platform_machine == "x86_64" in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (11.0.2.54)
Requirement already satisfied, skipping upgrade: nvidia-cusparse-cu12==12.1.0.106; platform_system == "Linux" and platform_machine == "x86_64" in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (12.1.0.106)
Requirement already satisfied, skipping upgrade: fsspec in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (2024.12.0)
Requirement already satisfied, skipping upgrade: nvidia-cusolver-cu12==11.4.5.107; platform_system == "Linux" and platform_machine == "x86_64" in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (11.4.5.107)
Requirement already satisfied, skipping upgrade: nvidia-cudnn-cu12==9.1.0.70; platform_system == "Linux" and platform_machine == "x86_64" in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (9.1.0.70)
Requirement already satisfied, skipping upgrade: nvidia-nvtx-cu12==12.1.105; platform_system == "Linux" and platform_machine == "x86_64" in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (12.1.105)
Requirement already satisfied, skipping upgrade: nvidia-cublas-cu12==12.1.3.1; platform_system == "Linux" and platform_machine == "x86_64" in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (12.1.3.1)
Requirement already satisfied, skipping upgrade: nvidia-curand-cu12==10.3.2.106; platform_system == "Linux" and platform_machine == "x86_64" in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (10.3.2.106)
Requirement already satisfied, skipping upgrade: sympy in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (1.13.3)
Requirement already satisfied, skipping upgrade: networkx in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (3.1)
Requirement already satisfied, skipping upgrade: nvidia-nccl-cu12==2.20.5; platform_system == "Linux" and platform_machine == "x86_64" in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (2.20.5)
Requirement already satisfied, skipping upgrade: typing-extensions>=4.8.0 in ./.local/lib/python3.8/site-packages (from torch->openai-whisper) (4.12.2)
Collecting importlib-metadata; python_version < "3.9"
  Downloading importlib_metadata-8.5.0-py3-none-any.whl (26 kB)
Collecting llvmlite<0.42,>=0.41.0dev0
  Downloading llvmlite-0.41.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (43.6 MB)
     |████████████████████████████████| 43.6 MB 15.7 MB/s 
Collecting regex>=2022.1.18
  Downloading regex-2024.11.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (785 kB)
     |████████████████████████████████| 785 kB 23.0 MB/s 
Collecting requests>=2.26.0
  Downloading requests-2.32.3-py3-none-any.whl (64 kB)
     |████████████████████████████████| 64 kB 8.4 MB/s 
Requirement already satisfied, skipping upgrade: MarkupSafe>=2.0 in ./.local/lib/python3.8/site-packages (from jinja2->torch->openai-whisper) (2.1.5)
Requirement already satisfied, skipping upgrade: nvidia-nvjitlink-cu12 in ./.local/lib/python3.8/site-packages (from nvidia-cusparse-cu12==12.1.0.106; platform_system == "Linux" and platform_machine == "x86_64"->torch->openai-whisper) (12.6.85)
Requirement already satisfied, skipping upgrade: mpmath<1.4,>=1.1.0 in ./.local/lib/python3.8/site-packages (from sympy->torch->openai-whisper) (1.3.0)
Collecting zipp>=3.20
  Downloading zipp-3.20.2-py3-none-any.whl (9.2 kB)
Requirement already satisfied, skipping upgrade: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests>=2.26.0->tiktoken->openai-whisper) (2.8)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.26.0->tiktoken->openai-whisper) (2019.11.28)
Collecting charset-normalizer<4,>=2
  Downloading charset_normalizer-3.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (144 kB)
     |████████████████████████████████| 144 kB 24.0 MB/s 
Requirement already satisfied, skipping upgrade: urllib3<3,>=1.21.1 in /usr/lib/python3/dist-packages (from requests>=2.26.0->tiktoken->openai-whisper) (1.25.8)
Building wheels for collected packages: openai-whisper
  Building wheel for openai-whisper (PEP 517) ... done
  Created wheel for openai-whisper: filename=openai_whisper-20240930-py3-none-any.whl size=803319 sha256=4ef1c818fce8753125de5b97561a5f806580f37ecd7606845205cc53728fbcf6
  Stored in directory: /home/rootroot/.cache/pip/wheels/58/9f/3f/657caca5c67b43cb90d168c2061936f3255bc28fef73b752ea
Successfully built openai-whisper
Installing collected packages: tqdm, more-itertools, zipp, importlib-metadata, llvmlite, numba, regex, charset-normalizer, requests, tiktoken, openai-whisper
  WARNING: The script tqdm is installed in '/home/rootroot/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script normalizer is installed in '/home/rootroot/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script whisper is installed in '/home/rootroot/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed charset-normalizer-3.4.1 importlib-metadata-8.5.0 llvmlite-0.41.1 more-itertools-10.5.0 numba-0.58.1 openai-whisper-20240930 regex-2024.11.6 requests-2.32.3 tiktoken-0.7.0 tqdm-4.67.1 zipp-3.20.2
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ whisper -h
whisper: command not found
rootroot@rootroot-X99-Turbo:~$ whi
which     while     whiptail  
rootroot@rootroot-X99-Turbo:~$ whi
which     while     whiptail  
rootroot@rootroot-X99-Turbo:~$ 


6、开始识别。需要使用large模式
百度找不到的,BING必应才能够搜索得到,原来whisper装好之后藏在这个目录了
~/.local/bin/whisper
【一般人我不告诉他的!】


rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ cd ali/
rootroot@rootroot-X99-Turbo:~/ali$ ll
total 16
drwxrwxrwx  4 rootroot rootroot 4096 12月 25 10:18  ./
drwxr-xr-x 26 rootroot rootroot 4096 12月 27 15:09  ../
drwxrwxrwx 69 rootroot rootroot 4096 12月 25 15:22 'BBC纪录片[4KHDR.CN]'/
drwxrwxrwx  2 rootroot rootroot 4096 12月 27 13:23 'Q 秦颂'/
rootroot@rootroot-X99-Turbo:~/ali$ 
rootroot@rootroot-X99-Turbo:~/ali$ 
rootroot@rootroot-X99-Turbo:~/ali$ 
rootroot@rootroot-X99-Turbo:~/ali$ ll
total 16
drwxrwxrwx  4 rootroot rootroot 4096 12月 25 10:18  ./
drwxr-xr-x 26 rootroot rootroot 4096 12月 27 15:09  ../
drwxrwxrwx 69 rootroot rootroot 4096 12月 25 15:22 'BBC纪录片[4KHDR.CN]'/
drwxrwxrwx  2 rootroot rootroot 4096 12月 27 13:23 'Q 秦颂'/
rootroot@rootroot-X99-Turbo:~/ali$ 
rootroot@rootroot-X99-Turbo:~/ali$ 
rootroot@rootroot-X99-Turbo:~/ali$ cd Q\ 秦颂/
rootroot@rootroot-X99-Turbo:~/ali/Q 秦颂$ ll
total 30131932
drwxrwxrwx 2 rootroot rootroot        4096 12月 27 13:23  ./
drwxrwxrwx 4 rootroot rootroot        4096 12月 25 10:18  ../
-rwxrwxrwx 1 rootroot rootroot 30855079905 12月 25 11:04 "秦颂The.Emperor's.Shadow.1996.1080p.REMUX.FRA.Blu-ray.AVC.DTS-HD.MA.5.1-Mo Cuishle.mkv"*
rootroot@rootroot-X99-Turbo:~/ali/Q 秦颂$ 
rootroot@rootroot-X99-Turbo:~/ali/Q 秦颂$ 
rootroot@rootroot-X99-Turbo:~/ali/Q 秦颂$ ~/.local/bin/whisper "秦颂The.Emperor's.Shadow.1996.1080p.REMUX.FRA.Blu-ray.AVC.DTS-HD.MA.5.1-Mo Cuishle.mkv"  --model large --language Chinese
100%|█████████████████████████████████████| 2.88G/2.88G [01:02<00:00, 49.6MiB/s]
/home/rootroot/.local/lib/python3.8/site-packages/whisper/__init__.py:150: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
  checkpoint = torch.load(fp, map_location=device)
[00:00.000 --> 00:29.980] 作词作曲 李宗盛
[00:30.000 --> 00:59.980] 演唱 李宗盛
[01:00.000 --> 01:29.980] 演唱 李宗盛
[01:30.000 --> 01:59.980] 演唱 李宗盛


rootroot@rootroot-X99-Turbo:~/ali/Q 秦颂$ ~/.local/bin/whisper "秦颂The.Emperor's.Shadow.1996.1080p.REMUX.FRA.Blu-ray.AVC.DTS-HD.MA.5.1-Mo Cuishle.mkv"  --model medium --language Chinese
rootroot@rootroot-X99-Turbo:~/ali/Q 秦颂$ ~/.local/bin/whisper "秦颂The.Emperor's.Shadow.1996.1080p.REMUX.FRA.Blu-ray.AVC.DTS-HD.MA.5.1-Mo Cuishle.mkv"  --model large --language Chinese
rootroot@rootroot-X99-Turbo:~/ali/Q 秦颂$ ~/.local/bin/whisper "秦颂The.Emperor's.Shadow.1996.1080p.REMUX.FRA.Blu-ray.AVC.DTS-HD.MA.5.1-Mo Cuishle.mkv"  --model large-v1 --language Chinese
rootroot@rootroot-X99-Turbo:~/ali/Q 秦颂$ ~/.local/bin/whisper "秦颂The.Emperor's.Shadow.1996.1080p.REMUX.FRA.Blu-ray.AVC.DTS-HD.MA.5.1-Mo Cuishle.mkv"  --model large-v2 --language Chinese
rootroot@rootroot-X99-Turbo:~/ali/Q 秦颂$ ~/.local/bin/whisper "秦颂The.Emperor's.Shadow.1996.1080p.REMUX.FRA.Blu-ray.AVC.DTS-HD.MA.5.1-Mo Cuishle.mkv"  --model large-v3 --language Chinese

耗时对比:
--model large 4小时
--model large-v1  2小时
--model large-v2  2小时
--model large-v3  4小时


百度:ubuntu whisper
https://blog.csdn.net/coolyoung520/article/details/142886704
在 Ubuntu 上安装 Whisper 支撑环境(ffmpeg、PyTorch)的教程(2024亲测可用)

https://blog.csdn.net/coolyoung520/article/details/142886704?spm=1001.2101.3001.6650.15&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-15-142886704-blog-135110390.235%5Ev43%5Epc_blog_bottom_relevance_base5&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-15-142886704-blog-135110390.235%5Ev43%5Epc_blog_bottom_relevance_base5&utm_relevant_index=22
在 Ubuntu 上安装 Whisper 支撑环境(ffmpeg、PyTorch)的教程(2024亲测可用)


https://blog.csdn.net/JJ240084173/article/details/135917786?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-0-135917786-blog-142886704.235^v43^pc_blog_bottom_relevance_base5&spm=1001.2101.3001.4242.1&utm_relevant_index=3
ubuntu下faster-whisper安装、基于faster-whisper的语音识别示例、同步生成srt字幕文件


https://blog.csdn.net/yangyi139926/article/details/135110390?spm=1001.2101.3001.6650.4&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-4-135110390-blog-142886704.235%5Ev43%5Epc_blog_bottom_relevance_base5&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-4-135110390-blog-142886704.235%5Ev43%5Epc_blog_bottom_relevance_base5&utm_relevant_index=9
升级ubuntu16.04显卡驱动,以及cuda版本适配


https://blog.csdn.net/yangyi139926/article/details/135110390?spm=1001.2101.3001.6650.4&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-4-135110390-blog-142886704.235%5Ev43%5Epc_blog_bottom_relevance_base5&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-4-135110390-blog-142886704.235%5Ev43%5Epc_blog_bottom_relevance_base5&utm_relevant_index=9
ubuntu16.04安装语音识别whisper及whisper-ctranslate2工具(填坑篇)


https://blog.csdn.net/wb4916/article/details/135956165?spm=1001.2101.3001.6650.16&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-16-135956165-blog-135955551.235%5Ev43%5Epc_blog_bottom_relevance_base5&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-16-135956165-blog-135955551.235%5Ev43%5Epc_blog_bottom_relevance_base5&utm_relevant_index=22
20240131在ubuntu20.04.6下使用whisper不同模式的比对


https://blog.csdn.net/wb4916/article/details/135955551?spm=1001.2101.3001.6650.14&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-14-135955551-blog-135110390.235%5Ev43%5Epc_blog_bottom_relevance_base5&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-14-135955551-blog-135110390.235%5Ev43%5Epc_blog_bottom_relevance_base5&utm_relevant_index=21
20240127在ubuntu20.04.6下配置whisper
https://blog.csdn.net/wb4916/article/details/135955551?spm=1001.2101.3001.6650.5&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-5-135955551-blog-142886704.235%5Ev43%5Epc_blog_bottom_relevance_base5&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-5-135955551-blog-142886704.235%5Ev43%5Epc_blog_bottom_relevance_base5&utm_relevant_index=10
20240127在ubuntu20.04.6下配置whisper

https://blog.csdn.net/coolyoung520/article/details/142886704?spm=1001.2101.3001.6650.3&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EYuanLiJiHua%7EPosition-3-142886704-blog-135955551.235%5Ev43%5Epc_blog_bottom_relevance_base5&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EYuanLiJiHua%7EPosition-3-142886704-blog-135955551.235%5Ev43%5Epc_blog_bottom_relevance_base5&utm_relevant_index=6
在 Ubuntu 上安装 Whisper 支撑环境(ffmpeg、PyTorch)的教程(2024亲测可用)


https://blog.csdn.net/yangyi139926/article/details/135110390?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7EPaidSort-1-135110390-blog-135956165.235%5Ev43%5Epc_blog_bottom_relevance_base5&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7EPaidSort-1-135110390-blog-135956165.235%5Ev43%5Epc_blog_bottom_relevance_base5&utm_relevant_index=1
ubuntu16.04安装语音识别whisper及whisper-ctranslate2工具(填坑篇)


百度:ubuntu whisper

whisper: command not found

bing:whisper: command not found

https://segmentfault.com/a/1190000044344688
whisper 不是内部或外部命令,也不是可运行的程序 或批处理文件。


https://github.com/openai/whisper/discussions/531
'whisper' is not recognized as an internal or external command, operable program or batch file. #531

a-sadegh63
on Jun 21, 2023
The "whisper" command does not work on my Ubuntu system. The following code solves my problem
export PATH=$PATH:/home/your_name/.local/bin


https://www.incredigeek.com/home/install-and-use-opanai-whisper/#:~:text=If%20you%20receive%20a%20%E2%80%9CCommand%20%E2%80%98whisper%E2%80%99%20not%20found%E2%80%9D,PATH%2C%20or%20run%20whisper%20with%20the%20full%20path
Install and Use OpanAI Whisper
Posted on April 20, 2023

Run Whisper
After it is installed, it should be able to run it like

whisper audio.mp3 --model medium
Change out medium to the model you would like to use. It will then download the model and then work get to work on transcribing it. The .en models i.e. medium.en, seem to perform better then the other ones. If you are using English that is.

If you receive a “Command ‘whisper’ not found” error, you may not have ~/.local/bin in your user PATH. Either add ~/.local/bin to your PATH, or run whisper with the full path

~/.local/bin/whisper audio.mp3 --model medium


 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2274943.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

Windows service运行Django项目

系统&#xff1a;Windows Service 软件&#xff1a;nssm&#xff0c;nginx 配置Django项目 1、把Django项目的静态文件整理到staticfiles文件夹中 注&#xff1a;settings中的设置 STATIC_URL /static/ STATIC_ROOT os.path.join(BASE_DIR, staticfiles/) STATICFILES_DI…

关于物联网的基础知识(二)——物联网体系结构分层

成长路上不孤单&#x1f60a;&#x1f60a;&#x1f60a;&#x1f60a;&#x1f60a;&#x1f60a; 【14后&#x1f60a;///计算机爱好者&#x1f60a;///持续分享所学&#x1f60a;///如有需要欢迎收藏转发///&#x1f60a;】 今日分享关于物联网的基础知识&#xff08;二&a…

【C++】22.AVL树实现

文章目录 1. AVL的概念AVL树的逻辑理解四种形式1. LL型&#xff08;左孩子的左子树上出现节点使结点失衡&#xff09;2. RR型&#xff08;右孩子的右子树上出现节点使结点失衡&#xff09;3. LR型&#xff08;左孩子的右子树上出现节点使结点失衡&#xff09;4. RL型&#xff0…

php文件包含漏洞

基本 相关函数 php中引发文件包含漏洞的通常是以下四个函数&#xff1a; include()include_once()require()require_once() reuqire() 如果在包含的过程中有错&#xff0c;比如文件不存在等&#xff0c;则会直接退出&#xff0c;不执行后续语句。 include() 如果出错的话&a…

ELK实战(最详细)

一、什么是ELK ELK是三个产品的简称&#xff1a;ElasticSearch(简称ES) 、Logstash 、Kibana 。其中&#xff1a; ElasticSearch&#xff1a;是一个开源分布式搜索引擎Logstash &#xff1a;是一个数据收集引擎&#xff0c;支持日志搜集、分析、过滤&#xff0c;支持大量数据…

预训练语言模型——BERT

1.预训练思想 有了预训练就相当于模型在培养大学生做任务&#xff0c;不然模型初始化再做任务就像培养小学生 当前数据层面的瓶颈是能用于预训练的语料快被用完了 现在有一个重要方向是让机器自己来生成数据并做微调 1.1 预训练&#xff08;Pre - training&#xff09;vs. 传…

ElasticSearch 认识和安装ES

文章目录 一、为什么学ElasticSearch?1.ElasticSearch 简介2.ElasticSearch 与传统数据库的对比3.ElasticSearch 应用场景4.ElasticSearch 技术特点5.ElasticSearch 市场表现6.ElasticSearch 的发展 二、认识和安装ES1.认识 Elasticsearch&#xff08;简称 ES&#xff09;2.El…

mysql和redis的最大连接数

平时我们要评估mysql和redis的最大连接数&#xff0c;可以选择好环境&#xff08;比如4核8G&#xff09;,定好压测方法&#xff08;没有索引的mysql单表&#xff0c;redis单key&#xff09;进行压测&#xff0c;评估其最大并发量。 也可以查看各大云厂商的规格进行评估。 mys…

2025年中科院分区大类划分公布!新增8155本

2025年中科院分区表变更情况 扩大收录范围 2025年的期刊分区表在原有的自然科学&#xff08;SCIE&#xff09;、社会科学&#xff08;SSCI&#xff09;和人文科学&#xff08;AHCI&#xff09;的基础上&#xff0c;增加了ESCI期刊的收录&#xff0c;并根据这些期刊的数据进行…

机器人避障不再“智障”:HEIGHT——拥挤复杂环境下机器人导航的新架构

导读&#xff1a; 由于环境中静态障碍物和动态障碍物的约束&#xff0c;机器人在密集且交互复杂的人群中导航&#xff0c;往往面临碰撞与延迟等安全与效率问题。举个简单的例子&#xff0c;商城和车站中的送餐机器人往往在人流量较大时就会停在原地无法运作&#xff0c;因为它不…

Spring Boot教程之五十二:CrudRepository 和 JpaRepository 之间的区别

Spring Boot – CrudRepository 和 JpaRepository 之间的区别 Spring Boot建立在 Spring 之上&#xff0c;包含 Spring 的所有功能。由于其快速的生产就绪环境&#xff0c;使开发人员能够直接专注于逻辑&#xff0c;而不必费力配置和设置&#xff0c;因此如今它正成为开发人员…

加速物联网HMI革命,基于TouchGFX的高效GUI显示方案

TouchGFX 是一款针对 STM32 微控制器优化的先进免费图形软件框架。 TouchGFX 利用 STM32 图形功能和架构&#xff0c;通过创建令人惊叹的类似智能手机的图形用户界面&#xff0c;加速了物联网 HMI 革命。 TouchGFX 框架包括 TouchGFX Designer (TouchGFXDesigner)&#xff08;…

Java-数据结构-栈与队列(StackQueue)

一、栈(Stack) ① 栈的概念 栈是一种特殊的线性表&#xff0c;它只允许固定一端进行"插入元素"和"删除元素"的操作&#xff0c;这固定的一端被称作"栈顶"&#xff0c;对应的另一端就被称做"栈底"。 &#x1f4da; 栈中的元素遵循后…

案例研究:UML用例图中的结账系统

在软件工程和系统分析中&#xff0c;统一建模语言&#xff08;UML&#xff09;用例图是一种强有力的工具&#xff0c;用于描述系统与其用户之间的交互。本文将通过一个具体的案例研究&#xff0c;详细解释UML用例图的关键概念&#xff0c;并说明其在设计结账系统中的应用。 用…

【动态规划篇】欣赏概率论与镜像法融合下,别出心裁探索解答括号序列问题

本篇鸡汤&#xff1a;没有人能替你承受痛苦&#xff0c;也没有人能拿走你的坚强. 欢迎拜访&#xff1a;羑悻的小杀马特.-CSDN博客 本篇主题&#xff1a;带你解答洛谷的括号序列问题&#xff08;绝对巧解&#xff09; 制作日期&#xff1a;2025.01.10 隶属专栏&#xff1a;C/C题…

点击底部的 tabBar 属于 wx.switchTab 跳转方式,目标页面的 onLoad 不会触发(除非是第一次加载)

文章目录 1. tabBar 的跳转方式2. tabBar 跳转的特点3. 你的配置分析4. 生命周期触发情况5. 总结 很多人不明白什么是第一次加载&#xff0c;两种情况讨论&#xff0c;第一种情况假设我是开发者&#xff0c;第一次加载就是指点击微信开发者工具上边的编译按钮&#xff0c;每点击…

CUDA、CUDNN以及tensorRT的版本对应关系

各版本的对应除了可以看文件的命名上还可以查看TensorRT的Release日志&#xff1a; Release Notes :: NVIDIA Deep Learning TensorRT Documentation 这个是官方测试TensorRT的Release日志&#xff0c;里面指明了当前测试的TensorRT版本是在哪个CUDNN等库下的测试结果&#x…

设计模式(观察者模式)

设计模式&#xff08;观察者模式&#xff09; 第三章 设计模式之观察者模式 观察者模式介绍 观察者模式&#xff08;Observer Design Pattern&#xff09; 也被称为发布订阅模式 。模式定义&#xff1a;在对象之间定义一个一对多的依赖&#xff0c;当一个对象状态改变的时候…

Helm部署activemq

1.helm create activemq 创建helm文件目录 2.修改values.yaml 修改image和port 3. helm template activemq 渲染并输出 4. helm install activemq activemq/ -n chemical-park // 安装 5.启动成功

Untiy中如何嵌入前端页面,从而播放推流视频?

最近工作中频繁用到unity,虽然楼主之前也搞过一些UNTY游戏开发项目&#xff0c;但对于视频这块还是不太了解&#xff0c;所以我们采用的方案是在Unity里寻找一个插件来播放推流视频。经过我的一番寻找&#xff0c;发现了这款Vuplex 3D WebView&#xff0c;它可以完美的打通Unit…