Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- RHEL
- JSON
- GNOME
- Linux
- 빅데이터
- Elasticsearch
- 서울시민카드
- CentOS
- zabbix
- 크롬
- syslog
- Python
- PostgreSQL
- rsyslog
- log
- GPU
- yum
- K8S
- bash
- centos 7.5
- Audit Log
- C
- audit
- Shell
- Kubernetes
- 디렉토리
- Chrome
- docker
- Elk
- 파이썬
Archives
- Today
- Total
목록CUDA_VISIBLE_DEVICES (1)
Sysops Notepad
[Linux,linux] Centos Multi GPU 환경에서 특정 GPU만 사용하기
1. Terminal에서 python code를 실행하는 방법 $ CUDA_VISIBLE_DEVICES=0 python test1.py # Uses GPU 0.$ CUDA_VISIBLE_DEVICES=1 python test2.py # Uses GPU 1.$ CUDA_VISIBLE_DEVICES=2,3 python test3.py # Uses GPUs 2 and 3. or 2. python code 추가하는 방법import osos.environ["CUDA_DEVICE_ORDER"]="PCI_BUS_ID" os.environ["CUDA_VISIBLE_DEVICES"]="0" 참고:https://stackoverflow.com/questions/34775522/tensorflow-multiple-sessi..
업무/dev
2019. 2. 20. 11:23