microsoft / Moonlit

This is a collection of our research on efficient AI, covering hardware-aware NAS and model compression.
MIT License
72 stars 7 forks source link

Is the version of Transformer in the requirement the correct one? #51

Open laurenlong opened 5 months ago

laurenlong commented 5 months ago

My error message says: File "/home/Moonlit/Compresso/train.py", line 235, in main() File "/home/Moonlit/Compresso/train.py", line 204, in main from transformers.integrations import AzureMLCallback, ProgressCallback ImportError: cannot import name 'ProgressCallback' from 'transformers.integrations' (/home/longyongliu/.local/lib/python3.10/site-packages/transformers/integrations/init.py) It looks like there's a problem with the version of Transformer, but I'm building the environment as described in the requirement file.