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

Building Speaches: Stuck due to uv install on system python environment #796

Open
JonnyTran opened this issue Jan 24, 2025 · 0 comments
Open

Comments

@JonnyTran
Copy link

JonnyTran commented Jan 24, 2025

Hi,

I'm trying to build Speaches for STT and TTS integration with OpenWebUI and Ollama. Since it uses faster-whisper backend, I figured I would be able to extend the base image faster-whisper to build speaches from their Dockerfile.

This has proved very difficult due to their use of uv to install python virtual environments. Since we have to use the pre-built python binding stored at /usr/local/lib/python3.11/dist-packages to make use of the CUDA libs, it is not straight forward to uv pip install or pip install directly to the python system environment without setting the proper PATH, making extending jetson-containers as a base images to other framework difficult.

Is there a way we can switch away from using the system python installation in packages/build/python to something like ~/.venv/, or even use micromamba env by default? This would make dealing with python environments much easier.

Model: NVIDIA AGX Orin DevKit - Jetpack 6.2 L4T 36.4.3

@JonnyTran JonnyTran changed the title Building *Speaches* stuck on due to uv install on system python environment Building **Speaches** stuck due to uv install on system python environment Jan 24, 2025
@JonnyTran JonnyTran changed the title Building **Speaches** stuck due to uv install on system python environment Building Speaches: Stuck due to uv install on system python environment Jan 24, 2025
@JonnyTran JonnyTran changed the title Building Speaches: Stuck due to uv install on system python environment Building Speaches: Stuck due to uv install on system python environment Jan 24, 2025
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

1 participant