torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 --index-url https://download.pytorch.org/whl/cu121 # 必须是 cu121!!! diffusers==0.30.3 transformers==4.45.2 accelerate==0.34.2 gradio==4.44.0 pillow safetensors xformers==0.0.27.post1 # post2 在 cu121 下偶尔也炸,post1 最稳 sentencepiece protobuf bitsandbytes opencv-python beautifulsoup4 numpy # 绝对不能出现 flash-attn 这行!