Skip to content
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

FEATURE - support gpu acceleration for machine-learning #288

Closed
1 of 2 tasks
martabal opened this issue Jan 21, 2024 · 8 comments
Closed
1 of 2 tasks

FEATURE - support gpu acceleration for machine-learning #288

martabal opened this issue Jan 21, 2024 · 8 comments
Assignees

Comments

@martabal
Copy link
Collaborator

martabal commented Jan 21, 2024

Immich v1.94.0 will introduce the ability to support GPU acceleration for machine-learning.

Nvidia - CUDA

Cuda acceleration shouldn't be too difficult to support, we should be able to reuse the custom scripts we created a few months ago.

Intel - OpenVINO

Openvino acceleration is not possible at the moment because it requires python 3.10. And with the current base image (ubuntu 23.10), python 3.10 is only available if you compile it. The best solution would be to wait until Ubuntu 24.04 LTS is released and use the Deadsnakes custom PPA to install python 3.10 or onnxruntime-openvino 1.17.

To do :

  • Support cuda
  • Support openvino
@martabal martabal self-assigned this Jan 21, 2024
@martabal
Copy link
Collaborator Author

OpenVINO might support python 3.11 with the next onnxruntime-openvino release (1.17.0)

@martabal
Copy link
Collaborator Author

martabal commented Feb 8, 2024

I tried openvino with python 3.10, but runned into issues with onnxruntime.

Edit: to be more precise : immich-app/immich#6869

@martabal
Copy link
Collaborator Author

martabal commented Mar 7, 2024

Update:

  • Immich v1.98.0 will no longer need the nightly version of onnxruntime
  • I have a working version for Openvino but it must compile python 3.10 which is not a viable option for a docker mod (it is not realistic to wait 5 minutes for a docker to start)

@hydazz
Copy link
Member

hydazz commented Mar 13, 2024

Update:

  • Immich v1.98.0 will no longer need the nightly version of onnxruntime
  • I have a working version for Openvino but it must compile python 3.10 which is not a viable option for a docker mod (it is not realistic to wait 5 minutes for a docker to start)

compile then package? or a deb?

@martabal
Copy link
Collaborator Author

martabal commented Mar 13, 2024

compile then package? or a deb?

Not sure to correctly understand what you mean. Having a good python deb is hard, I would prefer to wait ubuntu 24.04 LTS.

@myanesp
Copy link

myanesp commented Jun 6, 2024

Hi there!

Any updates for this, for Intel iGPUs? Thanks :)

@martabal
Copy link
Collaborator Author

martabal commented Jun 6, 2024

Hello!

Currently, OpenVINO is broken immich-app/immich#8226 (at least on my machines), so I can't really test it.

Once the dependency and the base image are updated, I'll implement it.

@martabal
Copy link
Collaborator Author

martabal commented Jul 3, 2024

Done with #392

@martabal martabal closed this as completed Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants