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

[FEATURE-REQUEST] Add a --gpus flag #110

Open
saattrupdan opened this issue Mar 1, 2023 · 0 comments
Open

[FEATURE-REQUEST] Add a --gpus flag #110

saattrupdan opened this issue Mar 1, 2023 · 0 comments
Labels
enhancement New feature or request good-first-issue Issues which are good for new contributors

Comments

@saattrupdan
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
When we have multiple GPUs available, we sometimes want to have control over which ones are used.

Describe the solution you'd like
A flag along the lines of --gpus which could specify a single GPU (--gpus 1 to use the second GPU) or multiple (--gpus 0,1 to use both the first and second GPU). Ideally, some informative logging would be great as well. For instance, "Running on all GPUs", "You're using the first GPU" etc.

Describe alternatives you've considered
An alternative is specifying CUDA_VISIBLE_DEVICES every time the CLI is run, but that's not as intuitive and I often forget it.

@saattrupdan saattrupdan added enhancement New feature or request good-first-issue Issues which are good for new contributors labels Mar 1, 2023
@saattrupdan saattrupdan changed the title [FEATURE-REQUEST] [FEATURE-REQUEST] Add a --gpus flag Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good-first-issue Issues which are good for new contributors
Projects
None yet
Development

No branches or pull requests

1 participant