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 ## ...

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-...

Setting up git auto-login in Visual Studio Code

   ## setting command git config --global credential.helper store  

mp4, H.264 play error on rocky linux

   ## download H.264 dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm dnf install --nogpgcheck https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm dnf config-manager --enable powertools dnf groupupdate core dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin dnf groupupdate sound-and-video

install tensorflow-gpu on rocky linux

  ## download cudnn https://developer.nvidia.com/rdp/cudnn-download $ tar -xvf cudnn-linux-x86_64-8.x.x.x_cudaX.Y-archive.tar.xz $ sudo cp cudnn-*-archive/include/cudnn*.h /usr/local/cuda/include $ sudo cp -P cudnn-*-archive/lib/libcudnn* /usr/local/cuda/lib64 $ sudo chmod a+r /usr/local/cuda/include/cudnn*.h /usr/local/cuda/lib64/libcudnn*

min, max button on rocky gnome

이미지
  ## gnome tweak tools gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close"

gnome extension list

## install applications menu dnf install epel-release dnf group info "Server with GUI" dnf group install "Server with GUI" dnf install gdm gnome-shell gnome-terminal dnf -y install gnome-shell-extension-places-menu dnf -y install gnome-shell-extension-window-list dnf -y install gnome-shell-extension-drive-menu dnf -y install gnome-shell-extension-windowsNavigator dnf -y install gnome-shell-extension-appindicator dnf -y install gnome-desktop3 dnf -y install gnome-menus dnf -y install gnome-control-center dnf -y install gnome-system-monitor dnf -y install nautilus