[GH-ISSUE #447] Segmentation Fault On Importing Clip #383

Open
opened 2026-10-31 21:14:32 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @AbdelrahmanMohamed129 on GitHub (May 26, 2024).
Original GitHub issue: https://github.com/openai/CLIP/issues/447

image

I have python version: 3.11.5
On running this code I get a segmentation fault after few seconds.
reqs.txt
here is the pip freeze file

Originally created by @AbdelrahmanMohamed129 on GitHub (May 26, 2024). Original GitHub issue: https://github.com/openai/CLIP/issues/447 ![image](https://github.com/openai/CLIP/assets/74915712/de56dfc3-dfda-470c-aff0-f360dea0246d) I have python version: 3.11.5 On running this code I get a segmentation fault after few seconds. [reqs.txt](https://github.com/openai/CLIP/files/15448479/reqs.txt) here is the pip freeze file
Author
Owner

@zehrakorkusuz commented on GitHub (Dec 27, 2024):

Had a similar issue with segmentation fault. Resolved it by importing numpy after clip. Seems like an import order dependency/conflict

<!-- gh-comment-id:2563983327 --> @zehrakorkusuz commented on GitHub (Dec 27, 2024): Had a similar issue with segmentation fault. Resolved it by importing _numpy_ after _clip_. Seems like an import order dependency/conflict
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#383
No description provided.