Archived
docs: the LoRA-slot squeeze is a same-machine affair -- split deployments fit both slots
The node is a pure HTTP client, so ComfyUI's VRAM only contends with radiance's when both run on the server's box. Headless-radiance setups (the normal layout: client UI on its own GPU, node pointed at a LAN server) have idle cards on the server and boot --max-loras 2 fine. Scope the recommendation to shared machines in node tooltip, README, and GUIDE; PR body updated out-of-tree. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
07904a3628
commit
f3c6443d95
3 files changed
+14
-5
No files matched your search
+3
-1
@@ -1620,7 +1620,9 @@ below.
|
||||
that stops with `VRAM pool budgets are empty: … vram_kv resolved to 0 MiB`. Lowering
|
||||
`--max-num-batched-tokens` cannot buy the room back on a video generator — the auto value is a
|
||||
floor (the largest denoise step must fit the arena) and a lower one is refused at declare.
|
||||
Default to `--max-loras 1` on tight cards.
|
||||
The squeeze is only against GPU processes on the server's OWN machine; on a split deployment
|
||||
(client UI on another box, this server headless) the cards are otherwise idle and two slots fit.
|
||||
Default to `--max-loras 1` on a shared machine.
|
||||
- An unload of an idle adapter answers 200 and frees its slot. An unload of an adapter requests
|
||||
are still using **drains** it and answers 202
|
||||
`{"action": "draining", "lora_name": "x", "in_flight": N}`: from then on a request naming `x`
|
||||
|
||||
@@ -44,9 +44,14 @@ other GPU process). The failure signature is a boot that stops with
|
||||
`VRAM pool budgets are empty: … vram_kv resolved to 0 MiB` (exit 1).
|
||||
Lowering `--max-num-batched-tokens` to claw room back does NOT work for a
|
||||
video generator: its auto value is a floor — the largest denoise step must fit
|
||||
the arena — and a lower one is refused at declare. **Recommendation: serve
|
||||
with `--max-loras 1` as the default** (this node's `lora 1` keeps working,
|
||||
keep `lora 2` at `none`); raise to 2 when the cards are otherwise idle.
|
||||
the arena — and a lower one is refused at declare. **This contention exists
|
||||
only between GPU processes on the machine that HOSTS radiance.** The node is a
|
||||
pure HTTP client, so the standard split topology — ComfyUI on its own box/GPU,
|
||||
radiance headless on another — leaves the server's cards otherwise idle and
|
||||
`--max-loras 2` fits fine there; that is the way to run two slots. **On one
|
||||
shared machine, serve with `--max-loras 1` as the default** (this node's
|
||||
`lora 1` keeps working, keep `lora 2` at `none`); go to 2 only when nothing
|
||||
else on that box touches the GPU.
|
||||
|
||||
## Inputs
|
||||
|
||||
|
||||
@@ -476,7 +476,9 @@ class RadianceMiniMax(io.ComfyNode):
|
||||
"the server dies with 'vram_kv resolved to 0 MiB', "
|
||||
"free the cards (stop ComfyUI too -- it holds "
|
||||
"VRAM) or serve with --max-loras 1 and keep this "
|
||||
"slot 'none'. See the README, 'LoRA slots and "
|
||||
"slot 'none'. (Only bites when the GPU apps "
|
||||
"share the SERVER's machine -- split boxes "
|
||||
"fit both slots.) See the README, 'LoRA slots and "
|
||||
"VRAM'. Same dropdown rules as loras ('none' = "
|
||||
"off); either slot may stand alone. Beyond two: "
|
||||
"<lora:name:0.8> prompt tags and a raised "
|
||||
|
||||
Reference in new issue
Block a user