Skip to content
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

Poetry on macos apple silicon not working #459

Open
heijligers opened this issue Aug 14, 2024 · 3 comments
Open

Poetry on macos apple silicon not working #459

heijligers opened this issue Aug 14, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@heijligers
Copy link

Installing dependencies from lock file

Package operations: 1 install, 0 updates, 0 removals

  • Installing torch (2.3.1+cpu)

RuntimeError

Unable to find installation candidates for torch (2.3.1+cpu)

at /opt/homebrew/lib/python3.11/site-packages/poetry/installation/chooser.py:74 in choose_for
70│
71│ links.append(link)
72│
73│ if not links:
→ 74│ raise RuntimeError(f"Unable to find installation candidates for {package}")
75│
76│ # Get the best link
77│ chosen = max(links, key=lambda link: self._sort_key(package, link))
78│

Cannot install torch.

@heijligers heijligers added the bug Something isn't working label Aug 14, 2024
@heijligers
Copy link
Author

just using pip install I managed to install the package.

Using the tutorial code for NLP I get the following warning and a completely empty website:
huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
To disable this warning, you can either:
- Avoid using tokenizers before the fork if possible
- Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
Spotlight running on http://127.0.0.1:54899/
huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
To disable this warning, you can either:
- Avoid using tokenizers before the fork if possible
- Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)

I tried adding TOKENIZERS_PARALLELISM=false to .env file but that didn't make a difference.

@markus-stoll
Copy link
Contributor

The warning might not represent the problem.
I understand that you start spotlight but you cant access it from your browser afterwards.
Can you try to review the dataframe you are passing into spotlight before you start spotlight?

@heijligers
Copy link
Author

The browser just returns an empty frame when I connect to my local adress.
I'll have a look at the dataframe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants