[PR #26] [MERGED] Feature/make installable #449

Closed
opened 2026-10-31 21:15:06 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/openai/CLIP/pull/26
Author: @boba-and-beer
Created: 1/26/2021
Status: ✅ Merged
Merged: 1/29/2021
Merged by: @jongwook

Base: main ← Head: feature/make_installable


📝 Commits (10+)

📊 Changes

10 files changed (+70 additions, -5 deletions)

View changed files

➕ .gitignore (+10 -0)
➕ MANIFEST.in (+1 -0)
➕ clip/__init__.py (+1 -0)
📝 clip/bpe_simple_vocab_16e6.txt.gz (+0 -0)
📝 clip/clip.py (+7 -5)
📝 clip/model.py (+0 -0)
📝 clip/simple_tokenizer.py (+0 -0)
➕ requirements.txt (+5 -0)
➕ setup.py (+21 -0)
➕ tests/test_consistency.py (+25 -0)

📄 Description

I moved everything into modules to make it PIP Installable.
I currently have created a package which can be found here: https://pypi.org/project/clip-by-openai/.
This should make CLIP a lot easier to use for individuals looking to test it out. Furthermore, I have also added the model to VectorHub, an open-source repository for vector search models I maintain, which can be found here:
https://hub.getvectorai.com/model/text_image%2Fclip

The link may be useful for people looking for low barriers to entry when trying out CLIP.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/openai/CLIP/pull/26 **Author:** [@boba-and-beer](https://github.com/boba-and-beer) **Created:** 1/26/2021 **Status:** ✅ Merged **Merged:** 1/29/2021 **Merged by:** [@jongwook](https://github.com/jongwook) **Base:** `main` ← **Head:** `feature/make_installable` --- ### 📝 Commits (10+) - [`14ef160`](https://github.com/openai/CLIP/commit/14ef160ceea4459e9996ace1ce65b9bea9e88546) Initial commit of file - [`d5ba15c`](https://github.com/openai/CLIP/commit/d5ba15cf46efb6941e9910a237a5bdcff3eb4d4b) Fix torch installation - [`e1b7bac`](https://github.com/openai/CLIP/commit/e1b7bac3ec994ff4fca666f1eef8bd353aa71d4b) Add .gitignore and installable module - [`50d5659`](https://github.com/openai/CLIP/commit/50d5659d73b60bbfe64d692dbe70a9d9cc1725eb) Fix the instlalation requirements' - [`aba7823`](https://github.com/openai/CLIP/commit/aba78237398e85d5efb51d79c44fff3499e6620f) Fix installable - [`c54dedd`](https://github.com/openai/CLIP/commit/c54dedd7392a3d746a239763c96daf7a4255cdea) Add smoke test - [`4ee1ad2`](https://github.com/openai/CLIP/commit/4ee1ad29943d9e8f008b3a6eb048d6f0afaf9977) Add gz and markdown to the package_data - [`54cc354`](https://github.com/openai/CLIP/commit/54cc354a9cbc5369de1e8df2fd8c08d86c7d22db) Fix package data - [`ab1686a`](https://github.com/openai/CLIP/commit/ab1686a681e6a1603486a40369c55ba91e711f74) update MANIFEST - [`d960552`](https://github.com/openai/CLIP/commit/d960552677d23112a1bd053e5ea360469686bb7b) Update README.md ### 📊 Changes **10 files changed** (+70 additions, -5 deletions) <details> <summary>View changed files</summary> ➕ `.gitignore` (+10 -0) ➕ `MANIFEST.in` (+1 -0) ➕ `clip/__init__.py` (+1 -0) 📝 `clip/bpe_simple_vocab_16e6.txt.gz` (+0 -0) 📝 `clip/clip.py` (+7 -5) 📝 `clip/model.py` (+0 -0) 📝 `clip/simple_tokenizer.py` (+0 -0) ➕ `requirements.txt` (+5 -0) ➕ `setup.py` (+21 -0) ➕ `tests/test_consistency.py` (+25 -0) </details> ### 📄 Description I moved everything into modules to make it PIP Installable. I currently have created a package which can be found here: https://pypi.org/project/clip-by-openai/. This should make CLIP a lot easier to use for individuals looking to test it out. Furthermore, I have also added the model to VectorHub, an open-source repository for vector search models I maintain, which can be found here: https://hub.getvectorai.com/model/text_image%2Fclip The link may be useful for people looking for low barriers to entry when trying out CLIP. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 21:15:06 +00:00
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#449
No description provided.