Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVlabs/LongLive
/ functions
Functions
963 in github.com/NVlabs/LongLive
⨍
Functions
963
◇
Types & classes
175
↳
Endpoints
2
Function
gemm_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
Function
gemm_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
Function
gemm_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
Function
gemm_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
Function
gemm_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
Function
gemm_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
Function
gemm_rs
fouroversix/src/fouroversix/csrc/include/utils.h:194
Method
generate
r""" Generates video frames from input image and text prompt using diffusion process. Args: input_prompt (`str`):
wan_5b/image2video.py:206
Method
generate
r""" Generates video frames from text prompt using diffusion process. Args: input_prompt (`str`): Text pr
wan_5b/textimage2video.py:162
Method
generate_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
Method
generator_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
Method
get_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
Method
get_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
Function
get_compute_capability
fouroversix/src/fouroversix/csrc/include/hardware_info.h:30
Function
get_current_device
fouroversix/src/fouroversix/csrc/include/hardware_info.h:24
Method
get_element_size
Get the size of a single element, in bytes, for a parameter.
fouroversix/src/fouroversix/model/modules/gpt_oss.py:75
Method
get_element_size
Get the size of a single element, in bytes, for a parameter.
fouroversix/src/fouroversix/model/modules/linear.py:223
Method
get_element_size
Get the size of a single element, in bytes, for a parameter.
fouroversix/src/fouroversix/model/modules/linear_ori.py:187
Method
get_element_size
Get the size of a single element, in bytes, for a parameter.
fouroversix/src/fouroversix/model/modules/qwen.py:149
Function
get_fp4_quant_template
( is_nvfp4: str, is_rht: str, is_transpose: str, src_dtype: str, )
fouroversix/scripts/generate_kernels.py:20
Function
get_num_sm
fouroversix/src/fouroversix/csrc/include/hardware_info.h:37
Method
get_numeric_key
(path)
utils/dataset.py:433
Method
get_packing_factor
Get the packing factor for a parameter.
fouroversix/src/fouroversix/model/modules/gpt_oss.py:206
Method
get_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
Method
get_quantized_parameters
Get the quantized parameters for the layer.
fouroversix/src/fouroversix/model/modules/linear.py:233
Method
get_quantized_parameters
Get the quantized parameters for the layer.
fouroversix/src/fouroversix/model/modules/linear_ori.py:197
Method
get_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
Function
get_sequence_parallel_group
()
wan_5b/distributed/sp_training.py:82
Function
get_sp_comm_stats
()
wan_5b/distributed/sp_ulysses_inference.py:90
Method
get_weight_conversions
Return weight conversions for the gpt oss model.
fouroversix/src/fouroversix/weight_conversions/gpt_oss.py:76
Method
group_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
Method
hacked_get_attr
(self, name: str)
utils/memory.py:19
Function
hadamard_quant_group
fouroversix/src/fouroversix/csrc/include/hadamard_transform.h:46
Function
hadamard_quant_group_16
fouroversix/src/fouroversix/csrc/include/hadamard_transform.h:17
Function
hadamard_quant_group_32
fouroversix/src/fouroversix/csrc/include/hadamard_transform.h:40
Method
half_t>
fouroversix/src/fouroversix/csrc/include/utils.h:38
Method
has_pos
Whether ANY owned timestep bucket at ``block_pos`` has samples (2D only).
utils/error_buffer.py:201
Function
init_distributed_group
Initialize the default distributed group when it is not yet ready.
wan_5b/distributed/util.py:26
Method
init_weight
(self, conv)
wan_5b/modules/vae2_2.py:170
Method
init_weight
(self, conv)
wan_5b/modules/vae2_1.py:159
Method
init_weight2
(self, conv)
wan_5b/modules/vae2_2.py:181
Method
init_weight2
(self, conv)
wan_5b/modules/vae2_1.py:170
Function
init_weights
(m)
wan_5b/modules/t5.py:27
Method
inject_context_error
(clean_latent_aug, index, batch_size, num_frame)
tests/test_i2v_teacher_forcing_context.py:164
Method
inner_wrapper
( wrapped_cls: type[nn.Module], )
fouroversix/src/fouroversix/model/quantize.py:89
Method
inner_wrapper
( wrapped_cls: type, )
fouroversix/src/fouroversix/weight_conversions/conversions.py:23
Function
install_flash_attn
()
fouroversix/scripts/resources.py:129
Function
install_fouroversix
()
fouroversix/scripts/resources.py:136
Function
install_fouroversix_non_editable
()
fouroversix/scripts/resources.py:150
Function
install_qutlass
()
fouroversix/scripts/resources.py:176
Method
is_available
Return True if the PyTorch backend is available on the current machine.
fouroversix/src/fouroversix/matmul/pytorch.py:17
Method
is_available
Return True if the CUTLASS backend is available on the current machine.
fouroversix/src/fouroversix/matmul/cutlass/backend.py:17
Method
is_available
Return True if the Transformer Engine backend is available on the current machine.
fouroversix/src/fouroversix/quantize/transformer_engine.py:20
Method
is_available
Return True if the Triton backend is available on the current machine.
fouroversix/src/fouroversix/quantize/triton/backend.py:20
Method
is_available
Return True if the PyTorch backend is available on the current machine.
fouroversix/src/fouroversix/quantize/pytorch/backend.py:18
Method
is_available
Return True if the CUDA backend is available on the current machine.
fouroversix/src/fouroversix/quantize/cuda/backend.py:19
Method
is_empty
(self)
tests/test_i2v_teacher_forcing_context.py:52
Method
is_quantized_module_type
Return True if the given module type is a quantized module.
fouroversix/src/fouroversix/model/quantize.py:22
Method
is_supported
Return True if the CUTLASS backend supports the given inputs and output data type.
fouroversix/src/fouroversix/matmul/cutlass/backend.py:34
Method
is_supported
Return True if the Transformer Engine backend supports the given input and quantization configuration.
fouroversix/src/fouroversix/quantize/transformer_engine.py:40
Method
is_supported
Return True if the Triton backend supports the given input and quantization configuration.
fouroversix/src/fouroversix/quantize/triton/backend.py:28
Method
is_supported
Return True if the PyTorch backend supports the given input and quantization configuration.
fouroversix/src/fouroversix/quantize/pytorch/backend.py:23
Method
is_supported
Return True if the CUDA backend supports the given input and quantization configuration.
fouroversix/src/fouroversix/quantize/cuda/backend.py:36
Function
launch_fp4_quant
fouroversix/src/fouroversix/csrc/include/fp4_quant_launch_template.h:83
Function
launch_fp4_quant_prologue
fouroversix/src/fouroversix/csrc/include/fp4_quant_launch_template.h:55
Function
load_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
Function
load_model_as_complete
(model, target_device, unload=True)
utils/memory.py:138
Method
load_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
Function
log_gpu_memory
Log GPU memory usage at a given training stage.
utils/memory.py:86
Method
maybe_warn
(folder_idx, failure_reason)
utils/dataset.py:962
Function
move_model_to_device_with_memory_preservation
(model, target_device, preserved_memory_gb=0)
utils/memory.py:96
Function
multi_video_collate_fn
(batch)
utils/dataset.py:1036
Method
noop_no_sync
()
wan_5b/image2video.py:326
Method
noop_no_sync
()
wan_5b/textimage2video.py:323
Method
noop_no_sync
()
wan_5b/text2video.py:291
Function
offload_model_from_device_for_memory_preservation
(model, target_device, preserved_memory_gb=0)
utils/memory.py:112
Method
operator()
fouroversix/src/fouroversix/csrc/include/utils.h:100
Method
operator()
fouroversix/src/fouroversix/csrc/include/utils.h:107
Method
operator()
fouroversix/src/fouroversix/csrc/include/utils.h:115
Method
optimize_on_modal
Optimize a model with SpinQuant on Modal.
fouroversix/scripts/ptq/evaluators/spinquant.py:123
Function
pad_freqs
(original_tensor, target_len)
wan_5b/distributed/sequence_parallel.py:12
Method
parameters_to_quantize
Return high precision parameters to be quantized and deleted.
fouroversix/src/fouroversix/model/modules/gpt_oss.py:71
Method
parameters_to_quantize
Return high precision parameters to be quantized and deleted.
fouroversix/src/fouroversix/model/modules/gpt_oss.py:202
Method
parameters_to_quantize
Return high precision parameters to be quantized and deleted.
fouroversix/src/fouroversix/model/modules/linear.py:219
Method
parameters_to_quantize
Return high precision parameters to be quantized and deleted.
fouroversix/src/fouroversix/model/modules/linear_ori.py:183
Method
parameters_to_quantize
Return high precision parameters to be quantized and deleted.
fouroversix/src/fouroversix/model/modules/qwen.py:145
Function
prepare_dataset
(path: str, name: str)
fouroversix/scripts/train/prepare_dataset.py:14
Function
prepare_single_prompt_inputs
Create the per-block prompt list and latent noise for one text prompt.
utils/inference_utils.py:265
Function
process_results
(doc, results)
fouroversix/scripts/ptq/tasks/wikitext_train/preprocess_wikitext.py:39
Function
process_vision_info
( conversations: list[dict] | list[list[dict]], )
wan_5b/utils/qwen_vl_utils.py:344
Function
profile_sp_communication
()
wan_5b/distributed/sp_ulysses_inference.py:177
Method
qkv_fn
(x)
wan_5b/modules/causal_model.py:362
Method
qkv_fn
(x)
wan_5b/modules/model.py:150
Function
quantize_kv
(k: torch.Tensor, v: torch.Tensor)
utils/quant.py:800
Method
quantize_model
Quantize a model using SmoothQuant.
fouroversix/scripts/ptq/evaluators/smoothquant.py:168
Method
quantize_model
Export a quantized model with SpinQuant.
fouroversix/scripts/ptq/evaluators/spinquant.py:142
Method
quantize_model
Return a model without any quantization.
fouroversix/scripts/ptq/evaluators/high_precision.py:30
Method
quantize_model
Quantize a model using round-to-nearest quantization.
fouroversix/scripts/ptq/evaluators/rtn.py:35
Method
quantize_model
Quantize a model with GPTQ.
fouroversix/scripts/ptq/evaluators/gptq.py:43
Method
quantize_model
Quantize a model using AWQ.
fouroversix/scripts/ptq/evaluators/awq.py:69
← previous
next →
801–900 of 963, ranked by callers