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

Cannot Install Torch #1500

Closed
1 task done
collindutter opened this issue Jan 2, 2025 · 2 comments
Closed
1 task done

Cannot Install Torch #1500

collindutter opened this issue Jan 2, 2025 · 2 comments
Assignees
Labels
status:blocked Can't proceed due to external factors type:bug Something isn't working
Milestone

Comments

@collindutter
Copy link
Member

Describe the bug

  - Installing torch (2.5.1): Failed

  RuntimeError

  Unable to find installation candidates for torch (2.5.1)

  at ~/.local/pipx/venvs/poetry/lib/python3.13/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.

To Reproduce

make install
@collindutter collindutter added the type:bug Something isn't working label Jan 2, 2025
@collindutter collindutter self-assigned this Jan 2, 2025
@collindutter
Copy link
Member Author

Maybe fixed by [email protected] pytorch/pytorch#139005

@collindutter collindutter added this to the 1.2 milestone Jan 6, 2025
@collindutter collindutter added the status:blocked Can't proceed due to external factors label Jan 6, 2025
@collindutter collindutter modified the milestones: 1.2, 2.0 Jan 10, 2025
@collindutter
Copy link
Member Author

Seems to have been an issue on my end with a mismatch of python and poetry env versions.

rm -rf .venv/
mise use [email protected]
poetry env use 3.9
make install

Resolved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:blocked Can't proceed due to external factors type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant