AI4Finance-Foundation / AI4Finance-Foundation/FinGPT
OOM
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 21.2k
- Fork
- 3k
- Merge trung bình
- 1 giờ 55 phút
- Pull request đã merge (30 ngày)
- 5
Mô tả
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$
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.