Download run_test.sh from Dervlex/Models: direct link, hf CLI and curl.
- Browser
- Download file 671 Bytes
-
https://huggingface.co/Dervlex/Models/resolve/main/run_test.sh
- Command line
-
hf download hf://Dervlex/Models/run_test.sh
-
curl -L -o run_test.sh https://huggingface.co/Dervlex/Models/resolve/main/run_test.sh
671 Bytes
| echo "🚀 Qwen Image Edit Test Setup" | |
| echo "==============================" | |
| # Prüfe Python | |
| if ! command -v python3 &> /dev/null; then | |
| echo "❌ Python3 nicht gefunden!" | |
| exit 1 | |
| fi | |
| echo "✅ Python3 gefunden: $(python3 --version)" | |
| # Prüfe CUDA | |
| if command -v nvidia-smi &> /dev/null; then | |
| echo "✅ CUDA verfügbar:" | |
| nvidia-smi --query-gpu=name,memory.total --format=csv,noheader,nounits | |
| else | |
| echo "⚠️ CUDA nicht verfügbar, verwende CPU" | |
| fi | |
| # Installiere Requirements | |
| echo "📦 Installiere Requirements..." | |
| pip install -r requirements_test.txt | |
| # Starte Test | |
| echo "🎨 Starte Qwen Image Edit Test..." | |
| python3 test_qwen_edit.py | |