Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
deptno committed Feb 4, 2025
1 parent 704c5af commit dd58aa3
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 2 deletions.
28 changes: 28 additions & 0 deletions diary/2025-02-02.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
- [[../kubernetes|kubernetes]]
- [[../openebs|openebs]]
- storage 추가
- [[../nvidia|nvidia]] gpu 지원
+ https://github.com/NVIDIA/k8s-device-plugin
+ https://docs.kakaocloud.com/tutorial/container/k8se-nvidia-gpu-worknode
- [nvidia container toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) 을 먼저 gpu node 에 설치
```sh
systemctl cat containerd | grep ExecStart
ExecStartPre=-/sbin/modprobe overlay
ExecStart=/usr/bin/containerd # --config 옵션이 없으면 기본 config 사용중 생성 필요

containerd config default | sudo tee /etc/containerd/config.toml

# config 를 참조하도록 수정
sudo SYSTEMD_EDITOR=vim systemctl edit --full containerd
```

- `ExecStart``--config` 추가
```sh
ExecStart=/usr/bin/containerd --config /etc/containerd/config.toml
```
- `gpu-only=true` taint 걸어둔게 속썩임 helm 의 tolerence 와 맞춰서 node 에 taint 이름 변경
- 관계 정리
- target-node label, taint
- resource affinity, nodeSelector, tolerations
- [[../ollama|ollama]] 로컬 서빙
- whisper 로컬 서빙
3 changes: 3 additions & 0 deletions diary/2025-02-03.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- kubernetes
- whisper
- dify 에서 테스트
5 changes: 4 additions & 1 deletion openai-whisper.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,16 @@ whisper [AUDIO FILE] --language Korean [--model MODEL] [--output_format FORMAT]
| 1MB | 22초 | 4분16초 |
| 150MB | 10분54초 | |


## [[apple]] silicon
```sh
pip install lightning-whisper-mlx
```

## faster-whisper
- cudnn 설치 필요했음

## link
- [[python]]
- [[pipenv]]
- [[ai]]
- [[ubuntu]]
5 changes: 5 additions & 0 deletions powershell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# powershell

## link
- [[windows]]
- [[wsl]]
1 change: 1 addition & 0 deletions ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ sudo service ufw stop # 외부에서 접속하기위해 방화벽 비활성화
- [[stable-diffusion]]
- [[python]]
- [[pipenv]]
- [[wsl]]
1 change: 1 addition & 0 deletions windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@

## link
- [[wsl]]
- [[powershell]]
9 changes: 8 additions & 1 deletion wsl.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pip install pipenv

## 그외 기능
```sh
wsl -l -v # 설치 목록
wsl --list --verbose # 설치 목록
wsl --export # tar 파일로 export
wsl --import # tar 로 부터 복구
```
Expand Down Expand Up @@ -69,6 +69,12 @@ ssh [USER]@[WINDOWS_HOST_IP]

#### remote -> window host -> wsl

### 종료
- [[ssh]] 로 접속한 상태에서 pc 자체를 종료할 경우
```sh
/mnt/c/Windows/System32/cmd.exe /c shutdown /s /t 0
```

## error
- wsl 실행하니 창 열리고 바로 꺼짐
- 지우고 설치하니 default profile, guid 어쩌고하고 꺼짐
Expand All @@ -78,3 +84,4 @@ ssh [USER]@[WINDOWS_HOST_IP]
- [[windows]]
- [[ssh]]
- [[ollama]]
- [[powershell]]

0 comments on commit dd58aa3

Please sign in to comment.