[go: up one dir, main page]

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

Why broadcast_buffers=False in train.py? #15

Open
huiliukeith-mineral opened this issue Nov 29, 2023 · 0 comments
Open

Why broadcast_buffers=False in train.py? #15

huiliukeith-mineral opened this issue Nov 29, 2023 · 0 comments

Comments

@huiliukeith-mineral
Copy link

Hi,

I see this code in trian.py
model = DistributedDataParallel(model, device_ids=[args.local_rank], broadcast_buffers=False)

since queue is in buffer. Does it mean that each GPU will have its own buffer and update by itself? If so, should we sync the queue across GPUs?

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

No branches or pull requests

1 participant