Spaces:
Sleeping
Sleeping
Update MagicQuill/brushnet_nodes.py
Browse files968 unmodified lines969970971972973974968 unmodified linesprompt_embeds, negative_prompt_embeds,pooled_prompt_embeds, negative_pooled_prompt_embeds, time_ids,debug):is_SDXL = isinstance(model.model.model_config, comfy.supported_models.SDXL)968 unmodified lines969970971972973974975976977978979980981968 unmodified linesprompt_embeds, negative_prompt_embeds,pooled_prompt_embeds, negative_pooled_prompt_embeds, time_ids,debug):if model.model.model_config.custom_operations is None:fp8 = model.model.model_config.optimizations.get("fp8", model.model.model_config.scaled_fp8 is not None)operations = comfy.ops.pick_operations(model.model.model_config.unet_config.get("dtype", None), model.model.manual_cast_dtype,fp8_optimizations=fp8, scaled_fp8=model.model.model_config.scaled_fp8)else:operations = model.model.model_config.custom_operationsis_SDXL = isinstance(model.model.model_config, comfy.supported_models.SDXL)
MagicQuill/brushnet_nodes.py+7