↓ 7 callersMethodload(self, file_path="", state_dict={}, device="cuda", torch_dtype=torch.float16, **kwargs)
OmniAvatar/models/model_manager.py:105
↓ 3 callersFunctionload_model_from_single_file(state_dict, model_names, model_classes, model_resource, torch_dtype, device, infer)
OmniAvatar/models/model_manager.py:8
↓ 2 callersMethoddecode_video(self, latents, tiled=True, tile_size=(34, 34), tile_stride=(18, 16))
OmniAvatar/wan_video.py:197
↓ 2 callersMethodencode_video(self, input_video, tiled=True, tile_size=(34, 34), tile_stride=(18, 16))
OmniAvatar/wan_video.py:192
↓ 2 callersFunctionload_patch_model_from_single_file(state_dict, model_names, model_classes, extra_kwargs, model_manager, torch_dtype, device)
OmniAvatar/models/model_manager.py:74
↓ 1 callersMethod__init__(self, module: torch.nn.Module, offload_dtype, offload_device, onload_dtype, onload_device, computation_dtype,
OmniAvatar/vram_management/layers.py:12
↓ 1 callersMethodadd_lora_to_model(self, model, lora_rank=4, lora_alpha=4, lora_target_modules="q,k,v,o,ffn.0,ffn.2", init_lora_weights="kaiming
scripts/inference.py:163
↓ 1 callersMethodadd_model_metadata(self, keys_hash, keys_hash_with_shape, model_names, model_classes, model_resource)
OmniAvatar/models/model_manager.py:118
↓ 1 callersFunctionload_single_patch_model_from_single_file(state_dict, model_name, model_class, base_model, extra_kwargs, torch_dtype, device)
OmniAvatar/models/model_manager.py:62
↓ 1 callersFunctionsave_video_as_grid_and_mp4(video_batch: torch.Tensor, save_path: str, fps: float = 5,prompt=None, prompt_path=None, audio=None, audio_pa
OmniAvatar/utils/io_utils.py:138