Skip to content

Out of Memory (OOM) Errors during mesh generation and refinement #50

@realstevewarner

Description

@realstevewarner

First, let me say that I love this implementation of Trellis2. The ability to generate a mesh, then refine it, then texture it is simply brilliant. That said, I'm running into constant OOM errors even when resolution is set to something low like 512. I'm on a 4090 so I've got 24GB of VRAM but during Refinement or Remeshing it will occasionally spike the VRAM and then everything stops.

I've been able to run model generation and the refiner before, so it really does depend on the model, but OOM is happening more often than not, which is really limiting the use of this tool.

I've tried with Low VRAM turned on and off as well as keep models in memory on and off.

I have a custom build of Comfy just for running Trellis.

VRAM hovers around 15% under most circumstances even during initial stages of mesh generation, but it will then spike and kill things. Is it possible to offload to normal system RAM?

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