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

How can run this project with one GPU?! #32

Closed
saeedmaroof opened this issue Jan 3, 2023 · 2 comments
Closed

How can run this project with one GPU?! #32

saeedmaroof opened this issue Jan 3, 2023 · 2 comments

Comments

@saeedmaroof
Copy link

hi.
I am trying to test this model on Google Speech Command but after testing progress bar complete, I get this error:
Default process group has not been initialized, please make sure to call init_process_group

I google this error and found that this error happens because of 'SyncBatchNorm' in 1 GPU and I should replace them by normal ones.
in your code i found 'sync_batchnorm' parameter in pl.Trainer() and set its value to 'False' and run test command again but it wasn't work.

could anyone please tell me how can i run this project on 1 GPU ?!
thanks.

@JonathanFL
Copy link

JonathanFL commented Jan 16, 2023

Might be related to #21

@RetroCirce
Copy link
Owner

Hi,

Sorry for the late reply, I was extremely busy these days for different dues. Yes, you can refer to #21 .
Also, you don't need to change the sync_batchnorm, just remain it True, it will automatically turn to false if it is not run on multi-gpu.

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

3 participants