问题:
1Torch was not compiled with flash attention. (Triggered internally at C:\actions-r
unner_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\transformers\cuda\sdp_utils.cpp:455.)
解决: 降低torch版本,
改为: pip install torch2.1.2 torchvision0.16.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cu121
成功解决