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

How to set local_rank in main.py? #16

Open
hieutrong512 opened this issue Apr 4, 2023 · 0 comments
Open

How to set local_rank in main.py? #16

hieutrong512 opened this issue Apr 4, 2023 · 0 comments

Comments

@hieutrong512
Copy link

hieutrong512 commented Apr 4, 2023

I used to be able to train model, but lately I can't. I made a mistake about the parameter local_rank. As follows:

image

I didn't edit anything in the main.py file, I tried to set os.environ['LOCAL_RANK']=0 or 1 but it wasn't works.
I run this model on Google Colab, so my GPU device is only one. But I have run it successfully before :(

Can you help me to solve this problems?

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