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

Modify generate.sh to take a dynamic number of GPUs as input #24

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

Conversation

aman2304
Copy link

@aman2304 aman2304 commented Sep 2, 2024

Issue

Data generation requires exactly 8 GPUs to be present. This doesn't make the code run properly on machines with less than 8 GPUs (for instance, I am using 4 H100s)

Changes

Changed generate.sh so that the user can specify the number of GPUs as input, with a minimum number of 1. The default is still set to 8 GPUs and the number will change only if the --gpu parameter is specified

@aman2304
Copy link
Author

aman2304 commented Sep 9, 2024

@angelahzyuan could you take a look at this when you have time? Would love to merge it if it looks good to you. Thanks!

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