Skip to content
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

Basic Error #3793

Open
Imbernoulli opened this issue Mar 21, 2024 · 0 comments
Open

Basic Error #3793

Imbernoulli opened this issue Mar 21, 2024 · 0 comments

Comments

@Imbernoulli
Copy link

I follow the direction and error happens.

(pytorch) root@8ikb0p7c24u18-0:/bjzhyai03/bohan# virtualenv -p python3 $HOME/tmp/deepspeech-venv/
created virtual environment CPython3.6.9.final.0-64 in 306ms
  creator CPython3Posix(dest=/root/tmp/deepspeech-venv, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv)
    added seed packages: pip==21.3.1, setuptools==59.6.0, wheel==0.37.1
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
(pytorch) root@8ikb0p7c24u18-0:/bjzhyai03/bohan# source $HOME/tmp/deepspeech-venv/bin/activate
(deepspeech-venv) (pytorch) root@8ikb0p7c24u18-0:/bjzhyai03/bohan# pip3 install deepspeech
Looking in indexes: https://10.251.102.1:443/simple
Collecting deepspeech
  Using cached https://10.251.102.1:443/packages/6a/d4/790e77b46e76f5bada961b02e8f8afec2455f42d134c1730ae84e276de64/deepspeech-0.9.3-cp36-cp36m-manylinux1_x86_64.whl (9.2 MB)
Collecting numpy
  Downloading https://10.251.102.1:443/packages/14/32/d3fa649ad7ec0b82737b92fefd3c4dd376b0bb23730715124569f38f3a08/numpy-1.19.5-cp36-cp36m-manylinux2010_x86_64.whl (14.8 MB)
     |################################| 14.8 MB 1.9 MB/s            
Installing collected packages: numpy, deepspeech
Successfully installed deepspeech-0.9.3 numpy-1.19.5
(deepspeech-venv) (pytorch) root@8ikb0p7c24u18-0:/bjzhyai03/bohan# pip3 install --upgrade deepspeech
Looking in indexes: https://10.251.102.1:443/simple
Requirement already satisfied: deepspeech in /root/tmp/deepspeech-venv/lib/python3.6/site-packages (0.9.3)
Requirement already satisfied: numpy in /root/tmp/deepspeech-venv/lib/python3.6/site-packages (from deepspeech) (1.19.5)
(deepspeech-venv) (pytorch) root@8ikb0p7c24u18-0:/bjzhyai03/bohan# pip3 install --upgrade deepspeech-gpu
Looking in indexes: https://10.251.102.1:443/simple
Collecting deepspeech-gpu
  Using cached https://10.251.102.1:443/packages/59/ff/f0a16fabbad933f1e5eca297840d0ed3582ee9ddb0ac996823cca7a61c1a/deepspeech_gpu-0.9.3-cp36-cp36m-manylinux1_x86_64.whl (22.3 MB)
