[PR #213] [CLOSED] Separate Bottleneck ReLU layers #474

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

📋 Pull Request Information

Original PR: https://github.com/openai/CLIP/pull/213
Author: @ProGamerGov
Created: 2/5/2022
Status: ❌ Closed

Base: main ← Head: patch-1


📝 Commits (2)

  • eb42b86 Separate Bottleneck ReLU layers
  • 0845fc4 Improve Bottleneck code

📊 Changes

1 file changed (+6 additions, -4 deletions)

View changed files

📝 clip/model.py (+6 -4)

📄 Description

Reusing layers like in the Bottleneck class does not allow for PyTorch's hook functionality to work correctly, so this PR fixes that. Reusing layers makes conducting research on PyTorch models more difficult.


🔄 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/213 **Author:** [@ProGamerGov](https://github.com/ProGamerGov) **Created:** 2/5/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`eb42b86`](https://github.com/openai/CLIP/commit/eb42b86d360b5c4c15690032f5180a3fa31c1e97) Separate Bottleneck ReLU layers - [`0845fc4`](https://github.com/openai/CLIP/commit/0845fc462666c43bda82243874b66a0071464510) Improve Bottleneck code ### 📊 Changes **1 file changed** (+6 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `clip/model.py` (+6 -4) </details> ### 📄 Description Reusing layers like in the Bottleneck class does not allow for PyTorch's hook functionality to work correctly, so this PR fixes that. Reusing layers makes conducting research on PyTorch models more difficult. --- <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:21 +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#474
No description provided.