Skip to content

UI has been slow on low VRAM for a few months #6780

@gabrielfougeron

Description

@gabrielfougeron

Prerequisites

  • I am running the latest version of ComfyUI
  • I have searched existing issues to make sure this isn't a duplicate
  • I have tested with all custom nodes disabled (see how)

What happened?

In order to preserve as much vram for my discrete GPU, I'm running Comfyui with one screen running off my integrated GPU (integrated on the cpu) with 2Go VRAM. Lately, the UI has become extremely slow (it takes 1-2 seconds to pan, disable/enable node, select node, edit node value etc). I suspect this has to do with VRAM swap on my integrated GPU, because this does not happen when I run on a monitor plugged in my discrete GPU. The UI is so slow, that it becomes hard and frustrating to interact with (displacing nodes is a nightmare, group select as well, doing anything fast and reliably feels almost impossible).

This happens even before any model is loaded, before any task is put in queue.

It is hard to pinpoint when (i.e. what Comfyui version) the change occured, especially since I don't update more than circa once/month. I'd say about 2 months, maybe a bit more.
I was running comfyui-frontend-package version 1.28.8, just upgraded (using pip) to 1.33.3 and it is the same.

Are there settings I could change to mitigate this issue ? I already lowered the max FPS of the UI to 15.

Steps to Reproduce

  1. Run Comfyui off of screen ran by very low end / integrated GPU

How is this affecting you?

Visual/UI issue only

ComfyUI Frontend Version

1.33.3

Browser

Chrome/Chromium

Console Errors

Logs

Additional Context

No response

┆Issue is synchronized with this Notion page by Unito

Metadata

Metadata

Assignees

No one assigned

    Labels

    Potential BugUntriaged bugarea:uiGeneral user interface and experience improvementsperf:speed

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions