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

Support for multi-gpu or cpu-only training #51

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from
Open

Conversation

natlouis
Copy link
Collaborator

@natlouis natlouis commented Dec 31, 2019

Reference to #50

Adding new config parameter: num_gpus (default: -1)

-1: Use all available GPUs
0 : Do not push model onto GPU i.e. use CPU
>1: Use specified number of GPUs

  • Automatically loads weights regardless of whether it came from single or multi-gpu training.
  • Config batch size is multiplied by the number of GPUs

@natlouis natlouis requested a review from zeonzir December 31, 2019 21:43
@natlouis natlouis changed the base branch from master to dev December 31, 2019 21:43
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.

1 participant