RuntimeError: CUDA error: no kernel image is available for execution on the device
## pytorch remove
pip uninstall torch
Found existing installation: torch 1.9.0
Uninstalling torch-1.9.0:
Would remove:
/home/min/anaconda3/envs/easy/lib/python3.8/site-packages/caffe2/proto/caffe2_legacy_pb2.py
/home/min/anaconda3/envs/easy/lib/python3.8/site-packages/caffe2/proto/hsm_pb2.py
/home/min/anaconda3/envs/easy/lib/python3.8/site-packages/caffe2/proto/metanet_pb2.py
check torch version
## pytroch install
https://pytorch.org/get-started/previous-versions/
## pytorch reinstall
(easy) [min@ai deep-text-recognition-benchmark]$ conda install pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=10.2 -c pytorch
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.10.3
latest version: 4.13.0
Please update conda by running
$ conda update -n base -c defaults conda
## Package Plan ##
environment location: /home/min/anaconda3/envs/easy
added / updated specs:
- cudatoolkit=10.2
- pytorch==1.10.1
- torchaudio==0.10.1
- torchvision==0.11.2
The following packages will be downloaded:
package | build
---------------------------|-----------------
pytorch-1.10.1 |py3.8_cuda10.2_cudnn7.6.5_0 768.4 MB pytorch
torchaudio-0.10.1 | py38_cu102 4.5 MB pytorch
torchvision-0.11.2 | py38_cu102 30.1 MB pytorch
------------------------------------------------------------
Total: 802.9 MB
The following NEW packages will be INSTALLED:
blas pkgs/main/linux-64::blas-1.0-mkl
bzip2 pkgs/main/linux-64::bzip2-1.0.8-h7b6447c_0
ffmpeg pytorch/linux-64::ffmpeg-4.3-hf484d3e_0
freetype pkgs/main/linux-64::freetype-2.11.0-h70c0345_0
giflib pkgs/main/linux-64::giflib-5.2.1-h7b6447c_0
gmp pkgs/main/linux-64::gmp-6.2.1-h295c915_3
gnutls pkgs/main/linux-64::gnutls-3.6.15-he1e5248_0
intel-openmp pkgs/main/linux-64::intel-openmp-2021.4.0-h06a4308_3561
jpeg pkgs/main/linux-64::jpeg-9e-h7f8727e_0
lame pkgs/main/linux-64::lame-3.100-h7b6447c_0
lcms2 pkgs/main/linux-64::lcms2-2.12-h3be6417_0
libiconv pkgs/main/linux-64::libiconv-1.16-h7f8727e_2
libidn2 pkgs/main/linux-64::libidn2-2.3.2-h7f8727e_0
libpng pkgs/main/linux-64::libpng-1.6.37-hbc83047_0
libtasn1 pkgs/main/linux-64::libtasn1-4.16.0-h27cfd23_0
libtiff pkgs/main/linux-64::libtiff-4.2.0-h2818925_1
libunistring pkgs/main/linux-64::libunistring-0.9.10-h27cfd23_0
libuv pkgs/main/linux-64::libuv-1.40.0-h7b6447c_0
libwebp pkgs/main/linux-64::libwebp-1.2.2-h55f646e_0
libwebp-base pkgs/main/linux-64::libwebp-base-1.2.2-h7f8727e_0
lz4-c pkgs/main/linux-64::lz4-c-1.9.3-h295c915_1
mkl pkgs/main/linux-64::mkl-2021.4.0-h06a4308_640
mkl-service pkgs/main/linux-64::mkl-service-2.4.0-py38h7f8727e_0
mkl_fft pkgs/main/linux-64::mkl_fft-1.3.1-py38hd3c417c_0
mkl_random pkgs/main/linux-64::mkl_random-1.2.2-py38h51133e4_0
nettle pkgs/main/linux-64::nettle-3.7.3-hbbd107a_1
numpy pkgs/main/linux-64::numpy-1.22.3-py38he7a7128_0
numpy-base pkgs/main/linux-64::numpy-base-1.22.3-py38hf524024_0
openh264 pkgs/main/linux-64::openh264-2.1.1-h4ff587b_0
pillow pkgs/main/linux-64::pillow-9.0.1-py38h22f2fdc_0
pytorch pytorch/linux-64::pytorch-1.10.1-py3.8_cuda10.2_cudnn7.6.5_0
pytorch-mutex pytorch/noarch::pytorch-mutex-1.0-cuda
torchaudio pytorch/linux-64::torchaudio-0.10.1-py38_cu102
torchvision pytorch/linux-64::torchvision-0.11.2-py38_cu102
typing_extensions pkgs/main/noarch::typing_extensions-4.1.1-pyh06a4308_0
zstd pkgs/main/linux-64::zstd-1.5.2-ha4553b6_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
torchvision-0.11.2 | 30.1 MB | ################################################################################################################################################################################## | 100%
torchaudio-0.10.1 | 4.5 MB | ################################################################################################################################################################################## | 100%
pytorch-1.10.1 | 768.4 MB | ################################################################################################################################################################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(easy) [min@ai deep-text-recognition-benchmark]$ conda install pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=10.2 -c pytorch
댓글
댓글 쓰기