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

rye add always redownload installed packages #1376

Open
shimachao opened this issue Sep 9, 2024 · 0 comments
Open

rye add always redownload installed packages #1376

shimachao opened this issue Sep 9, 2024 · 0 comments

Comments

@shimachao
Copy link

shimachao commented Sep 9, 2024

rye version

rye --version
rye 0.39.0
commit: 0.39.0 (bf3ccf818 2024-08-21)
platform: linux (x86_64)
self-python: [email protected]
symlink support: true
uv enabled: true

uv version:

uv -V
uv 0.4.7

I installed the following packages via the rye add command:

rye list
annotated-types==0.7.0
asgiref==3.8.1
django==5.1.1
django-ninja==1.3.0
filelock==3.16.0
fsspec==2024.9.0
jinja2==3.1.4
markupsafe==2.1.5
mpmath==1.3.0
networkx==3.3
nvidia-cublas-cu12==12.1.3.1
nvidia-cuda-cupti-cu12==12.1.105
nvidia-cuda-nvrtc-cu12==12.1.105
nvidia-cuda-runtime-cu12==12.1.105
nvidia-cudnn-cu12==9.1.0.70
nvidia-cufft-cu12==11.0.2.54
nvidia-curand-cu12==10.3.2.106
nvidia-cusolver-cu12==11.4.5.107
nvidia-cusparse-cu12==12.1.0.106
nvidia-nccl-cu12==2.20.5
nvidia-nvjitlink-cu12==12.6.68
nvidia-nvtx-cu12==12.1.105
pydantic==2.9.0
pydantic-core==2.23.2
setuptools==74.1.2
sqlparse==0.5.1
sympy==1.13.2
torch==2.4.1
triton==3.0.0
typing-extensions==4.12.2
`tzdata==2024.1`

I want to continue using the rye add command to add a transformers package, but the rye add command starts to redownload all installed packages.

rye add -v transformers
Added transformers>=4.44.2 as regular dependency
Python version already downloaded. Skipping.
Reusing already existing virtualenv
Generating production lockfile: /home/chao/text_correct_server/requirements.lock
django==5.1.1                                                                                                                                                                                                                                
django     ------------------------------ 3.87 MB/8.25 MB
transformers ------------------------------ 3.92 MB/9.47 MB
torch      ------------------------------ 1.88 MB/797.02 MB 
@shimachao shimachao changed the title Why does rye add always download installed packages repeatedly? rye add always redownload installed packages Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant