-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Missing 'logging.py' file in pip installation #349
Comments
The directions state that you need to install from source, as we're rapidly working on Accelerate and bringing in new features. https://github.com/huggingface/transformers/tree/main/examples/pytorch#using-accelerate |
@sptom thanks, all the directions in transformers now state this 🤗 |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
Hi there!
Tried to run your code from "Transformers\examples\pytorch\run_image_classification_no_trainer.py.
I installed the required accelerate package via pip, seems to be the right version (0.7.1),
but the code crashes on the line "from accelerate.logging import get_logger" line with the error that there's no such module.
I even tried to edit the init file, but I can access all other modules - Accelerator, checkpointing, tracking etc...
It's as if I downloaded an older version without '.logging', but the version number seems correct.
Any idea why this might happen, and how could I fix it without manually cloning your repository from github?
Thanks
The text was updated successfully, but these errors were encountered: