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

Enable user to specify torch device in run_training #1943

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bdzyubak
Copy link

@bdzyubak bdzyubak commented Feb 10, 2024

Added command line argument and passthrough to specify the GPU device natively, rather than using environment variables to hide GPUs. Disabled the GPU number override in the trainer.

And stop overriding it with index 0 in the actual trainer
@FabianIsensee FabianIsensee self-assigned this Feb 10, 2024
@FabianIsensee
Copy link
Member

Hey, what would you say is the advantage of doing it this way rather than using the environment variable?

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

Successfully merging this pull request may close these issues.

None yet

2 participants