Tmux (Terminal multiplexer) 사용법
https://blog.naver.com/PostView.naver?blogId=songsite123&logNo=223809804101&navType=by
[Ubuntu] Tmux 사용법
https://whoyayawho.github.io/ubuntuTmux/
tmux 사용법
https://looka149.tistory.com/134
docker attach container name
tmux new-session -d -s run_seq2tree_gpu0
tmux new-session -d -s run_seq2tree_gpu1
tmux ls
tmux attach -t run_seq2tree_gpu0
tmux attach -t run_seq2tree_gpu1
tmux send-keys -t run_seq2tree_gpu0 'CUDA_VISIBLE_DEVICES=0 TORCH_USE_CUDA_DSA=1 CUDA_LAUNCH_BLOCKING=1 python ./math_seq2tree/run_seq2tree_gpu0.py' C-m
tmux send-keys -t run_seq2tree_gpu1 'CUDA_VISIBLE_DEVICES=1 TORCH_USE_CUDA_DSA=0 CUDA_LAUNCH_BLOCKING=0 python ./math_seq2tree/run_seq2tree_gpu1.py' C-m
'Tech > 리눅스' 카테고리의 다른 글
| Docker Command (0) | 2025.09.26 |
|---|---|
| Mac OS Command Line (0) | 2024.03.15 |
| 리눅스 파이썬 버전 관리/가상환경 활성화 (0) | 2024.03.06 |
| Slurm (0) | 2024.03.06 |