[PR #2487] [MERGED] chore(ml): load models on start up #9566

Closed
opened 2026-02-05 14:06:59 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/2487
Author: @alextran1502
Created: 5/20/2023
Status: Merged
Merged: 5/20/2023
Merged by: @alextran1502

Base: mainHead: chore/ml-load-model-on-startup


📝 Commits (2)

  • dda1d75 chore(ml): load models on start up
  • 9f2eaff Download correct model

📊 Changes

1 file changed (+51 additions, -38 deletions)

View changed files

📝 machine-learning/src/main.py (+51 -38)

📄 Description

Preload machine learning models on start up to prevent issue with accessing the model while it is being downloaded during inference time.


🔄 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/immich-app/immich/pull/2487 **Author:** [@alextran1502](https://github.com/alextran1502) **Created:** 5/20/2023 **Status:** ✅ Merged **Merged:** 5/20/2023 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `chore/ml-load-model-on-startup` --- ### 📝 Commits (2) - [`dda1d75`](https://github.com/immich-app/immich/commit/dda1d753393aa4c53451f71b80e4800b9c07d20b) chore(ml): load models on start up - [`9f2eaff`](https://github.com/immich-app/immich/commit/9f2eaff90de725f6ae7ffcbb1aa85ed29f127974) Download correct model ### 📊 Changes **1 file changed** (+51 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `machine-learning/src/main.py` (+51 -38) </details> ### 📄 Description Preload machine learning models on start up to prevent issue with accessing the model while it is being downloaded during inference time. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 14:06:59 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#9566