AI4Finance-Foundation / AI4Finance-Foundation/FinGPT
OOM
未關閉
- 主要語言
- Jupyter Notebook
- 星號
- 21.3k
- 分支
- 3k
- 平均合併
- 8 小時 42 分鐘
- 30 天內合併 PR
- 7
描述
I have 4 GPUs, with 12.2GB each. I see you are using accelerate and I can see model shards being loaded into 4 GPUs, but it still runs out of VRAM. Why?
6B is a pretty small model, it should fit easily into 48GB+
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 508.00 MiB (GPU 0; 11.93 GiB total capacity; 11.16 GiB already allocated; 370.88 MiB free; 11.16 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
(FinGPT) developer@ai:~/PROJECTS/FinGPT$
貢獻指南
評估
這個 Issue 還沒有評估資料。