Skip to content

CUDA out of memory #96

@JustNerro

Description

@JustNerro

was working with no problem like two weeks ago, but now I keep getting this

torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 20.00 MiB. GPU 0 has a total capacity of 7.96 GiB of which 0 bytes is free. Of the allocated memory 6.85 GiB is allocated by PyTorch, and 9.25 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)
--- Program execution ended (Exit code: 1) ---

full log here hy3d2winportablelog.txt

using RTX 5060, 32 GB RAM, HY3D 2.1, tried both the "High Memory, Low Vram" and "Low Memory, Low Vram" presets

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions