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

Multiple processes on CPUs #2741

Open
lamthuy opened this issue May 4, 2024 · 1 comment
Open

Multiple processes on CPUs #2741

lamthuy opened this issue May 4, 2024 · 1 comment

Comments

@lamthuy
Copy link

lamthuy commented May 4, 2024

I develop accelerate on my laptop and run training with multiple GPUs on a cluster. The submission on the cluster needs to be in a queue and it is not good for debugging purpose. While running on my laptop I can only run with 1 process. Is there a way to run on 2 processes on CPUs for debugging purpose? Even When I run the following command on my laptop it is still run only 1 process:

accelerate launch --num_processes 2 --cpu train.py

Copy link

github-actions bot commented Jun 4, 2024

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

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

No branches or pull requests

1 participant