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

AttributeError: 'SequenceParallelGroupCoordinator' object has no attribute 'shm_broadcaster' #470

Open
ystgx opened this issue Mar 6, 2025 · 1 comment

Comments

@ystgx
Copy link

ystgx commented Mar 6, 2025

It seems that GroupCoordinator support shared memory broadcaster, but there is no code to init it. So if use broadcast_object api, it will throw Error:
AttributeError: 'SequenceParallelGroupCoordinator' object has no attribute 'shm_broadcaster'

@feifeibear
Copy link
Collaborator

It appears the GroupCoordinator is designed to support a shared memory broadcaster, yet the initialization code for shm_broadcaster is missing in SequenceParallelGroupCoordinator. To provide more reproducibility evidence:

  1. Code Snippet: Share the exact code where you call the broadcast_object API, including how the SequenceParallelGroupCoordinator object is instantiated.
  2. System Environment: Specify your Python version, relevant library versions (e.g., if GroupCoordinator is from a particular library), and the operating system you're using.
  3. Steps to Reproduce: Outline the step - by - step process to reproduce the error, from setting up the environment to running the code.

This additional information will help in pinpointing the root cause.

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

2 participants