FastChat icon indicating copy to clipboard operation
FastChat copied to clipboard

ERROR of Flash_attn when finetuning with Deepspeed

Open VVNMA opened this issue 2 years ago • 1 comments

I tried to finetune Vicuna using my own data with deepspeed, however, I met the following error: error

I tried to solve this error by changing torch and deepspeed version, I tried deepspeed0.8.2, deepspeed0.8.3, torch 1.13.1, torch2.0.0, but the error were the same.

Does anyone else meet the same error or you know how to solve this problem?

VVNMA avatar Apr 08 '23 10:04 VVNMA

Removing bfloat and fp32 flag and adding fp16 flag should get further

kungfu-eric avatar Apr 09 '23 02:04 kungfu-eric

@kungfu-eric Yep -- hope @kungfu-eric 's solution helps. Feel free to re-open if there is still an issue.

zhisbug avatar Apr 21 '23 02:04 zhisbug