You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
attn_output = F.scaled_dot_product_attention(q, k, v, attention_mask, dropout_p=0.0)
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 8.11 GiB. GPU 0 has a total capacity of 31.36 GiB of which 5.76 GiB is free. Including non-PyTorch memory, this process has 25.58 GiB memory in use. Of the allocated memory 24.73 GiB is allocated by PyTorch, and 260.07 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
### Others
_No response_
The text was updated successfully, but these errors were encountered:
Reminder
System Info
(llamafactory) ubuntu@little:~/bigdata/LLaMA-Factory$ llamafactory-cli env
llamafactory
version: 0.9.3.dev0Reproduction
````text`
在autodl上使用vGPU-32G微调时最大使用batch_size为3,但现在使用5090时即使降低batch size也会报超显存
The text was updated successfully, but these errors were encountered: