Add AMD GPU compatibility fix for gfx1151, including fallback to CPU mode and environment variable setup

This commit is contained in:
Dobromir Popov
2025-11-22 16:06:32 +02:00
parent 8b784412b6
commit 539bd68110
10 changed files with 366 additions and 18 deletions

6
run_cpu_mode.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
# Force CPU mode to avoid unsupported GPU architecture
export CUDA_VISIBLE_DEVICES=""
cd /mnt/shared/DEV/repos/d-popov.com/gogo2
source venv/bin/activate
python ANNOTATE/web/app.py "$@"