-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
Error while installing dev dependencies for Apple Silicon #22617
Comments
cc @amyeroberts and @nateraw |
Hmm maybe its the Python version? Some issue mentioning that here: dmlc/gluon-cv#1539 |
The issue is mainly because of Apple Silicon. Similar issue arises for I think the docs should be updated to account for these issues. |
I see. we should add a note then that in some cases you may need to install Or, perhaps we migrate fully to WDYT? |
My dev setup on apple silicon failed with
After a bit of hunting found success by installing jaxlib through conda : jax-ml/jax#5501 (comment) Maybe it helps someone |
@nateraw Migrating fully to There are still other issues with setting up dev env on apple silicon, and setting it up correctly should be part of docs. It took me some time to correctly install the entire
After these steps, the dev environment is finally working for me along with tests, and other commands. But, this took way too long to get working. I also tried setting up How can we proceed here? I want to actively contribute towards solving these issues :) |
@mayankagarwals Did you face the issues highlighted in above comment? Link |
For most contributions, you only need to run |
@nateraw I could already start working on completing the migration from What do you think about the other set of problems I point out? |
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 @sgugger, I tried installing transformers using I am facing this on M1 Pro, Python 3.10 |
cc @Narsil |
Can you try doing If the command does work, you should just use that. |
As of pip install -e .[quality,testing,docs_specific,sentencepiece,torch] This is enough to run some of the I am still unable to install |
System Info
transformers
version: 4.24.0Who can help?
@sgugger
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Follow contribution guidelines as outlined here, at the
pip install -e ".[dev]"
step and results in the following output and error:Expected behavior
Development dependencies should be installed without error.
The text was updated successfully, but these errors were encountered: