This fixes a bug where run.py tries to initialize wandb even if it's not installed. This also updates the wandb callback to work with the latest transformers version (4.5.0.dev0).
The versions for transformers, datasets, wandb, and torch are now specified in a requirements.txt file so they may all be install via pip install -r requirements.txt.
Feedback is welcome on the versions. The goal here is to make sure they are detailed enough to avoid bugs (like the wandb bug addressed in this PR) while still making new transformers and torch features readily available.
This fixes a bug where run.py tries to initialize wandb even if it's not installed. This also updates the wandb callback to work with the latest transformers version (
4.5.0.dev0
).The versions for transformers, datasets, wandb, and torch are now specified in a
requirements.txt
file so they may all be install viapip install -r requirements.txt
.Feedback is welcome on the versions. The goal here is to make sure they are detailed enough to avoid bugs (like the wandb bug addressed in this PR) while still making new transformers and torch features readily available.