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

UnboundLocalError: local variable 'minibatch_size' referenced before assignment #25

Closed
philipkd opened this issue Jan 3, 2024 · 0 comments

Comments

@philipkd
Copy link
Contributor

philipkd commented Jan 3, 2024

Steps to Reproduce:

  1. Clone @fffffarmer's hotfix¹
  2. Run train_weak_to_strong.py on a single GPU

Notice: "UnboundLocalError: local variable 'minibatch_size' referenced before assignment"

Colab notebook


[1]: It's not necessary to clone @fffffarmer's hotfix, but that's the only way I could get this repo working on Colab. You can probably reproduce this issue by simply running it on a single GPU.

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

2 participants