Fixing xpu build

This commit is contained in:
Drew Thomasson
2025-03-22 00:39:37 -04:00
committed by GitHub
parent f34e92fe2d
commit ddc53a4c34

View File

@@ -90,7 +90,7 @@ RUN if [ ! -z "$TORCH_VERSION" ]; then \
RUN if [ "$SKIP_XTTS_TEST" != "true" ]; then \
echo "Running XTTS test to pre-download models..." && \
echo "This is a test sentence." > test.txt && \
python app.py --headless --ebook test.txt --script_mode full_docker && \
TORCH_DEVICE_BACKEND_AUTOLOAD=0 python app.py --headless --ebook test.txt --script_mode full_docker && \
rm test.txt; \
else \
echo "Skipping XTTS test run as requested."; \