MCPcopy Create free account

hub / github.com/city96/ComfyUI-GGUF / functions

Functions99 in github.com/city96/ComfyUI-GGUF

↓ 52 callersMethodto
(self, *args, **kwargs)
ops.py:57
↓ 12 callersFunctionsplit_block_dims
(blocks, *args)
dequant.py:55
↓ 8 callersFunctiondequantize_tensor
(tensor, dtype=None, dequant_dtype=None)
dequant.py:15
↓ 8 callersFunctionget_field
(reader, field_name, field_type)
loader.py:26
↓ 8 callersFunctionget_list_field
(reader, field_name, field_type)
loader.py:40
↓ 6 callersMethodget_filename_list
(s)
nodes.py:217
↓ 6 callersFunctionis_quantized
(tensor)
dequant.py:12
↓ 5 callersMethodcast_bias_weight
(s, input=None, dtype=None, device=None, bias_dtype=None)
ops.py:194
↓ 4 callersMethodget_weight
(self, tensor, dtype)
ops.py:166
↓ 4 callersMethodload_data
(self, ckpt_paths)
nodes.py:223
↓ 4 callersMethodload_patcher
(self, clip_paths, clip_type, clip_data)
nodes.py:235
↓ 4 callersFunctionsd_map_replace
(raw_sd, key_map)
loader.py:222
↓ 3 callersFunctiongguf_sd_loader
Read state dict as fake tensors
loader.py:70
↓ 3 callersMethodis_ggml_quantized
(self, *, weight=None, bias=None)
ops.py:103
↓ 2 callersMethodINPUT_TYPES
(s)
nodes.py:137
↓ 2 callersFunctionadd_extra_key
(writer, key, data)
tools/fix_5d_tensors.py:59
↓ 2 callersFunctionchained_hasattr
(obj, chained_attr)
ops.py:11
↓ 2 callersMethodclone
(self, *args, **kwargs)
nodes.py:122
↓ 2 callersFunctiondetect_arch
(state_dict)
tools/convert.py:163
↓ 2 callersFunctionget_scale_min
(scales)
dequant.py:129
↓ 2 callersMethodggml_load_from_state_dict
(self, state_dict, prefix, local_metadata, strict, missing_keys, unexpected_keys, error_msgs)
ops.py:120
↓ 2 callersFunctionis_torch_compatible
(tensor)
dequant.py:9
↓ 2 callersFunctionmove_patch_to_device
(item, device)
ops.py:273
↓ 2 callersFunctionto_uint32
(x)
dequant.py:46
↓ 2 callersFunctionupdate_folder_names_and_paths
(key, targets=[])
nodes.py:20
↓ 1 callersMethod__init__
(self, *args, tensor_type, tensor_shape, patches=[], **kwargs)
ops.py:48
↓ 1 callersFunctionconvert_file
(path, dst_path=None, interact=True, overwrite=False)
tools/convert.py:311
↓ 1 callersFunctionconvert_to_linux_format
(file_path)
tools/fix_lines_ending.py:14
↓ 1 callersFunctiondequantize
Dequantize tensor back to usable shape/dtype
dequant.py:30
↓ 1 callersMethodforward_comfy_cast_weights
(self, input, *args, **kwargs)
ops.py:213
↓ 1 callersMethodforward_ggml_cast_weights
(self, input)
ops.py:224
↓ 1 callersFunctiongemma3_norm_corrections
(sd)
loader.py:242
↓ 1 callersFunctionget_arch_str
(reader)
tools/fix_5d_tensors.py:24
↓ 1 callersFunctionget_args
()
tools/fix_5d_tensors.py:9
↓ 1 callersFunctionget_file_type
(reader)
tools/fix_5d_tensors.py:28
↓ 1 callersFunctionget_gguf_metadata
Extract all simple metadata fields like safetensors
loader.py:51
↓ 1 callersFunctionget_orig_shape
(reader, tensor_name)
loader.py:16
↓ 1 callersFunctionget_torch_compiler_disable_decorator
()
ops.py:21
↓ 1 callersMethodggml_save_to_state_dict
(self, destination, prefix, keep_vars)
ops.py:145
↓ 1 callersFunctiongguf_clip_loader
(path)
loader.py:470
↓ 1 callersFunctiongguf_gemma3_tokenizer_loader
(path)
loader.py:428
↓ 1 callersFunctiongguf_mmproj_loader
(path)
loader.py:271
↓ 1 callersFunctiongguf_tekken_tokenizer_loader
(path, temb_shape)
loader.py:385
↓ 1 callersFunctiongguf_tokenizer_loader
(path, temb_shape)
loader.py:337
↓ 1 callersMethodhandle_nd_tensor
(self, key, data)
tools/convert.py:84
↓ 1 callersFunctionhandle_tensors
(writer, state_dict, model_arch)
tools/convert.py:227
↓ 1 callersFunctionhas_unix_line_endings
(file_path)
tools/fix_lines_ending.py:5
↓ 1 callersFunctionis_model_arch
(model, state_dict)
tools/convert.py:151
↓ 1 callersFunctionllama_permute
(raw_sd, n_head, n_head_kv)
loader.py:230
↓ 1 callersMethodload
(self, *args, force_patch_weights=False, **kwargs)
nodes.py:92
↓ 1 callersFunctionload_state_dict
(path)
tools/convert.py:213
↓ 1 callersFunctionparse_args
()
tools/convert.py:172
↓ 1 callersFunctionread_tensors
(path)
tools/read_tensors.py:6
↓ 1 callersFunctionstrip_prefix
(state_dict)
tools/convert.py:183
↓ 1 callersFunctionstrip_quant_suffix
(name)
loader.py:264
↓ 1 callersFunctionto_uint16
(x)
dequant.py:51
MethodINPUT_TYPES
(s)
nodes.py:188
MethodINPUT_TYPES
(s)
nodes.py:202
MethodINPUT_TYPES
(s)
nodes.py:255
MethodINPUT_TYPES
(s)
nodes.py:277
MethodINPUT_TYPES
(s)
nodes.py:299
Method__init__
(self, in_features, out_features, bias=True, device=None, dtype=None)
ops.py:232
Method__new__
(cls, *args, tensor_type, tensor_shape, patches=[], **kwargs)
ops.py:54
Method_load_from_state_dict
(self, state_dict, prefix, *args, **kwargs)
ops.py:110
Method_save_to_state_dict
(self, *args, **kwargs)
ops.py:140
Methodclone
(self, *args, **kwargs)
ops.py:64
Methodcopy_
(self, *args, **kwargs)
ops.py:70
Functiondequantize_blocks_BF16
(blocks, block_size, type_size, dtype=None)
dequant.py:61
Functiondequantize_blocks_IQ4_NL
(blocks, block_size, type_size, dtype=None)
dequant.py:243
Functiondequantize_blocks_IQ4_XS
(blocks, block_size, type_size, dtype=None)
dequant.py:258
Functiondequantize_blocks_Q2_K
(blocks, block_size, type_size, dtype=None)
dequant.py:221
Functiondequantize_blocks_Q3_K
(blocks, block_size, type_size, dtype=None)
dequant.py:197
Functiondequantize_blocks_Q4_0
(blocks, block_size, type_size, dtype=None)
dequant.py:115
Functiondequantize_blocks_Q4_1
(blocks, block_size, type_size, dtype=None)
dequant.py:103
Functiondequantize_blocks_Q4_K
(blocks, block_size, type_size, dtype=None)
dequant.py:180
Functiondequantize_blocks_Q5_0
(blocks, block_size, type_size, dtype=None)
dequant.py:87
Functiondequantize_blocks_Q5_1
(blocks, block_size, type_size, dtype=None)
dequant.py:71
Functiondequantize_blocks_Q5_K
(blocks, block_size, type_size, dtype=None)
dequant.py:159
Functiondequantize_blocks_Q6_K
(blocks, block_size, type_size, dtype=None)
dequant.py:141
Functiondequantize_blocks_Q8_0
(blocks, block_size, type_size, dtype=None)
dequant.py:65
Methoddetach
(self, *args, **kwargs)
ops.py:67
Functiondummy_decorator
(*args, **kwargs)
ops.py:22
Methodforward_ggml_cast_weights
(self, input)
ops.py:242
Methodforward_ggml_cast_weights
(self, input)
ops.py:247
Methodforward_ggml_cast_weights
(self, input, out_dtype=None)
ops.py:252
Methodforward_ggml_cast_weights
(self, input)
ops.py:262
Methodforward_ggml_cast_weights
(self, input)
ops.py:269
Methodhandle_nd_tensor
(self, key, data)
tools/convert.py:23
Methodload_clip
(self, clip_name, type="stable_diffusion")
nodes.py:248
Methodload_clip
(self, clip_name1, clip_name2, type)
nodes.py:268
Methodload_clip
(self, clip_name1, clip_name2, clip_name3, type="sd3")
nodes.py:289
Methodload_clip
(self, clip_name1, clip_name2, clip_name3, clip_name4, type="stable_diffusion")
nodes.py:312
Methodload_unet
(self, unet_name, dequant_dtype=None, patch_dtype=None, patch_on_device=None)
nodes.py:150
Methodnew_empty
(self, size, *args, **kwargs)
ops.py:77
Functionnoop
(x)
ops.py:23
Methodpatch_weight_to_device
(self, key, device_to=None, inplace_update=False)
nodes.py:38
Methodpin_weight_to_device
(self, key)
nodes.py:81
Methodshape
(self)
ops.py:88
Methodunpatch_model
(self, device_to=None, unpatch_weights=True)
nodes.py:69