-
Notifications
You must be signed in to change notification settings - Fork 88
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
examples/huggingface failed #1115
Comments
From what I can tell huggingface's accelerate has the following check:
which doesn't reflect the PRs that changed IR and PipelineStage to private |
Hi thanks for the report. Sorry that PiPPy is currently under refactorization and clean-up, as we are planning to migrate it into pytorch as If you are trying PiPPy through HuggingFace Accelerate, the current "stable" version is torchpippy's 0.2.0 binary release, which can be downloaded through pypi: https://pypi.org/project/torchpippy/
|
Do you see foresee any issues in me opening a PR to update accelerate's inference.py file to
|
If the proposed line works for both the stable version and nightly version (seems so), then it should be fine. We will also contact them to migrate to |
I'd imagine that's probably the better long term solution than what I was going to do. |
The migration is mostly done. |
Sounds great. I'll open a PR for Accelerate following the release of 2.4 |
Wow, looking forward to that. Thanks a lot! |
When trying to run the examples I seem to always run into this error:
File "/home/ubuntu/.local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1512, in _get_module raise RuntimeError( RuntimeError: Failed to import transformers.generation.utils because of the following error (look up to see its traceback): No module named 'pippy.IR'
The text was updated successfully, but these errors were encountered: