You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using uv pip compile with --extra-index-url=https://download.pytorch.org/whl/nightly/cu121 with --prerelease=allow does not locate PyTorch 2.3.0, but using --index-url does.
❯ uv --version
uv 0.1.5
# Doesn't work
❯ VIRTUAL_ENV=.venv uv pip compile --no-deps --no-header --python-version 3.11.7 --extra-index-url=https://download.pytorch.org/whl/nightly/cu121 --prerelease=allow -
torch
Resolved 1 package in 2.11s
torch==2.2.0
# Works but...
❯ VIRTUAL_ENV=.venv uv pip compile --no-deps --no-header --python-version 3.11.7 --index-url=https://download.pytorch.org/whl/nightly/cu121 --prerelease=allow -
torch
Resolved 1 package in 1.61s
torch==2.3.0.dev20240219+cu121
# ... wouldn't work for this
❯ VIRTUAL_ENV=.venv uv pip compile --no-deps --no-header --python-version 3.11.7 --index-url=https://download.pytorch.org/whl/nightly/cu121 --prerelease=allow -
torch
ruff
error: HTTP status client error (403 Forbidden) for url (https://download.pytorch.org/whl/nightly/cu121/ruff/)
# explicit version using --extra-index-url also doesn't work
❯ VIRTUAL_ENV=.venv uv pip compile --no-deps --no-header --python-version 3.11.7 --extra-index-url=https://download.pytorch.org/whl/nightly/cu121 --prerelease=allow -
torch==2.3.0.dev20240219+cu121
× No solution found when resolving dependencies:
╰─▶ Because there is no version of torch==2.3.0.dev20240219+cu121 and you require torch==2.3.0.dev20240219+cu121, we can conclude that the requirements are unsatisfiable.
I'm split 50/50 between I'm doing something wrong vs. This doesn't work correctly
The text was updated successfully, but these errors were encountered:
Using
uv pip compile
with--extra-index-url=https://download.pytorch.org/whl/nightly/cu121
with--prerelease=allow
does not locate PyTorch 2.3.0, but using--index-url
does.I'm split 50/50 between I'm doing something wrong vs. This doesn't work correctly
The text was updated successfully, but these errors were encountered: