Refactor: add skip-all checks, fix PIL image loading and cfg_scale parameter, and enable xformers attention

This commit is contained in:
2026-11-22 13:21:46 +08:00
parent c6bdb88bd2
commit 7dee33e334
5 changed files with 43 additions and 5 deletions
+1
View File
@@ -32,6 +32,7 @@ BASE_DIR="/home/mikehu/data/AI/minimax-h3"
PROJECT_DIR="$BASE_DIR/outputs/$PROJECT_NAME"
VENV_PYTHON="$BASE_DIR/.venv/bin/python"
export PYTORCH_CUDA_ALLOC_CONF="max_split_size_mb:256,garbage_collection_threshold:0.8"
export DIFFSYNTH_ATTENTION_IMPLEMENTATION=torch
echo "----------------------------------------------------------------"
echo "🚀 Initializing MiniMax-H3 REF2VA Project: $PROJECT_NAME"