fix: SDXL ControlNet (diffusers naming + graph size) (#1752)

This commit is contained in:
fszontagh
2026-07-06 16:06:58 +02:00
committed by GitHub
parent 8b135b5489
commit 9e1055d2e3
2 changed files with 61 additions and 1 deletions

View File

@@ -5,7 +5,8 @@
#include "model_loader.h"
#include "model_manager.h"
#define CONTROL_NET_GRAPH_SIZE 1536
// Match main UNet's MAX_GRAPH_SIZE so SDXL ControlNet (transformer_depth={1,2,10}) fits.
#define CONTROL_NET_GRAPH_SIZE MAX_GRAPH_SIZE
/*
=================================== ControlNet ===================================