mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: use PaddlePaddle GPU package index for CUDA wheels
paddlepaddle-gpu==3.0.0 is not on PyPI, it is hosted on PaddlePaddle's own package index. Added -i flag pointing to the cu126 stable index for the amd64 GPU build.
This commit is contained in:
@@ -101,6 +101,7 @@ RUN if [ "$TARGETARCH" = "amd64" ]; then \
|
||||
/opt/venv/bin/pip install realesrgan==0.3.0 \
|
||||
--extra-index-url https://download.pytorch.org/whl/cu126 && \
|
||||
/opt/venv/bin/pip install paddlepaddle-gpu==3.0.0 paddleocr==2.9.1 \
|
||||
-i https://www.paddlepaddle.org.cn/packages/stable/cu126/ \
|
||||
; else \
|
||||
/opt/venv/bin/pip install "rembg[cpu]==2.0.62" && \
|
||||
/opt/venv/bin/pip install realesrgan==0.3.0 && \
|
||||
|
||||
Reference in New Issue
Block a user