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)
|
# Install Python dependencies (FastAPI, etc - but NOT torch/vllm)
|
||||||
RUN pip3 install --no-cache-dir -r requirements.txt
|
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
# Install orpheus-speech WITHOUT dependencies to avoid overwriting vllm/torch
|
# Install orpheus-speech from regular PyPI (not Jetson index) WITHOUT dependencies
|
||||||
# Then install just the audio codec it needs (snac)
|
# to avoid overwriting vllm/torch. Then install snac audio codec.
|
||||||
RUN pip3 install --no-cache-dir --no-deps orpheus-speech && \
|
RUN pip3 install --no-cache-dir --no-deps --index-url https://pypi.org/simple/ orpheus-speech && \
|
||||||
pip3 install --no-cache-dir snac
|
pip3 install --no-cache-dir --index-url https://pypi.org/simple/ snac
|
||||||
|
|
||||||
# Copy application code
|
# Copy application code
|
||||||
COPY main.py /app/
|
COPY main.py /app/
|
||||||
|
|||||||
Reference in New Issue
Block a user