[PR #404] [CLOSED] Fixed bugs when reading non-JIT model file #503

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

📋 Pull Request Information

Original PR: https://github.com/openai/CLIP/pull/404
Author: @tcqiuyu
Created: 11/21/2023
Status: ❌ Closed

Base: main ← Head: main


📝 Commits (1)

  • 3f3ffe0 Fixed bugs when reading non-JIT model file

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 clip/clip.py (+1 -0)

📄 Description

When reading non JIT model file, the file handler will move to somewhere in between the file. Causes "EOFError: Ran out of input" error. Resetting the offset may solve the issue.


🔄 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/404 **Author:** [@tcqiuyu](https://github.com/tcqiuyu) **Created:** 11/21/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`3f3ffe0`](https://github.com/openai/CLIP/commit/3f3ffe0168cb00b3f0675f4999111c2ab2e2590d) Fixed bugs when reading non-JIT model file ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `clip/clip.py` (+1 -0) </details> ### 📄 Description When reading non JIT model file, the file handler will move to somewhere in between the file. Causes "EOFError: Ran out of input" error. Resetting the offset may solve the issue. --- <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:34 +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#503
No description provided.