Open
Description
使用3S复刻功能推理几十个字就爆显存了。
显卡:AMD 6800xt
系统:unbuntu 24.04.2 LTS
pytorch: 2.6.0 for rocm6.2.4
torch.OutOfMemoryError: HIP out of memory. Tried to allocate 5.48 GiB. GPU 0 has a total capacity of 15.98 GiB of which 4.96 GiB is free. Of the allocated memory 10.43 GiB is allocated by PyTorch, and 240.40 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_HIP_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
Metadata
Metadata
Assignees
Labels
No labels