Skip to content

Make MultiGPU work with dynamic-vram.#195

Open
BigStationW wants to merge 1 commit intopollockjj:mainfrom
BigStationW:main
Open

Make MultiGPU work with dynamic-vram.#195
BigStationW wants to merge 1 commit intopollockjj:mainfrom
BigStationW:main

Conversation

@BigStationW
Copy link
Copy Markdown

Hello,

With Comfy-aimdo 0.3.0 it is now possible to make your custom node work with dynamic-vram.

I added a prestartup_script.py file to initialize comfy-aimdo for all visible CUDA devices at startup. This prevents crashes when MultiGPU places a submodel on cuda:1 (e.g. text encoder / CLIP) and ComfyUI later tries to allocate a DynamicVRAM VBAR on that device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant