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

Update finetune launch command and remove local_rank #78

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nopperl
Copy link

@nopperl nopperl commented Jun 20, 2023

The readme instructs to use the old torch.distributed.launch command instead of torch.distributed.run, which is incompatible with finetune/finetune.py because it sets the local rank using --local-rank instead of --local_rank, leading to the following error:

finetune.py: error: unrecognized arguments: --local-rank=0

This PR updates the readme to use torch.distributed.run.

Also, it seems like the --local_rank argument is not necessary because it's not used in finetune/finetune.py at all, so I removed it.

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.

1 participant