https://datanavigator.tistory.com/60

 

WSL2 Ubuntu 한글화 설정

WSL2 Ubuntu 한글화 설정 윈도우에 WSL2를 설치하고 ubuntu를 다운로드하면 리눅스를 편리하게 사용할 수 있다.하지만 한글화가 되어 있지 않기 때문에 한글화 설정이 필요하다. 1. 한글 폰트 설치sudo a

datanavigator.tistory.com

이것대로 한후, shift + space 로 변경하려면.

 

fcitx-config-gtk3 에서 '전역 설정' -> 트리거 입력기에 shift + space 로 변경한다.

 

whisper --language Korean --device cuda [file] 을 하면되는데 cpu가속이 되는경우가 있다.

확인 방법은

 

python3 -c "import torch; print(torch.cuda.is_available())"

False인 경우 버젼을 확인해본다.

python3 -c "import torch; print(torch.__version__)"

 

https://developer.nvidia.com/cuda-11-6-0-download-archive

 

CUDA Toolkit 11.6 Downloads

Get CUDA Toolkit 11.6 for Linux and Windows.

developer.nvidia.com

를 통해서 cuda를 설치해야되는데, 오늘기준으로 보면 cuda 11.6을 설치해야되는걸로 보인다.

 

https://pytorch.org/get-started/previous-versions/

 

Previous PyTorch Versions

Installing previous versions of PyTorch

pytorch.org

에서 확인해보면 

# CUDA 11.6
pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116

라고 되어있으니 그대로 실행한뒤 (pip3을 사용했음) torch버젼을 확인해보면 제대로 설치되어있다.

kalstein@GAMEPC:~/aa_lecture/20241108$ python3 -c "import torch; print(torch.__version__)"
1.13.1+cu116

 

이후에 whisper를 실행해보면 월등히 빠른속도로 나온다.

gcc-arm-none-eabi 관련해서 permission이 없다는 에러

'/bin/sh: 1: arm-none-eabi-gcc: Permission denied'

 

-> 설치가 안되어있음.

sudo apt install gcc-arm-none-eabi

 

 

 

platforms/chibios/platform.mk:266: lib/chibios/os/hal/lib/streams/streams.mk: No such file or directory
gmake: *** No rule to make target 'lib/chibios/os/hal/lib/streams/streams.mk'.  Stop.

 

-> 이것도 qmk쪽의 chibios가 설치 안되어서 생기는 문제

qmk git-submodule

 

+ Recent posts