MCPcopy Create free account

hub / github.com/bytedance/ComfyUI-HyperLoRA / functions

Functions63 in github.com/bytedance/ComfyUI-HyperLoRA

↓ 14 callersFunctioncustom_field
(name: str = 'custom', type_name: str = 'CUSTOM')
hyperlora/node_fields.py:34
↓ 12 callersFunctionenum_field
(name: str = 'enum_field', options: Iterable = [])
hyperlora/node_fields.py:37
↓ 11 callersFunctioninputs_def
(required: Iterable = [], optional: Iterable = [])
hyperlora/node_fields.py:18
↓ 9 callersFunctionint_field
(name: str = 'int_field', default: int = 50, minimum: int = 0, maximum: int = 100, step: int = 1)
hyperlora/node_fields.py:40
↓ 8 callersFunctionlist_models
(model_type)
hyperlora/nodes.py:48
↓ 7 callersFunctionbool_field
(name: str = 'bool_field', default: bool = False)
hyperlora/node_fields.py:65
↓ 7 callersMethodexecute
(self, **kwagrs)
hyperlora/nodes.py:116
↓ 4 callersMethod__init__
(self, shape: Tuple[int])
hyperlora/modules.py:141
↓ 4 callersFunctionimage_field
(name: str = 'image')
hyperlora/node_fields.py:28
↓ 4 callersFunctionimages2tensor
(images: Iterable[Image.Image])
hyperlora/common.py:85
↓ 4 callersMethodlinear_mix
(self, coeffs: torch.Tensor, basis: torch.Tensor)
hyperlora/modules.py:109
↓ 4 callersFunctiontensor2images
(tensor: torch.Tensor)
hyperlora/common.py:77
↓ 3 callersFunctionget_torch_device
()
standalone/mock/comfy/model_management.py:3
↓ 2 callersMethodINPUT_TYPES
(cls)
hyperlora/nodes.py:94
↓ 2 callersFunctionface_bbox
(landmark: np.ndarray)
hyperlora/nodes.py:60
↓ 2 callersFunctionface_crop
(image: Image.Image, landmark: np.ndarray, mask_scale: float = 1.0)
hyperlora/nodes.py:69
↓ 2 callersMethodinstantiate
(self)
hyperlora/configs.py:42
↓ 2 callersFunctionstr_field
(name: str = 'str_field', default: str = '', multiline: bool = False)
hyperlora/node_fields.py:59
↓ 1 callersFunctionfloat_field
(name: str = 'float_field', default: float = 0.5, minimum: float = 0.0, maximum: float = 1.0, step: float = 0.
hyperlora/node_fields.py:49
↓ 1 callersMethodfrom_dict
(self, config_dict: Dict[str, Any])
hyperlora/configs.py:22
↓ 1 callersFunctionload_lora_for_models
(model, clip, lora, strength_model, strength_clip)
standalone/mock/comfy/sd.py:1
↓ 1 callersMethodmake_base_cond
(self, hyper_lora: HyperLoRA, image: Image.Image, face_attr: FaceAttrResp, crop, crop_scale_LRTB, safe_crop)
hyperlora/nodes.py:341
↓ 1 callersMethodmake_id_cond
(self, hyper_lora: HyperLoRA, image: Image.Image, face_attr: FaceAttrResp, grayscale, remove_background)
hyperlora/nodes.py:270
↓ 1 callersMethodnorm_out
(self, x)
hyperlora/modules.py:79
↓ 1 callersMethodprint
(self, indent: int = 0)
hyperlora/configs.py:34
MethodINPUT_TYPES
(cls)
hyperlora/nodes.py:149
MethodINPUT_TYPES
(cls)
hyperlora/nodes.py:257
MethodINPUT_TYPES
(cls)
hyperlora/nodes.py:327
MethodINPUT_TYPES
(cls)
hyperlora/nodes.py:390
MethodINPUT_TYPES
(cls)
hyperlora/nodes.py:427
MethodINPUT_TYPES
(cls)
hyperlora/nodes.py:457
MethodINPUT_TYPES
(cls)
hyperlora/nodes.py:476
MethodINPUT_TYPES
(cls)
hyperlora/nodes.py:497
MethodINPUT_TYPES
(cls)
hyperlora/nodes.py:530
MethodINPUT_TYPES
(cls)
hyperlora/nodes.py:569
Method__init__
(self, dim, dim_head=64, heads=8, ff_mult=4, n_conds=1)
hyperlora/modules.py:23
Method__init__
(self, dim=1024, depth=8, dim_head=64, heads=8, num_queries=16, embedding_dim=768, output_dim=1024, ff_mult=4,
hyperlora/modules.py:64
Method__init__
(self, dim: int, in_features: int, out_features: int, lora_rank: int = 4, has_base_lora: bool = False)
hyperlora/modules.py:99
Method__init__
(self, dim: int, hidden_size: int, cross_attention_dim: int, lora_rank: int = 4, has_base_lora: bool = False)
hyperlora/modules.py:122
Functionbatch_proc
(**arg_types: Dict[str, BatchType])
hyperlora/common.py:114
Methodexecute
(self, config: HyperLoRAConfig, model, dtype)
hyperlora/nodes.py:160
Methodexecute
(self, hyper_lora: HyperLoRA, images: torch.Tensor, face_attr: list[FaceAttrResp], grayscale, remove_backgroun
hyperlora/nodes.py:306
Methodexecute
(self, hyper_lora: HyperLoRA, images: torch.Tensor, face_attr: list[FaceAttrResp], crop, crop_scale_LRTB, safe
hyperlora/nodes.py:372
Methodexecute
(self, hyper_lora: HyperLoRA, id_cond)
hyperlora/nodes.py:401
Methodexecute
(self, hyper_lora: HyperLoRA, base_cond)
hyperlora/nodes.py:438
Methodexecute
(self, model: ModelPatcher, lora, weight)
hyperlora/nodes.py:468
Methodexecute
(self, filename_prefix, lora)
hyperlora/nodes.py:487
Methodexecute
(self, hyper_lora: HyperLoRA, images: torch.Tensor)
hyperlora/nodes.py:507
Methodexecute
(self, image_processor, image_encoder, encoder_types, face_analyzer, model, dtype)
hyperlora/nodes.py:546
Methodexecute
(self, hyper_lora, images, grayscale, remove_background)
hyperlora/nodes.py:584
Methodforward
(self, x, latents, y=None)
hyperlora/modules.py:40
Methodforward
(self, x, y=None)
hyperlora/modules.py:82
Methodforward
(self, tokens: torch.Tensor, mode='id')
hyperlora/modules.py:112
Methodforward
(self, tokens: torch.Tensor, mode='id')
hyperlora/modules.py:130
Methodforward
(self, x: torch.Tensor)
hyperlora/modules.py:145
Functionimage2base64
(image: Image.Image)
hyperlora/common.py:92
Functionimage_from_url
(url: str)
hyperlora/common.py:98
Methodinstantiate
(self)
hyperlora/configs.py:50
Methodinstantiate
(self)
hyperlora/configs.py:59
Functionmask_field
(name: str = 'mask')
hyperlora/node_fields.py:31
Functionresize_image
(image: Image.Image, size: int, mode: ResizeMode = ResizeMode.LONG_EDGE)
hyperlora/common.py:101
Functionworker
(*args: List[Any], **kwargs: Dict[str, Any])
hyperlora/common.py:116
Functionwrapper
(func: Callable)
hyperlora/common.py:115