-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[BUG]: CUDA out of memory. #4962
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
🐛 Describe the bug
在实行Chat下example里的train_sft_sh脚本时候,会提示GPU内存不足
详细报错:
CUDA out of memory. Tried to allocate 25.10 GiB (GPU 0; 23.99 GiB total capacity; 75.46 GiB already allocated; 0 bytes free; 75.58 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
我的显卡
24G 4090
Environment
我的显卡
24G 4090
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working