mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 08:21:12 -05:00
issue: Uploading many files at once can cause errors when running larger embedding models #5387
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @i0ntempest on GitHub (May 29, 2025).
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
0.6.12
Ollama Version (if applicable)
No response
Operating System
macOS 15.5
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
No error
Actual Behavior
A number of different errors can occur, including:
fastapi.exceptions.HTTPException: 400: 'NoneType' object is not subscriptablefastapi.exceptions.HTTPException: 400: The size of tensor a (356) must match the size of tensor b (289) at non-singleton dimension 1Steps to Reproduce
ENV=prodnomic-ai/nomic-embed-text-v2-moeLogs & Screenshots
com.i0ntpst.open-webui.log
Additional Information
My system is a Mac mini with M4 and 24GB RAM. I'm guessing this might be related to hardware specs.
@rgaricano commented on GitHub (May 29, 2025):
The error message indicate that dimmensions of current embedd model are different that the database ones.
That occur when embedd model is changed (and new one use different dimmensions size) and no database reset is done.
It can be solved by changing the embedding model to the same one that populated the vector database or by resetting the vectorDB (and reembedding data)
@i0ntempest commented on GitHub (May 29, 2025):
I have reset the vetor db multiple times when trying to solve this issue. It didn't change anything.