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 error with local_rank assignment #5

Merged
merged 3 commits into from
Jul 25, 2023
Merged

Conversation

pnunna93
Copy link

@guschmue, the local_rank assignment in my previous PR - #4 (https://github.com/guschmue/Oscar/blob/master/oscar/run_vqa.py#L1037) is causing an error. Seems like the global declaration and assignment are not allowed in the same line.
I did test the change before pushing but somehow missed it. This PR splits global declaration and local_rank assignment which fixes the error, please check.

@guschmue guschmue merged commit 2bfb1d4 into guschmue:master Jul 25, 2023
pnunna93 added a commit to pnunna93/Oscar that referenced this pull request Feb 26, 2024
Merge pull request guschmue#5 from pnunna93/master
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