Fix: use regular PyPI for orpheus-speech on Jetson
This commit is contained in:
@@ -21,10 +21,10 @@ COPY requirements.txt /app/
|
||||
# Install Python dependencies (FastAPI, etc - but NOT torch/vllm)
|
||||
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Install orpheus-speech WITHOUT dependencies to avoid overwriting vllm/torch
|
||||
# Then install just the audio codec it needs (snac)
|
||||
RUN pip3 install --no-cache-dir --no-deps orpheus-speech && \
|
||||
pip3 install --no-cache-dir snac
|
||||
# Install orpheus-speech from regular PyPI (not Jetson index) WITHOUT dependencies
|
||||
# to avoid overwriting vllm/torch. Then install snac audio codec.
|
||||
RUN pip3 install --no-cache-dir --no-deps --index-url https://pypi.org/simple/ orpheus-speech && \
|
||||
pip3 install --no-cache-dir --index-url https://pypi.org/simple/ snac
|
||||
|
||||
# Copy application code
|
||||
COPY main.py /app/
|
||||
|
||||
Reference in New Issue
Block a user