Requirement already satisfied: numpy in /root/tmp/deepspeech-venv/lib/python3.6/site-packages (from deepspeech-gpu) (1.19.5)
Installing collected packages: deepspeech-gpu
Successfully installed deepspeech-gpu-0.9.3
(deepspeech-venv) (pytorch) root@8ikb0p7c24u18-0:/bjzhyai03/bohan# deepspeech --model deepspeech-0.9.3-models.pbmm --scorer deepspeech-0.9.3-models.scorer --audio my_audio_file.wav
2024-03-21 13:41:30.288967: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2024-03-21 13:41:30.289045: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Loading model from file deepspeech-0.9.3-models.pbmm
TensorFlow: v2.3.0-6-g23ad988
DeepSpeech: v0.9.3-0-gf2e9c85
2024-03-21 13:41:30.423185: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-03-21 13:41:30.437042: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcuda.so.1
2024-03-21 13:41:32.468837: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties: 
pciBusID: 0000:0e:00.0 name: NVIDIA A100-SXM4-40GB computeCapability: 8.0
coreClock: 1.41GHz coreCount: 108 deviceMemorySize: 39.59GiB deviceMemoryBandwidth: 1.41TiB/s
2024-03-21 13:41:32.469786: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 1 with properties: 
pciBusID: 0000:0f:00.0 name: NVIDIA A100-SXM4-40GB computeCapability: 8.0
coreClock: 1.41GHz coreCount: 108 deviceMemorySize: 39.59GiB deviceMemoryBandwidth: 1.41TiB/s
2024-03-21 13:41:32.470612: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 2 with properties: 
pciBusID: 0000:1f:00.0 name: NVIDIA A100-SXM4-40GB computeCapability: 8.0
coreClock: 1.41GHz coreCount: 108 deviceMemorySize: 39.59GiB deviceMemoryBandwidth: 1.41TiB/s
2024-03-21 13:41:32.471419: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 3 with properties: 
pciBusID: 0000:20:00.0 name: NVIDIA A100-SXM4-40GB computeCapability: 8.0
coreClock: 1.41GHz coreCount: 108 deviceMemorySize: 39.59GiB deviceMemoryBandwidth: 1.41TiB/s
2024-03-21 13:41:32.472184: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 4 with properties: 
pciBusID: 0000:b5:00.0 name: NVIDIA A100-SXM4-40GB computeCapability: 8.0
coreClock: 1.41GHz coreCount: 108 deviceMemorySize: 39.59GiB deviceMemoryBandwidth: 1.41TiB/s
2024-03-21 13:41:32.473097: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 5 with properties: 
pciBusID: 0000:b6:00.0 name: NVIDIA A100-SXM4-40GB computeCapability: 8.0
coreClock: 1.41GHz coreCount: 108 deviceMemorySize: 39.59GiB deviceMemoryBandwidth: 1.41TiB/s
2024-03-21 13:41:32.473874: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 6 with properties: 
pciBusID: 0000:ce:00.0 name: NVIDIA A100-SXM4-40GB computeCapability: 8.0
coreClock: 1.41GHz coreCount: 108 deviceMemorySize: 39.59GiB deviceMemoryBandwidth: 1.41TiB/s
2024-03-21 13:41:32.474625: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 7 with properties: 
pciBusID: 0000:cf:00.0 name: NVIDIA A100-SXM4-40GB computeCapability: 8.0
coreClock: 1.41GHz coreCount: 108 deviceMemorySize: 39.59GiB deviceMemoryBandwidth: 1.41TiB/s
2024-03-21 13:41:32.474895: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2024-03-21 13:41:32.475047: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcublas.so.10'; dlerror: libcublas.so.10: cannot open shared object file: No such file or directory
2024-03-21 13:41:32.478016: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcufft.so.10
2024-03-21 13:41:32.478639: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcurand.so.10
2024-03-21 13:41:32.484268: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcusolver.so.10
2024-03-21 13:41:32.484412: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcusparse.so.10'; dlerror: libcusparse.so.10: cannot open shared object file: No such file or directory
2024-03-21 13:41:32.484512: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudnn.so.7'; dlerror: libcudnn.so.7: cannot open shared object file: No such file or directory
2024-03-21 13:41:32.484542: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1753] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2024-03-21 13:41:32.484759: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
2024-03-21 13:41:32.484786: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]      0 1 2 3 4 5 6 7 
2024-03-21 13:41:32.484835: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 0:   N Y Y Y Y Y Y Y 
2024-03-21 13:41:32.484863: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 1:   Y N Y Y Y Y Y Y 
2024-03-21 13:41:32.484883: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 2:   Y Y N Y Y Y Y Y 
2024-03-21 13:41:32.484903: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 3:   Y Y Y N Y Y Y Y 
2024-03-21 13:41:32.484927: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 4:   Y Y Y Y N Y Y Y 
2024-03-21 13:41:32.484948: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 5:   Y Y Y Y Y N Y Y 
2024-03-21 13:41:32.484968: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 6:   Y Y Y Y Y Y N Y 
2024-03-21 13:41:32.484987: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 7:   Y Y Y Y Y Y Y N 
Loaded model in 2.09s.
Loading scorer from files deepspeech-0.9.3-models.scorer
terminate called after throwing an instance of 'lm::FormatLoadException'
  what():  native_client/kenlm/lm/binary_format.cc:160 in void* lm::ngram::BinaryFormat::LoadBinary(std::size_t) threw FormatLoadException because `file_size != util::kBadSize && file_size < total_map'.
Binary file has size 573880774 but the headers say it should be at least 941209108
Aborted (core dumped)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant