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

This commit is contained in:
fszontagh authored and GitHub committed 2026-07-06 22:06:58 +08:00
1 parent 8b135b5489
commit 9e1055d2e3
2 files changed
+61 -1

No files matched your search

+2 -1
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 ===================================