fix: Update PyTorch versions for Python 3.12 compatibility and use PyTorch index for GPU builds

This commit is contained in:
Developer
2026-02-16 20:03:17 +01:00
parent a5e7c73379
commit 72e7cdcee0
3 changed files with 6 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
torch==2.2.0+cpu
torchvision==0.17.0+cpu
torch==2.10.0
torchvision==0.15.0
Real-ESRGAN==0.3.0
basicsr==1.4.2

View File

@@ -1,4 +1,5 @@
torch==2.2.0+cu124
torchvision==0.17.0+cu124
--index-url https://download.pytorch.org/whl/cu124
torch==2.5.1
torchvision==0.20.1
Real-ESRGAN==0.3.0
basicsr==1.4.2

View File

@@ -3,6 +3,7 @@ uvicorn[standard]==0.34.0
python-multipart==0.0.18
pydantic-settings==2.7.1
psutil==6.1.1
httpx==0.27.0
# Real-ESRGAN and dependencies
opencv-python==4.10.0.84