Skip to content
New issue

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

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

Already on GitHub? # to your account

Automatically detect number of workers #97

Closed
katxiao opened this issue Jun 10, 2021 · 0 comments · Fixed by #98
Closed

Automatically detect number of workers #97

katxiao opened this issue Jun 10, 2021 · 0 comments · Fixed by #98
Assignees
Labels
internal The issue doesn't change the API or functionality
Milestone

Comments

@katxiao
Copy link
Contributor

katxiao commented Jun 10, 2021

  • SDGym version: 0.3.1

Description

SDGym can automatically determine how many workers to use, based on the available GPUs or CPUs on the current machine. If the machine has GPUs, use the number of GPUs as the workers value. Otherwise use the number of CPUs. The user can request to automatically detect the number of workers by passing in workers=-1.

@katxiao katxiao added the internal The issue doesn't change the API or functionality label Jun 10, 2021
@katxiao katxiao self-assigned this Jun 10, 2021
@csala csala closed this as completed in #98 Jun 11, 2021
@katxiao katxiao added this to the 0.4.0 milestone Jun 17, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
internal The issue doesn't change the API or functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant