Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

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

@sexyHongGi

Description

@sexyHongGi

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions