[GH-ISSUE #221] Uninstalling pytorch? #194

Open
opened 2026-10-31 21:12:15 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @hywkim-brian on GitHub (Feb 22, 2022).
Original GitHub issue: https://github.com/openai/CLIP/issues/221

Hi, running

$ conda install --yes -c pytorch pytorch=1.7.1 torchvision cudatoolkit=11.0
$ pip install ftfy regex tqdm
$ pip install git+https://github.com/openai/CLIP.git

uninstalls pytorch 1.7.1 and reinstalls pytorch 1.9.1 for some reason and this is causing me serious dependency problems with other builds.. can you look into why this is happening?/
Thanks a lot

Originally created by @hywkim-brian on GitHub (Feb 22, 2022). Original GitHub issue: https://github.com/openai/CLIP/issues/221 Hi, running ``` $ conda install --yes -c pytorch pytorch=1.7.1 torchvision cudatoolkit=11.0 $ pip install ftfy regex tqdm $ pip install git+https://github.com/openai/CLIP.git ``` uninstalls pytorch 1.7.1 and reinstalls pytorch 1.9.1 for some reason and this is causing me serious dependency problems with other builds.. can you look into why this is happening?/ Thanks a lot
Author
Owner

@AlexanderKozhevin commented on GitHub (Apr 2, 2022):

Screenshot 2022-04-02 at 17 50 30
<!-- gh-comment-id:1086655868 --> @AlexanderKozhevin commented on GitHub (Apr 2, 2022): <img width="892" alt="Screenshot 2022-04-02 at 17 50 30" src="https://user-images.githubusercontent.com/4464561/161388739-369d1de9-1a81-41d3-a8e1-b03f4cb7e7cd.png">
Author
Owner

@jongwook commented on GitHub (Apr 10, 2022):

Depending on the environment/versions, the combination of conda/pip might do unexpected/undesired things .. The CLIP package should be compatible with any pytorch version 1.7.1 and after, and its requirements.txt was intentionally written without version qualifiers to avoid the dependency headache.

You could try pip-installing CLIP with the --no-deps option if your environment is otherwise with the correct versions and everything.

(The problematic version check pasted by @AlexanderKozhevin above was removed by #191)

<!-- gh-comment-id:1094402444 --> @jongwook commented on GitHub (Apr 10, 2022): Depending on the environment/versions, the combination of conda/pip might do unexpected/undesired things .. The CLIP package should be compatible with any pytorch version 1.7.1 and after, and its [`requirements.txt`](https://github.com/openai/CLIP/blob/main/requirements.txt) was intentionally written without version qualifiers to avoid the dependency headache. You could try pip-installing CLIP with [the `--no-deps` option](https://pip.pypa.io/en/stable/cli/pip_install/#cmdoption-no-deps) if your environment is otherwise with the correct versions and everything. (The problematic version check pasted by @AlexanderKozhevin above was removed by #191)
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openai/CLIP#194
No description provided.