Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change digits default gpu number '0'? #2236

Open
sexyHongGi opened this issue Aug 28, 2020 · 0 comments
Open

How to change digits default gpu number '0'? #2236

sexyHongGi opened this issue Aug 28, 2020 · 0 comments

Comments

@sexyHongGi
Copy link

When running, the digits process occupies the first gpu(gpu number '0')

How to change to another gpu(ex. 1,2,3,4)?

nvidia-smi

Fri Aug 28 16:07:45 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.82 Driver Version: 440.82 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 TITAN Xp Off | 00000000:18:00.0 Off | N/A |
| 23% 32C P8 8W / 250W | 606MiB / 12196MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 1 TITAN Xp Off | 00000000:3B:00.0 Off | N/A |
| 23% 32C P8 9W / 250W | 10MiB / 12196MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 2 TITAN Xp Off | 00000000:5E:00.0 Off | N/A |
| 23% 34C P8 8W / 250W | 10MiB / 12196MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 3 TITAN Xp Off | 00000000:86:00.0 Off | N/A |
| 23% 39C P8 9W / 250W | 10MiB / 12196MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 4 TITAN Xp Off | 00000000:D8:00.0 Off | N/A |
| 23% 36C P8 9W / 250W | 10MiB / 12196MiB | 0% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1208873 C python2 149MiB |
| 0 1209109 C python2 149MiB |
| 0 1209326 C python2 149MiB |
| 0 1209540 C python2 149MiB |
+-----------------------------------------------------------------------------+

ps -ef | grep 1208873

root 1208873 1208872 4 Aug19 ? 10:47:48 python2 -m digits
root 2798961 2720196 0 16:07 pts/3 00:00:00 grep --color=auto 1208873

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant