It is initialized in the CTOR and never changes afterwards.
As a consequence, setting control_scale in the high-level get_sdxl_sample API has no effect on it while this factor is involved in the timestep embedding computation.
(In other words, the base model time_embed has no effect whatever the input control_scale)
But also, setting control_scale=0.0 when calling get_sdxl_sample is different than completely disabling ControlNet-XS via no_control = True.
It looks to me, it should be changed via something like:
It is initialized in the CTOR and never changes afterwards.
As a consequence, setting
control_scale
in the high-levelget_sdxl_sample
API has no effect on it while this factor is involved in the timestep embedding computation.(In other words, the base model
time_embed
has no effect whatever the inputcontrol_scale
)But also, setting
control_scale=0.0
when callingget_sdxl_sample
is different than completely disabling ControlNet-XS viano_control = True
.It looks to me, it should be changed via something like:
--
Is it intended (bug or feature)? Am I missing something?