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

[Fix] Fix local rank #1558

Merged
merged 2 commits into from
Apr 2, 2022
Merged

Conversation

kennymckormick
Copy link
Member

No description provided.

@makecent
Copy link
Contributor

makecent commented Mar 23, 2023

@hukkai @kennymckormick According to a recent update in pytorch (10 Feb 2023). Now it prefers dash over underscore ( - rather than _).

usage: train.py [-h] [--work-dir WORK_DIR] [--resume [RESUME]] [--amp] [--no-validate] [--auto-scale-lr] [--seed SEED] [--diff-rank-seed] [--deterministic] [--cfg-options CFG_OPTIONS [CFG_OPTIONS ...]]
                [--launcher {none,pytorch,slurm,mpi}] [--local_rank LOCAL_RANK]
                config                                                                                                                                                                                     
train.py: error: unrecognized arguments: --local-rank=0

Maybe we should change back the argument local_rank to local-rank?

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 this pull request may close these issues.

2 participants