Ryan Dick
|
c2a8fbd8d6
|
(minor) Move infer_xlabs_ip_adapter_params_from_state_dict(...) to state_dict_utils.py.
|
2024-10-21 15:38:50 +00:00 |
|
Ryan Dick
|
d6643d7263
|
Add model loading code for xlabs FLUX IP-Adapter (not tested).
|
2024-10-21 15:38:50 +00:00 |
|
Ryan Dick
|
412e79d8e6
|
Add model probing for XLabs FLUX IP-Adapter.
|
2024-10-21 15:38:50 +00:00 |
|
Ryan Dick
|
f939dbdc33
|
Add is_state_dict_xlabs_ip_adapter() utility function.
|
2024-10-21 15:38:50 +00:00 |
|
Ryan Dick
|
24a0ca86f5
|
Add logic for loading an Xlabs IP-Adapter from a state dict.
|
2024-10-21 15:38:50 +00:00 |
|
Ryan Dick
|
95c30f6a8b
|
Add initial logic for inferring FLUX IP-Adapter params from a state_dict.
|
2024-10-21 15:38:50 +00:00 |
|
Ryan Dick
|
ac7441e606
|
Fixup typing/imports for IPDoubleStreamBlockProcessor.
|
2024-10-21 15:38:50 +00:00 |
|
Ryan Dick
|
9c9af312fe
|
Copy IPDoubleStreamBlockProcessor from 47495425db/src/flux/modules/layers.py (L221).
|
2024-10-21 15:38:50 +00:00 |
|
Ryan Dick
|
32c7cdd856
|
Add cfg_scale_start_step and cfg_scale_end_step to FLUX Denoise node.
|
2024-10-21 14:52:02 +00:00 |
|
Mary Hipp
|
bbd89d54b4
|
add it to list
|
2024-10-19 14:08:49 +11:00 |
|
Mary Hipp
|
ee61006a49
|
add starter model
|
2024-10-19 14:08:49 +11:00 |
|
Ryan Dick
|
6df4ee5fc8
|
Make negative_text_conditioning nullable on FLUX Denoise invocation.
|
2024-10-18 20:31:27 +00:00 |
|
Ryan Dick
|
371742d8f9
|
Add support for cfg_scale list on FLUX Denoise node.
|
2024-10-18 20:14:47 +00:00 |
|
Ryan Dick
|
73d4c4d56d
|
Naive implementation of CFG for FLUX.
|
2024-10-16 16:22:35 +00:00 |
|
Mary Hipp
|
5bd87ca89b
|
feat(ui,api): add starter bundles to MM
|
2024-10-15 15:58:11 -04:00 |
|
Ryan Dick
|
ac08c31fbc
|
Remove unnecessary hasattr checks for scaled_dot_product_attention. We pin the torch version, so there should be no concern that this function does not exist.
|
2024-10-10 19:23:45 -04:00 |
|
Ryan Dick
|
ea54a2655a
|
Add a workaround for broken sliced attention on MPS with torch 2.4.1.
|
2024-10-10 19:23:45 -04:00 |
|
Ryan Dick
|
bb6d073828
|
Use the Shakker-Labs ControlNet union model as the only FLUX ControlNet starter model.
|
2024-10-10 13:59:59 +00:00 |
|
Ryan Dick
|
f37c5011f4
|
Reduce peak memory utilization when preparing FLUX controlnet inputs.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
a654dad20f
|
Remove instantx_control_mode from FLUX ControlNet node.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
e7f9086006
|
Fix bug with InstantX input image range.
|
2024-10-10 07:59:29 -04:00 |
|
maryhipp
|
5fd3c39431
|
update prepreprocessor logic to be more resilient
|
2024-10-10 07:59:29 -04:00 |
|
maryhipp
|
7daf3b7d4a
|
update starter models to include FLUX controlnets
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
908f65698d
|
Fix support for InstantX non-union models (with no single blocks).
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
63c4ac58e9
|
Support installing InstantX ControlNet models from diffusers directory format.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
812940eb95
|
(minor) Add comment about future memory optimization.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
0559480dd6
|
Shift the controlnet-type-specific logic into the specific ControlNet extensions and make the FLUX model controlnet-type-agnostic.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
d99e7dd4e4
|
Add instantx_control_mode param to FLUX ControlNet invocation.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
e854181417
|
Create a dedicated FLUX ControlNet invocation.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
de414c09fd
|
Bugfixes to get InstantX ControlNet working.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
ce4624f72b
|
Update ControlNetCheckpointProbe.get_base_type() to work with InstantX.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
47c7df3476
|
Fix circular imports related to XLabsControlNetFluxOutput and InstantXControlNetFluxOutput.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
4289b5e6c3
|
Add instantx controlnet logic to FLUX model forward().
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
c8d1d14662
|
Work on integrating InstantX into denoise process.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
44c588d778
|
Rename DiffusersControlNetFlux -> InstantXControlNetFlux.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
d75ac56d00
|
Create flux/extensions directory.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
714dd5f0be
|
Update FluxControlnetModel to work with both XLabs and InstantX.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
2f4d3cb5e6
|
Add unit test to test the full flow of loading an InstantX ControlNet from a state dict.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
1cdd501a0a
|
Add unit test for infer_flux_params_from_state_dict(...).
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
03cf953398
|
First pass of utility function to infer the FluxParams from a state dict.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
24c115663d
|
Add unit test for convert_diffusers_instantx_state_dict_to_bfl_format(...) and fix a few bugs.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
a9e7ecad49
|
Finish first draft of convert_diffusers_instantx_state_dict_to_bfl_format(...).
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
76f4766324
|
WIP - implement convert_diffusers_instantx_state_dict_to_bfl_format(...).
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
3dfc242f77
|
(minor) rename other_forward() -> forward()
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
1e43389cb4
|
Add utils for detecting XLabs ControlNet vs. InstantX ControlNet from
state dict.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
cb33de34f7
|
Migrate DiffusersControlNetFlux from diffusers-style to BFL-style.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
7562ea48dc
|
Improve typing of zero_module().
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
83f4700f5a
|
Use top-level torch import for all torch stuff.
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
704e7479b2
|
Remove DiffusersControlNetFlux.from_transformer(...).
|
2024-10-10 07:59:29 -04:00 |
|
Ryan Dick
|
5f44559f30
|
Fixup typing around DiffusersControlNetFluxOutput.
|
2024-10-10 07:59:29 -04:00 |
|