Skip to content

4gb vram out of memory #81

@clavar

Description

@clavar

1 batch, 128 x 128, 20 steps, 8cfg, euler a.

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 26.00 MiB (GPU 0; 4.00 GiB total capacity; 3.38 GiB already allocated; 0 bytes free; 3.45 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

It auto detects -lowvram but still cant generate imanges.
I tried -lowvram and -novram still same problem.

this gui works fine 512 x 512 50 steps.
https://github.com/n00mkrad/text2image-gui#features-and-how-to-use-them

I love the idea of your GUI, it looks awesome to learn with it.

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