CUDA error: no kernel image is available for execution on the device
## pytorch reinstall
(keras) [min@ai grecognition]$ conda uninstall pytorch
Collecting package metadata (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/keras
  removed specs:
    - pytorch
The following packages will be downloaded:
    package                    |            build
    ---------------------------|-----------------
    debugpy-1.5.1              |   py37h295c915_0         1.7 MB
    entrypoints-0.4            |   py37h06a4308_0          16 KB
    ipython-7.31.1             |   py37h06a4308_0        1013 KB
    jedi-0.18.1                |   py37h06a4308_1         980 KB
    jupyter_client-7.2.2       |   py37h06a4308_0         190 KB
    jupyter_core-4.10.0        |   py37h06a4308_0          75 KB
    nest-asyncio-1.5.5         |   py37h06a4308_0          16 KB
    psutil-5.9.0               |   py37h5eee18b_0         328 KB
    pyzmq-22.3.0               |   py37h295c915_2         465 KB
    ------------------------------------------------------------
                                           Total:         4.7 MB
The following packages will be REMOVED:
  backports-1.0-py_2
  backports.functools_lru_cache-1.6.4-pyhd8ed1ab_0
  blas-1.0-mkl
  brotlipy-0.7.0-py37h27cfd23_1003
  bzip2-1.0.8-h7b6447c_0
  cffi-1.15.0-py37hd667e15_1
  charset-normalizer-2.0.4-pyhd3eb1b0_0
  cryptography-37.0.1-py37h9ce1e76_0
  ffmpeg-4.3-hf484d3e_0
  freetype-2.11.0-h70c0345_0
  giflib-5.2.1-h7b6447c_0
  gmp-6.2.1-h295c915_3
  gnutls-3.6.15-he1e5248_0
  idna-3.3-pyhd3eb1b0_0
  intel-openmp-2021.4.0-h06a4308_3561
  jpeg-9e-h7f8727e_0
  lame-3.100-h7b6447c_0
  lcms2-2.12-h3be6417_0
  libiconv-1.16-h7f8727e_2
  libidn2-2.3.2-h7f8727e_0
  libpng-1.6.37-hbc83047_0
  libtasn1-4.16.0-h27cfd23_0
  libtiff-4.2.0-h2818925_1
  libunistring-0.9.10-h27cfd23_0
  libwebp-1.2.2-h55f646e_0
  libwebp-base-1.2.2-h7f8727e_0
  lz4-c-1.9.3-h295c915_1
  mkl-2021.4.0-h06a4308_640
  mkl-service-2.4.0-py37h7f8727e_0
  mkl_fft-1.3.1-py37hd3c417c_0
  mkl_random-1.2.2-py37h51133e4_0
  nettle-3.7.3-hbbd107a_1
  numpy-1.21.5-py37h6c91a56_3
  numpy-base-1.21.5-py37ha15fc14_3
  openh264-2.1.1-h4ff587b_0
  pillow-9.0.1-py37h22f2fdc_0
  pycparser-2.21-pyhd3eb1b0_0
  pyopenssl-22.0.0-pyhd3eb1b0_0
  pysocks-1.7.1-py37_1
  python_abi-3.7-2_cp37m
  pytorch-1.12.0-py3.7_cpu_0
  pytorch-mutex-1.0-cpu
  requests-2.28.0-py37h06a4308_0
  torchaudio-0.12.0-py37_cpu
  torchvision-0.13.0-py37_cpu
  typing_extensions-4.1.1-pyh06a4308_0
  urllib3-1.26.9-py37h06a4308_0
  zstd-1.5.2-ha4553b6_0
The following packages will be UPDATED:
  jupyter_client     conda-forge/noarch::jupyter_client-7.~ --> pkgs/main/linux-64::jupyter_client-7.2.2-py37h06a4308_0
  pexpect            conda-forge::pexpect-4.8.0-pyh9f0ad1d~ --> pkgs/main::pexpect-4.8.0-pyhd3eb1b0_3
  ptyprocess         conda-forge::ptyprocess-0.7.0-pyhd3de~ --> pkgs/main::ptyprocess-0.7.0-pyhd3eb1b0_2
  pyzmq              conda-forge::pyzmq-19.0.2-py37hac76be~ --> pkgs/main::pyzmq-22.3.0-py37h295c915_2
  six                  conda-forge::six-1.16.0-pyh6c4a22f_0 --> pkgs/main::six-1.16.0-pyhd3eb1b0_1
The following packages will be SUPERSEDED by a higher-priority channel:
  backcall           conda-forge::backcall-0.2.0-pyh9f0ad1~ --> pkgs/main::backcall-0.2.0-pyhd3eb1b0_0
  ca-certificates    conda-forge::ca-certificates-2022.6.1~ --> pkgs/main::ca-certificates-2022.4.26-h06a4308_0
  debugpy            conda-forge::debugpy-1.6.0-py37hd23a5~ --> pkgs/main::debugpy-1.5.1-py37h295c915_0
  decorator          conda-forge::decorator-5.1.1-pyhd8ed1~ --> pkgs/main::decorator-5.1.1-pyhd3eb1b0_0
  entrypoints        conda-forge/noarch::entrypoints-0.4-p~ --> pkgs/main/linux-64::entrypoints-0.4-py37h06a4308_0
  ipython            conda-forge::ipython-7.33.0-py37h89c1~ --> pkgs/main::ipython-7.31.1-py37h06a4308_0
  jedi               conda-forge::jedi-0.18.1-py37h89c1867~ --> pkgs/main::jedi-0.18.1-py37h06a4308_1
  jupyter_core       conda-forge::jupyter_core-4.10.0-py37~ --> pkgs/main::jupyter_core-4.10.0-py37h06a4308_0
  libsodium          conda-forge::libsodium-1.0.18-h36c2ea~ --> pkgs/main::libsodium-1.0.18-h7b6447c_0
  matplotlib-inline  conda-forge::matplotlib-inline-0.1.3-~ --> pkgs/main::matplotlib-inline-0.1.2-pyhd3eb1b0_2
  nest-asyncio       conda-forge/noarch::nest-asyncio-1.5.~ --> pkgs/main/linux-64::nest-asyncio-1.5.5-py37h06a4308_0
  packaging          conda-forge::packaging-21.3-pyhd8ed1a~ --> pkgs/main::packaging-21.3-pyhd3eb1b0_0
  parso               conda-forge::parso-0.8.3-pyhd8ed1ab_0 --> pkgs/main::parso-0.8.3-pyhd3eb1b0_0
  pickleshare        conda-forge::pickleshare-0.7.5-py_1003 --> pkgs/main::pickleshare-0.7.5-pyhd3eb1b0_1003
  prompt-toolkit     conda-forge::prompt-toolkit-3.0.30-py~ --> pkgs/main::prompt-toolkit-3.0.20-pyhd3eb1b0_0
  psutil             conda-forge::psutil-5.9.1-py37h540881~ --> pkgs/main::psutil-5.9.0-py37h5eee18b_0
  pygments           conda-forge::pygments-2.12.0-pyhd8ed1~ --> pkgs/main::pygments-2.11.2-pyhd3eb1b0_0
  pyparsing          conda-forge::pyparsing-3.0.9-pyhd8ed1~ --> pkgs/main::pyparsing-3.0.4-pyhd3eb1b0_0
  python-dateutil    conda-forge::python-dateutil-2.8.2-py~ --> pkgs/main::python-dateutil-2.8.2-pyhd3eb1b0_0
  traitlets          conda-forge::traitlets-5.3.0-pyhd8ed1~ --> pkgs/main::traitlets-5.1.1-pyhd3eb1b0_0
  wcwidth            conda-forge::wcwidth-0.2.5-pyh9f0ad1d~ --> pkgs/main::wcwidth-0.2.5-pyhd3eb1b0_0
  zeromq               conda-forge::zeromq-4.3.4-h9c3ff4c_1 --> pkgs/main::zeromq-4.3.4-h2531618_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
jupyter_client-7.2.2 | 190 KB    | ################################################################################################################################################################################## | 100% 
psutil-5.9.0         | 328 KB    | ################################################################################################################################################################################## | 100% 
jupyter_core-4.10.0  | 75 KB     | ################################################################################################################################################################################## | 100% 
jedi-0.18.1          | 980 KB    | ################################################################################################################################################################################## | 100% 
debugpy-1.5.1        | 1.7 MB    | ################################################################################################################################################################################## | 100% 
ipython-7.31.1       | 1013 KB   | ################################################################################################################################################################################## | 100% 
entrypoints-0.4      | 16 KB     | ################################################################################################################################################################################## | 100% 
pyzmq-22.3.0         | 465 KB    | ################################################################################################################################################################################## | 100% 
nest-asyncio-1.5.5   | 16 KB     | ################################################################################################################################################################################## | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(keras) [min@ai grecognition]$ 
## pytorch reinstall
(keras) [min@ai grecognition]$ conda install pytorch torchvision torchaudio cudatoolkit=11.0 -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/keras
  added / updated specs:
    - cudatoolkit=11.0
    - pytorch
    - torchaudio
    - torchvision
The following NEW packages will be INSTALLED:
  blas               pkgs/main/linux-64::blas-1.0-mkl
  brotlipy           pkgs/main/linux-64::brotlipy-0.7.0-py37h27cfd23_1003
  bzip2              pkgs/main/linux-64::bzip2-1.0.8-h7b6447c_0
  cffi               pkgs/main/linux-64::cffi-1.15.0-py37hd667e15_1
  charset-normalizer pkgs/main/noarch::charset-normalizer-2.0.4-pyhd3eb1b0_0
  cryptography       pkgs/main/linux-64::cryptography-37.0.1-py37h9ce1e76_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
  idna               pkgs/main/noarch::idna-3.3-pyhd3eb1b0_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
  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-py37h7f8727e_0
  mkl_fft            pkgs/main/linux-64::mkl_fft-1.3.1-py37hd3c417c_0
  mkl_random         pkgs/main/linux-64::mkl_random-1.2.2-py37h51133e4_0
  nettle             pkgs/main/linux-64::nettle-3.7.3-hbbd107a_1
  numpy              pkgs/main/linux-64::numpy-1.21.5-py37h6c91a56_3
  numpy-base         pkgs/main/linux-64::numpy-base-1.21.5-py37ha15fc14_3
  openh264           pkgs/main/linux-64::openh264-2.1.1-h4ff587b_0
  pillow             pkgs/main/linux-64::pillow-9.0.1-py37h22f2fdc_0
  pycparser          pkgs/main/noarch::pycparser-2.21-pyhd3eb1b0_0
  pyopenssl          pkgs/main/noarch::pyopenssl-22.0.0-pyhd3eb1b0_0
  pysocks            pkgs/main/linux-64::pysocks-1.7.1-py37_1
  pytorch            pytorch/linux-64::pytorch-1.12.0-py3.7_cpu_0
  pytorch-mutex      pytorch/noarch::pytorch-mutex-1.0-cpu
  requests           pkgs/main/linux-64::requests-2.28.0-py37h06a4308_0
  torchaudio         pytorch/linux-64::torchaudio-0.12.0-py37_cpu
  torchvision        pytorch/linux-64::torchvision-0.13.0-py37_cpu
  typing_extensions  pkgs/main/noarch::typing_extensions-4.1.1-pyh06a4308_0
  urllib3            pkgs/main/linux-64::urllib3-1.26.9-py37h06a4308_0
  zstd               pkgs/main/linux-64::zstd-1.5.2-ha4553b6_0
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(keras) [min@ai grecognition]$ 
댓글
댓글 쓰기