MCPcopy Create free account

hub / github.com/NVlabs/LongLive / functions

Functions963 in github.com/NVlabs/LongLive

Functiongemm_mxfp4mxfp4_accum_fp32_out_bf16_tnt
( a: torch.Tensor, b: torch.Tensor, a_sf: torch.Tensor, b_sf: torch.Tensor, alpha: torch.T
fouroversix/src/fouroversix/matmul/cutlass/ops.py:6
Functiongemm_mxfp4mxfp4_accum_fp32_out_bf16_tnt_sm120
( a: torch.Tensor, b: torch.Tensor, a_sf: torch.Tensor, b_sf: torch.Tensor, alpha: torch.T
fouroversix/src/fouroversix/matmul/cutlass/ops.py:35
Functiongemm_nvfp4nvfp4_accum_fp32_out_bf16_tnt
( a: torch.Tensor, b: torch.Tensor, a_sf: torch.Tensor, b_sf: torch.Tensor, alpha: torch.T
fouroversix/src/fouroversix/matmul/cutlass/ops.py:66
Functiongemm_nvfp4nvfp4_accum_fp32_out_bf16_tnt_sm120
( a: torch.Tensor, b: torch.Tensor, a_sf: torch.Tensor, b_sf: torch.Tensor, alpha: torch.T
fouroversix/src/fouroversix/matmul/cutlass/ops.py:95
Functiongemm_nvfp4nvfp4_accum_fp32_out_fp16_tnt
( a: torch.Tensor, b: torch.Tensor, a_sf: torch.Tensor, b_sf: torch.Tensor, alpha: torch.T
fouroversix/src/fouroversix/matmul/cutlass/ops.py:126
Functiongemm_nvfp4nvfp4_accum_fp32_out_fp16_tnt_sm120
( a: torch.Tensor, b: torch.Tensor, a_sf: torch.Tensor, b_sf: torch.Tensor, alpha: torch.T
fouroversix/src/fouroversix/matmul/cutlass/ops.py:155
Functiongemm_rs
fouroversix/src/fouroversix/csrc/include/utils.h:194
Methodgenerate
r""" Generates video frames from input image and text prompt using diffusion process. Args: input_prompt (`str`):
wan_5b/image2video.py:206
Methodgenerate
r""" Generates video frames from text prompt using diffusion process. Args: input_prompt (`str`): Text pr
wan_5b/textimage2video.py:162
Methodgenerate_chunk_with_cache
Chunk generation method tailored for sequential training Args: noise: noise tensor for a single chunk [batch_siz
pipeline/self_forcing_training.py:111
Methodgenerator_loss
Generate image/videos from noise and compute the DMD loss. The noisy input to the generator is backward simulated. This remov
model/diffusion.py:138
Methodget_calibrated_kwargs
Get the calibrated kwargs for the given model and scale rules. If this model has not yet been calibrated with these scale rules, an e
fouroversix/scripts/ptq/evaluators/smoothquant.py:141
Methodget_calibration_tasks
Get the kwargs for tasks that should be used to calibrate the given model for this PTQ method before running evaluation.
fouroversix/scripts/ptq/evaluators/smoothquant.py:100
Functionget_compute_capability
fouroversix/src/fouroversix/csrc/include/hardware_info.h:30
Functionget_current_device
fouroversix/src/fouroversix/csrc/include/hardware_info.h:24
Methodget_element_size
Get the size of a single element, in bytes, for a parameter.
fouroversix/src/fouroversix/model/modules/gpt_oss.py:75
Methodget_element_size
Get the size of a single element, in bytes, for a parameter.
fouroversix/src/fouroversix/model/modules/linear.py:223
Methodget_element_size
Get the size of a single element, in bytes, for a parameter.
fouroversix/src/fouroversix/model/modules/linear_ori.py:187
Methodget_element_size
Get the size of a single element, in bytes, for a parameter.
fouroversix/src/fouroversix/model/modules/qwen.py:149
Functionget_fp4_quant_template
( is_nvfp4: str, is_rht: str, is_transpose: str, src_dtype: str, )
fouroversix/scripts/generate_kernels.py:20
Functionget_num_sm
fouroversix/src/fouroversix/csrc/include/hardware_info.h:37
Methodget_numeric_key
(path)
utils/dataset.py:433
Methodget_packing_factor
Get the packing factor for a parameter.
fouroversix/src/fouroversix/model/modules/gpt_oss.py:206
Methodget_quantized_parameters
Prepare this layer for post-training quantization by quantizing the weight, storing the quantized weight, and deleting the original w
fouroversix/src/fouroversix/model/modules/gpt_oss.py:215
Methodget_quantized_parameters
Get the quantized parameters for the layer.
fouroversix/src/fouroversix/model/modules/linear.py:233
Methodget_quantized_parameters
Get the quantized parameters for the layer.
fouroversix/src/fouroversix/model/modules/linear_ori.py:197
Methodget_quantized_parameters
Prepare this layer for post-training quantization by quantizing the weight, storing the quantized weight, and deleting the original w
fouroversix/src/fouroversix/model/modules/qwen.py:162
Functionget_sequence_parallel_group
()
wan_5b/distributed/sp_training.py:82
Functionget_sp_comm_stats
()
wan_5b/distributed/sp_ulysses_inference.py:90
Methodget_weight_conversions
Return weight conversions for the gpt oss model.
fouroversix/src/fouroversix/weight_conversions/gpt_oss.py:76
Methodgroup_name
The name of the group experiments are being run in. If this is not None and an experiment with this group name and matching parameter
fouroversix/scripts/ptq/coordinators/modal.py:30
Methodhacked_get_attr
(self, name: str)
utils/memory.py:19
Functionhadamard_quant_group
fouroversix/src/fouroversix/csrc/include/hadamard_transform.h:46
Functionhadamard_quant_group_16
fouroversix/src/fouroversix/csrc/include/hadamard_transform.h:17
Functionhadamard_quant_group_32
fouroversix/src/fouroversix/csrc/include/hadamard_transform.h:40
Methodhalf_t>
fouroversix/src/fouroversix/csrc/include/utils.h:38
Methodhas_pos
Whether ANY owned timestep bucket at ``block_pos`` has samples (2D only).
utils/error_buffer.py:201
Functioninit_distributed_group
Initialize the default distributed group when it is not yet ready.
wan_5b/distributed/util.py:26
Methodinit_weight
(self, conv)
wan_5b/modules/vae2_2.py:170
Methodinit_weight
(self, conv)
wan_5b/modules/vae2_1.py:159
Methodinit_weight2
(self, conv)
wan_5b/modules/vae2_2.py:181
Methodinit_weight2
(self, conv)
wan_5b/modules/vae2_1.py:170
Functioninit_weights
(m)
wan_5b/modules/t5.py:27
Methodinject_context_error
(clean_latent_aug, index, batch_size, num_frame)
tests/test_i2v_teacher_forcing_context.py:164
Methodinner_wrapper
( wrapped_cls: type[nn.Module], )
fouroversix/src/fouroversix/model/quantize.py:89
Methodinner_wrapper
( wrapped_cls: type, )
fouroversix/src/fouroversix/weight_conversions/conversions.py:23
Functioninstall_flash_attn
()
fouroversix/scripts/resources.py:129
Functioninstall_fouroversix
()
fouroversix/scripts/resources.py:136
Functioninstall_fouroversix_non_editable
()
fouroversix/scripts/resources.py:150
Functioninstall_qutlass
()
fouroversix/scripts/resources.py:176
Methodis_available
Return True if the PyTorch backend is available on the current machine.
fouroversix/src/fouroversix/matmul/pytorch.py:17
Methodis_available
Return True if the CUTLASS backend is available on the current machine.
fouroversix/src/fouroversix/matmul/cutlass/backend.py:17
Methodis_available
Return True if the Transformer Engine backend is available on the current machine.
fouroversix/src/fouroversix/quantize/transformer_engine.py:20
Methodis_available
Return True if the Triton backend is available on the current machine.
fouroversix/src/fouroversix/quantize/triton/backend.py:20
Methodis_available
Return True if the PyTorch backend is available on the current machine.
fouroversix/src/fouroversix/quantize/pytorch/backend.py:18
Methodis_available
Return True if the CUDA backend is available on the current machine.
fouroversix/src/fouroversix/quantize/cuda/backend.py:19
Methodis_empty
(self)
tests/test_i2v_teacher_forcing_context.py:52
Methodis_quantized_module_type
Return True if the given module type is a quantized module.
fouroversix/src/fouroversix/model/quantize.py:22
Methodis_supported
Return True if the CUTLASS backend supports the given inputs and output data type.
fouroversix/src/fouroversix/matmul/cutlass/backend.py:34
Methodis_supported
Return True if the Transformer Engine backend supports the given input and quantization configuration.
fouroversix/src/fouroversix/quantize/transformer_engine.py:40
Methodis_supported
Return True if the Triton backend supports the given input and quantization configuration.
fouroversix/src/fouroversix/quantize/triton/backend.py:28
Methodis_supported
Return True if the PyTorch backend supports the given input and quantization configuration.
fouroversix/src/fouroversix/quantize/pytorch/backend.py:23
Methodis_supported
Return True if the CUDA backend supports the given input and quantization configuration.
fouroversix/src/fouroversix/quantize/cuda/backend.py:36
Functionlaunch_fp4_quant
fouroversix/src/fouroversix/csrc/include/fp4_quant_launch_template.h:83
Functionlaunch_fp4_quant_prologue
fouroversix/src/fouroversix/csrc/include/fp4_quant_launch_template.h:55
Functionload_lora_checkpoint
Load LoRA weights from state dict Args: lora_model: The LoRA-wrapped model lora_state_dict: LoRA state dict to load m
utils/lora_utils.py:87
Functionload_model_as_complete
(model, target_device, unload=True)
utils/memory.py:138
Methodload_state_dict
Restore buckets from a serialized state. Args: state: dict produced by ``state_dict``. strict_offset: when True (defa
utils/error_buffer.py:239
Functionlog_gpu_memory
Log GPU memory usage at a given training stage.
utils/memory.py:86
Methodmaybe_warn
(folder_idx, failure_reason)
utils/dataset.py:962
Functionmove_model_to_device_with_memory_preservation
(model, target_device, preserved_memory_gb=0)
utils/memory.py:96
Functionmulti_video_collate_fn
(batch)
utils/dataset.py:1036
Methodnoop_no_sync
()
wan_5b/image2video.py:326
Methodnoop_no_sync
()
wan_5b/textimage2video.py:323
Methodnoop_no_sync
()
wan_5b/text2video.py:291
Functionoffload_model_from_device_for_memory_preservation
(model, target_device, preserved_memory_gb=0)
utils/memory.py:112
Methodoperator()
fouroversix/src/fouroversix/csrc/include/utils.h:100
Methodoperator()
fouroversix/src/fouroversix/csrc/include/utils.h:107
Methodoperator()
fouroversix/src/fouroversix/csrc/include/utils.h:115
Methodoptimize_on_modal
Optimize a model with SpinQuant on Modal.
fouroversix/scripts/ptq/evaluators/spinquant.py:123
Functionpad_freqs
(original_tensor, target_len)
wan_5b/distributed/sequence_parallel.py:12
Methodparameters_to_quantize
Return high precision parameters to be quantized and deleted.
fouroversix/src/fouroversix/model/modules/gpt_oss.py:71
Methodparameters_to_quantize
Return high precision parameters to be quantized and deleted.
fouroversix/src/fouroversix/model/modules/gpt_oss.py:202
Methodparameters_to_quantize
Return high precision parameters to be quantized and deleted.
fouroversix/src/fouroversix/model/modules/linear.py:219
Methodparameters_to_quantize
Return high precision parameters to be quantized and deleted.
fouroversix/src/fouroversix/model/modules/linear_ori.py:183
Methodparameters_to_quantize
Return high precision parameters to be quantized and deleted.
fouroversix/src/fouroversix/model/modules/qwen.py:145
Functionprepare_dataset
(path: str, name: str)
fouroversix/scripts/train/prepare_dataset.py:14
Functionprepare_single_prompt_inputs
Create the per-block prompt list and latent noise for one text prompt.
utils/inference_utils.py:265
Functionprocess_results
(doc, results)
fouroversix/scripts/ptq/tasks/wikitext_train/preprocess_wikitext.py:39
Functionprocess_vision_info
( conversations: list[dict] | list[list[dict]], )
wan_5b/utils/qwen_vl_utils.py:344
Functionprofile_sp_communication
()
wan_5b/distributed/sp_ulysses_inference.py:177
Methodqkv_fn
(x)
wan_5b/modules/causal_model.py:362
Methodqkv_fn
(x)
wan_5b/modules/model.py:150
Functionquantize_kv
(k: torch.Tensor, v: torch.Tensor)
utils/quant.py:800
Methodquantize_model
Quantize a model using SmoothQuant.
fouroversix/scripts/ptq/evaluators/smoothquant.py:168
Methodquantize_model
Export a quantized model with SpinQuant.
fouroversix/scripts/ptq/evaluators/spinquant.py:142
Methodquantize_model
Return a model without any quantization.
fouroversix/scripts/ptq/evaluators/high_precision.py:30
Methodquantize_model
Quantize a model using round-to-nearest quantization.
fouroversix/scripts/ptq/evaluators/rtn.py:35
Methodquantize_model
Quantize a model with GPTQ.
fouroversix/scripts/ptq/evaluators/gptq.py:43
Methodquantize_model
Quantize a model using AWQ.
fouroversix/scripts/ptq/evaluators/awq.py:69
← previousnext →801–900 of 963, ranked by callers