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

Installing torch with a specific wheel causes the wheel to be downloaded twice #6355

Closed
2 of 3 tasks
then4p opened this issue Sep 2, 2022 · 3 comments
Closed
2 of 3 tasks
Labels
status/duplicate Duplicate issues

Comments

@then4p
Copy link

then4p commented Sep 2, 2022

  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

Issue

For latest CUDA support I need to use a specific torch version, which is available here: https://download.pytorch.org/whl/cu116/torch-1.12.1%2Bcu116-cp39-cp39-linux_x86_64.whl

I can install it just fine, by specifying: torch = {url = "https://download.pytorch.org/whl/cu116/torch-1.12.1%2Bcu116-cp39-cp39-linux_x86_64.whl"}in my pyproject.toml. After doing so though, every poetry add or poetry install takes ages and seems to download the 2GB file again. Would it be possible to only download it once and then cache it?

@then4p then4p added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Sep 2, 2022
@dimbleby
Copy link
Contributor

dimbleby commented Sep 2, 2022

duplicate #2415

@then4p
Copy link
Author

then4p commented Sep 2, 2022

duplicate #2415

Yep, looks like I've overlooked that. Seems to be the same issue.

@then4p then4p closed this as completed Sep 2, 2022
@neersighted neersighted added status/duplicate Duplicate issues and removed kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Sep 2, 2022
Copy link

github-actions bot commented Mar 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/duplicate Duplicate issues
Projects
None yet
Development

No branches or pull requests

3 participants