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

Fix Device Permission Issue with /dev/kfd in Docker Compose Setup & piper-tts Conflict #83

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

manaporkun
Copy link

@manaporkun manaporkun commented Dec 15, 2024

This pull request addresses 2 issues:

  1. Encountered when using docker-compose -f docker-compose.rocm.yml up. The error message "no such file or directory" was triggered while attempting to attach /dev/kfd as a custom device. This problem arises due to insufficient permissions for accessing the device.

Error:

Attaching to openedai-speech-server-1
Error response from daemon: error gathering device information while adding custom device "/dev/kfd": no such file or directory

Solution: docker-compose.rocm.yml

  1. When piper-tts version is not specified in requirements-rocm.txt, conflicts arise due to differing dependencies:

     piper-tts 1.2.0 requires piper-phonemize~=1.1.0.
     piper-tts 1.1.0 requires piper-phonemize~=1.0.0.
    

Thus it throws:

ERROR: Cannot install -r requirements-rocm.txt (line 4) because these package versions have conflicting dependencies.

Solution: requirements-rocm.txt

Specify piper-tts version to prevent conflicts
@manaporkun manaporkun changed the title Fix Device Permission Issue with /dev/kfd in Docker Compose Setup Fix Device Permission Issue with /dev/kfd in Docker Compose Setup & piper-tts Conflict Dec 15, 2024
@matatonic
Copy link
Owner

Thanks for the fixes!

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

Successfully merging this pull request may close these issues.

2 participants