[PR #191] [MERGED] use pkg_resources for PyTorch version checks in notebooks #470

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

📋 Pull Request Information

Original PR: https://github.com/openai/CLIP/pull/191
Author: @neverix
Created: 12/1/2021
Status: ✅ Merged
Merged: 4/10/2022
Merged by: @jongwook

Base: main ← Head: notebook-version-patch


📝 Commits (2)

  • 9187a7a use pkg_resources for PyTorch version checks in notebooks
  • 2b49d4e remove version checking in notebook code cell

📊 Changes

2 files changed (+5 additions, -7 deletions)

View changed files

📝 notebooks/Interacting_with_CLIP.ipynb (+2 -3)
📝 notebooks/Prompt_Engineering_for_ImageNet.ipynb (+3 -4)

📄 Description

Followup to #173 and #176, makes the notebooks work out of the box in Colab


🔄 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/191 **Author:** [@neverix](https://github.com/neverix) **Created:** 12/1/2021 **Status:** ✅ Merged **Merged:** 4/10/2022 **Merged by:** [@jongwook](https://github.com/jongwook) **Base:** `main` ← **Head:** `notebook-version-patch` --- ### 📝 Commits (2) - [`9187a7a`](https://github.com/openai/CLIP/commit/9187a7a2b9b12a12c347a4ee22040a24ee3df971) use pkg_resources for PyTorch version checks in notebooks - [`2b49d4e`](https://github.com/openai/CLIP/commit/2b49d4e868ad46542732355f3c04fba6aad890bd) remove version checking in notebook code cell ### 📊 Changes **2 files changed** (+5 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `notebooks/Interacting_with_CLIP.ipynb` (+2 -3) 📝 `notebooks/Prompt_Engineering_for_ImageNet.ipynb` (+3 -4) </details> ### 📄 Description Followup to #173 and #176, makes the notebooks work out of the box in Colab --- <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:18 +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#470
No description provided.