Skip to content

torch.OutOfMemoryError: CUDA out of memory. #1

@Verdandy

Description

@Verdandy

Dear cryofm team,

I encountered the issue shown in the figure when using the cfm denoise command. I am working with 4×16GB GPUs with 4 multiprocess, but the program still reports a CUDA out-of-memory error.

To troubleshoot this, I have already tried setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to reduce memory fragmentation as recommended by the output log but failed
.
Could you please provide a feasible solution or official low-memory configuration recommendations for running cfm denoise on 16GB GPUs?

Best,
Verdandy

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions