numenta / nupic.research

Experimental algorithms. Unsupported.
https://nupicresearch.readthedocs.io
GNU Affero General Public License v3.0
107 stars 60 forks source link

Address issues with wandb early init as well as transformers dependencies #486

Closed mvacaporale closed 3 years ago

mvacaporale commented 3 years ago

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.