[GH-ISSUE #64] throws Exception <class 'RuntimeError'> error #60

Open
opened 2026-10-31 21:16:28 +00:00 by bsakaguchi · 11 comments
Owner

Originally created by @start-life on GitHub (Aug 31, 2023).
Original GitHub issue: https://github.com/pharmapsychotic/clip-interrogator-ext/issues/64

throws Exception <class 'RuntimeError'> error Prompt
זה שורת הפקודה
Loading CLIP Interrogator 0.5.4...
load checkpoint from C:\Users\Z5050\Downloads\sd.webui\webui\models\BLIP\model_base_caption_capfilt_large.pth
Loading CLIP model...
ViT-L-14_openai_artists.safetensors: 100%|████████████████████████████████████████| 16.2M/16.2M [00:01<00:00, 12.6MB/s]
ViT-L-14_openai_flavors.safetensors: 100%|██████████████████████████████████████████| 155M/155M [00:14<00:00, 10.7MB/s]
ViT-L-14_openai_mediums.safetensors: 100%|██████████████████████████████████████████████████| 146k/146k [00:00<?, ?B/s]
ViT-L-14_openai_movements.safetensors: 100%|████████████████████████████████████████| 307k/307k [00:00<00:00, 9.24MB/s]
ViT-L-14_openai_trendings.safetensors: 100%|████████████████████████████████████████| 111k/111k [00:00<00:00, 11.8MB/s]
ViT-L-14_openai_negative.safetensors: 100%|███████████████████████████████████████| 63.2k/63.2k [00:00<00:00, 5.67MB/s]
Loaded CLIP model and data in 30.97 seconds.
The size of tensor a (8) must match the size of tensor b (64) at non-singleton dimension 0

Originally created by @start-life on GitHub (Aug 31, 2023). Original GitHub issue: https://github.com/pharmapsychotic/clip-interrogator-ext/issues/64 throws Exception <class 'RuntimeError'> error Prompt זה שורת הפקודה Loading CLIP Interrogator 0.5.4... load checkpoint from C:\Users\Z5050\Downloads\sd.webui\webui\models\BLIP\model_base_caption_capfilt_large.pth Loading CLIP model... ViT-L-14_openai_artists.safetensors: 100%|████████████████████████████████████████| 16.2M/16.2M [00:01<00:00, 12.6MB/s] ViT-L-14_openai_flavors.safetensors: 100%|██████████████████████████████████████████| 155M/155M [00:14<00:00, 10.7MB/s] ViT-L-14_openai_mediums.safetensors: 100%|██████████████████████████████████████████████████| 146k/146k [00:00<?, ?B/s] ViT-L-14_openai_movements.safetensors: 100%|████████████████████████████████████████| 307k/307k [00:00<00:00, 9.24MB/s] ViT-L-14_openai_trendings.safetensors: 100%|████████████████████████████████████████| 111k/111k [00:00<00:00, 11.8MB/s] ViT-L-14_openai_negative.safetensors: 100%|███████████████████████████████████████| 63.2k/63.2k [00:00<00:00, 5.67MB/s] Loaded CLIP model and data in 30.97 seconds. The size of tensor a (8) must match the size of tensor b (64) at non-singleton dimension 0
Author
Owner

@start-life commented on GitHub (Aug 31, 2023):

image

<!-- gh-comment-id:1701588187 --> @start-life commented on GitHub (Aug 31, 2023): ![image](https://github.com/pharmapsychotic/clip-interrogator-ext/assets/96779864/0cce494e-9c60-42ea-858f-57e8c879d55e)
Author
Owner

@ushanboe commented on GitHub (Aug 31, 2023):

I have the same error !

<!-- gh-comment-id:1701799487 --> @ushanboe commented on GitHub (Aug 31, 2023): I have the same error !
Author
Owner

@bismark211 commented on GitHub (Aug 31, 2023):

I join the request for a solution to the problem

<!-- gh-comment-id:1701822503 --> @bismark211 commented on GitHub (Aug 31, 2023): I join the request for a solution to the problem
Author
Owner

@Grocel commented on GitHub (Sep 1, 2023):

Seem to be caused by the changes of update 1.6.0 on stable-diffusion-webui.

<!-- gh-comment-id:1703053362 --> @Grocel commented on GitHub (Sep 1, 2023): Seem to be caused by the changes of update 1.6.0 on [stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui).
Author
Owner

@codercv commented on GitHub (Sep 1, 2023):

Same error (Exception <class 'RuntimeError'>) after Automatic1111 1.6.0 update

<!-- gh-comment-id:1703379336 --> @codercv commented on GitHub (Sep 1, 2023): Same error (Exception <class 'RuntimeError'>) after Automatic1111 1.6.0 update
Author
Owner

@pedroquintanilla commented on GitHub (Sep 2, 2023):

I have the same problem, any solution?

<!-- gh-comment-id:1703722825 --> @pedroquintanilla commented on GitHub (Sep 2, 2023): I have the same problem, any solution?
Author
Owner

@lilskippyy commented on GitHub (Sep 3, 2023):

I have the same issue since last web-ui update

<!-- gh-comment-id:1704425379 --> @lilskippyy commented on GitHub (Sep 3, 2023): I have the same issue since last web-ui update
Author
Owner

@sakinator commented on GitHub (Sep 4, 2023):

same issue

<!-- gh-comment-id:1704533147 --> @sakinator commented on GitHub (Sep 4, 2023): same issue
Author
Owner

@Grocel commented on GitHub (Sep 5, 2023):

As reported in https://github.com/pharmapsychotic/clip-interrogator-ext/issues/59 you can change transformers==4.30.2 to transformers==4.26.1 in the files requirements.txt and requirements_versions.txt to fix the issue for you. Delete cache.json if the change doesn't work right after restart.

<!-- gh-comment-id:1707445726 --> @Grocel commented on GitHub (Sep 5, 2023): As reported in https://github.com/pharmapsychotic/clip-interrogator-ext/issues/59 you can change `transformers==4.30.2` to `transformers==4.26.1` in the files `requirements.txt` and `requirements_versions.txt` to fix the issue for you. Delete `cache.json` if the change doesn't work right after restart.
Author
Owner

@pharmapsychotic commented on GitHub (Sep 10, 2023):

Extension is updated now, please update in the webui and restart and should be working again. Let me know if you have any issues!

<!-- gh-comment-id:1712678810 --> @pharmapsychotic commented on GitHub (Sep 10, 2023): Extension is updated now, please update in the webui and restart and should be working again. Let me know if you have any issues!
Author
Owner

@azamet90 commented on GitHub (Jan 28, 2024):

Exception <class 'RuntimeError'>
Failed to import transformers.models.blip.image_processing_blip because of the following error (look up to see its traceback):
libamdhip64.so.6: cannot open shared object file: No such file or directory

same here

<!-- gh-comment-id:1913731939 --> @azamet90 commented on GitHub (Jan 28, 2024): Exception <class 'RuntimeError'> Failed to import transformers.models.blip.image_processing_blip because of the following error (look up to see its traceback): libamdhip64.so.6: cannot open shared object file: No such file or directory same here
Sign in to join this conversation.
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
pharmapsychotic/clip-interrogator-ext#60
No description provided.