6 Commits
Author SHA1 Message Date
Jesse Rabek 21a5d24f8c Integrate ComfyUI sampler and scheduler constants into BokehKSampler
- Added logic to import and utilize sampler and scheduler names from ComfyUI's KSampler class.
- Implemented fallback mechanisms to ensure default sampler and scheduler names are available if ComfyUI is not present.
- Enhanced logging to provide feedback on the number of samplers and schedulers loaded, or warnings if the import fails.
2025-11-27 19:58:36 +01:00
Jesse Rabek f0608aeb99 Enhance logging and debugging in find_flux_transformer
- Updated logging configuration to set a default level instead of relying on the environment variable.
- Added comprehensive logging to track the search for FLUX transformers, including checks for visible attributes and potential diffusers models.
- Introduced logging for interesting module types to aid in debugging the model structure.
- Improved error handling with detailed logging for exceptions encountered during the search process.
2025-11-27 19:53:11 +01:00
Jesse Rabek 6a7edf367f Implement logging for find_flux_transformer and apply_adapter methods
- Added logging configuration to control verbosity via the BOKEH_DEBUG environment variable.
- Enhanced `find_flux_transformer` with detailed logging to trace the search process for FLUX transformers, including model structure and attribute checks.
- Updated `apply_adapter` to log the steps taken during adapter application, including transformer verification and adapter loading.
- Improved error handling with logging for better diagnostics in case of failures.
2025-11-27 19:36:52 +01:00
Jesse Rabek 081a24f40c Enhance find_flux_transformer to support ComfyUI Flux wrappers
- Expanded the logic in `find_flux_transformer` to identify FLUX transformers within ComfyUI model structures.
- Added checks for common attributes and nested modules to locate the transformer more effectively.
- Improved debug output to provide detailed information about the model structure and attributes during the search process.
2025-11-27 19:08:09 +01:00
Jesse Rabek 8fbc2a995a Add function to find FLUX transformer in ComfyUI model
- Introduced a helper function to identify FLUX transformers based on class name and attributes.
- Enhanced the `find_flux_transformer` function to check multiple model structures and attributes for the transformer.
- Added a recursive search mechanism as a fallback to locate the transformer in nested model structures.
- Included debug print statements to assist in diagnosing model structure during transformer search.
2025-11-27 18:48:15 +01:00
Jesse Rabek 43d6fb36f1 Initial commit 2025-11-27 18:27:31 +01:00