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

perf: cache transcoding devices #9381

Merged
merged 1 commit into from
May 10, 2024
Merged

perf: cache transcoding devices #9381

merged 1 commit into from
May 10, 2024

Conversation

mertalev
Copy link
Contributor

Description

We currently read the set of available /dev/dri devices for each job when hardware acceleration is enabled. This PR changes this to only read once. It also refactors the device and OpenCL logic into separate helpers.

Copy link

Deploying immich with  Cloudflare Pages  Cloudflare Pages

Latest commit: d987aa5
Status: ✅  Deploy successful!
Preview URL: https://fcd8203b.immich.pages.dev
Branch Preview URL: https://perf-server-cache-devices.immich.pages.dev

View logs

@mertalev mertalev merged commit bb48437 into main May 10, 2024
22 of 24 checks passed
@mertalev mertalev deleted the perf/server-cache-devices branch May 10, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants