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 #60

Closed
PhdShi opened this issue Jul 12, 2022 · 1 comment
Closed

AttributeError #60

PhdShi opened this issue Jul 12, 2022 · 1 comment

Comments

@PhdShi
Copy link

PhdShi commented Jul 12, 2022

Hi. I am new to python and can't find any answer to this. The following is my command:
mpirun -np 8 -N 8 ./dlrm.py --mini-batch-size 32 --num-batches 100 --arch-mlp-bot 256-256 --arch-sparse-feature-size 64 --arch-embedding-size "10000-10000-10000-10000-10000-10000-10000-10000"
And then it's my errors:
File "/workspace/param/train/comms/pt/pytorch_dist_backend.py", line 709, in initialize_backend for pg_id, group_ranks in self.commsParams.groupRanks.items(): AttributeError: 'dict' object has no attribute 'groupRanks'

@lukecwalters
Copy link

I'm getting exactly the same error.

kingchc added a commit to kingchc/param-1 that referenced this issue Oct 3, 2022
Summary:
Recent code refactor has broken `dlrm.py` runs, this patch fixes them
- fix facebookresearch#60 :  error of `AttributeError: 'dict' object has no attribute 'groupRanks'`
- fix allgather parameter to collect performance numbers

Differential Revision: D40034766

fbshipit-source-id: 68992c29c05f30c1d8ffa98ce3c4acfd0274dc10
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 a pull request may close this issue.

2 participants