openai / weak-to-strong

MIT License
2.5k stars 305 forks source link

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

Closed philipkd closed 9 months ago

philipkd commented 9 months ago

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.