Skip to content

Fix LD_LIBRARY_PATH for CUDA libraries. Closes #42#43

Merged
thespad merged 1 commit intolinuxserver:gpufrom
drzony:patch-2
May 18, 2025
Merged

Fix LD_LIBRARY_PATH for CUDA libraries. Closes #42#43
thespad merged 1 commit intolinuxserver:gpufrom
drzony:patch-2

Conversation

@drzony
Copy link
Copy Markdown

@drzony drzony commented May 17, 2025

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description:

CUDA library directories do not have __init__.py files, so __file__ is None when importing them as modules. Using __path__ solves the problem.

Benefits of this PR and context:

This fixes #42

How Has This Been Tested?

I chacked it with my Home Assistant instance, after the fix speech-to-text works properly.

Source / References:

CUDA library directories do not have __init__.py files, so __file__ is None when importing them as modules. Using __path__ solves the problem.
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening this pull request! Be sure to follow the pull request template!

@thespad thespad self-assigned this May 17, 2025
@LinuxServer-CI
Copy link
Copy Markdown
Contributor

I am a bot, here is the pushed image/manifest for this PR:

ghcr.io/linuxserver/lspipepr-faster-whisper:gpu-v2.4.0-pkg-e4dbcc8f-dev-e39a5f134a0a4ea84800163b71ce7ee081cb808d-pr-43

@github-project-automation github-project-automation Bot moved this from PRs to PRs Approved in Issue & PR Tracker May 18, 2025
@thespad thespad merged commit 0ec3acc into linuxserver:gpu May 18, 2025
4 checks passed
@LinuxServer-CI LinuxServer-CI moved this from PRs Approved to Done in Issue & PR Tracker May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants