-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating the smart search model causes Postgres syntax error #15590
Comments
Same here. |
Just extra quotas. As a workaround it's possible to execute query manually:
Note: change 768 to desired value from log |
same question |
This fixed the issue on my side. Thanks @dionorgua! 🙏 |
Thanks for the fix. I also got the same error. |
Okay, it is still not working and giving syntax error. |
This was fixed in #15630. You can either a) wait for the next release, b) run main temporarily to apply the fix, or c) run the below SQL commands:
If running these commands, refer to this section to find the right dimension size for your model. |
The bug
I updated the smart search model to
immich-app/ViT-H-14-378-quickgelu__dfn5b
, which caused a CLIP dimension size mismatch with the database. The server threw a syntax error as a result of changing the dimension size to'vector(1024)'
.The OS that Immich Server is running on
Ubuntu 24.04.1 LTS
Version of Immich Server
v1.125.1
Version of Immich Mobile App
N/A
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
immich-app/ViT-H-14-378-quickgelu__dfn5b
.immich_server
logs, but the service did not immediately exit.immich_server
throws the same error and fails to start.Relevant log output
Additional information
No response
The text was updated successfully, but these errors were encountered: