Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ModelTC/LightX2V
/ functions
Functions
8,429 in github.com/ModelTC/LightX2V
⨍
Functions
8,429
◇
Types & classes
1,399
↳
Endpoints
30
↓ 1 callers
Function
sinusoidal_embedding_1d
(dim, position)
lightx2v/models/networks/motus/primitives.py:4
↓ 1 callers
Method
sinusoidal_embedding_1d_wan
(dim, position)
lightx2v/models/networks/wan/infer/s2v/pre_infer.py:43
↓ 1 callers
Function
slerp_quaternions
Spherical linear interpolation between quaternions.
lightx2v/models/networks/worldmirror/utils/render_utils.py:81
↓ 1 callers
Function
slice_at_dim
(t, dim_slice: slice, *, dim)
lightx2v/models/networks/seedvr/utils/rotary_embedding_torch.py:31
↓ 1 callers
Function
slice_prefixed_state_dict
(weight_dict, prefix)
lightx2v/models/networks/wan/weights/motus/_shared.py:11
↓ 1 callers
Method
slicing_forward
( self, input: Union[Tensor, List[Tensor]], memory_state: MemoryState = MemoryState.UN
lightx2v/models/video_encoders/hf/seedvr/causal_inflation_lib.py:175
↓ 1 callers
Function
sliding_window_nd
Create sliding windows along multiple dimensions of the input array. This function applies sliding_window_1d sequentially along multiple axe
lightx2v/models/networks/worldmirror/utils/geometry.py:169
↓ 1 callers
Function
smart_load_model
( model_path, subfolder, use_safetensors, variant, )
lightx2v/models/networks/hunyuan3d/utils/__init__.py:72
↓ 1 callers
Function
sort_model_choices
根据设备能力和模型类型对模型列表排序 排序规则: - 如果设备支持 fp8:fp8+split > int8+split > fp8 > int8 > 其他 - 如果设备不支持 fp8:int8+split > int8 > 其他
app/utils/model_utils.py:397
↓ 1 callers
Function
sparsity_to_width
(sparsity, context_length, num_frame, frame_size)
lightx2v/common/ops/attn/svg_attn.py:248
↓ 1 callers
Function
split_block_weights
(weights)
lightx2v/models/input_encoders/hf/wan/t5/model.py:760
↓ 1 callers
Function
split_freqs_cis
(freqs: torch.Tensor, pad_size: int, num_attention_heads: int)
lightx2v/models/networks/ltx2/infer/utils.py:189
↓ 1 callers
Function
split_freqs_cis
(freqs: torch.Tensor, pad_size: int, num_attention_heads: int)
lightx2v/models/input_encoders/hf/ltx2/gemma/rope.py:132
↓ 1 callers
Function
split_in_temporal
(size: int, overlap: int)
lightx2v/models/video_encoders/hf/ltx2/video_vae/video_vae.py:960
↓ 1 callers
Function
split_quotation
Split text by quotation marks, marking quoted sections for character-level tokenization. For text in quotes, each character will be tokenized sep
lightx2v/models/input_encoders/hf/longcat/longcat_text_encoder.py:40
↓ 1 callers
Function
standardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
lightx2v/models/networks/worldmirror/models/utils/rotation.py:109
↓ 1 callers
Method
start
(self, width: int, height: int)
lightx2v/utils/video_recorder.py:250
↓ 1 callers
Method
start_distributed_inference
(self, args)
lightx2v/server/services/inference/service.py:14
↓ 1 callers
Method
start_ffmpeg_process_local
Start ffmpeg process that connects to our TCP sockets
lightx2v/utils/video_recorder.py:99
↓ 1 callers
Method
start_ffmpeg_process_local
Start ffmpeg process that connects to our TCP sockets
lightx2v/utils/va_recorder.py:166
↓ 1 callers
Method
start_ffmpeg_process_rtmp
Start ffmpeg process that connects to our TCP sockets
lightx2v/utils/video_recorder.py:155
↓ 1 callers
Method
start_ffmpeg_process_rtmp
Start ffmpeg process read audio from stream
lightx2v/utils/va_reader.py:72
↓ 1 callers
Method
start_ffmpeg_process_rtmp
Start ffmpeg process that connects to our TCP sockets
lightx2v/utils/va_recorder.py:230
↓ 1 callers
Method
start_ffmpeg_process_whep
Start gstream process read audio from stream
lightx2v/utils/va_reader.py:97
↓ 1 callers
Method
start_ffmpeg_process_whip
Start ffmpeg process that connects to our TCP sockets
lightx2v/utils/video_recorder.py:196
↓ 1 callers
Method
start_ffmpeg_process_whip
Start ffmpeg process that connects to our TCP sockets
lightx2v/utils/va_recorder.py:282
↓ 1 callers
Method
start_http_server
(self)
lightx2v_ros/src/visualization/visualization/image_web_viewer_node/main.py:85
↓ 1 callers
Method
start_libx264_whip_shared_api
(self, width: int, height: int)
lightx2v/utils/va_recorder_x264.py:96
↓ 1 callers
Method
start_phase1_encode_thread
(self, room: int)
lightx2v/disagg/conn.py:352
↓ 1 callers
Method
start_phase1_transformer_thread
(self, room: int)
lightx2v/disagg/conn.py:404
↓ 1 callers
Method
start_phase2_decode_thread
(self, room: int)
lightx2v/disagg/conn.py:479
↓ 1 callers
Method
start_phase2_transformer_thread
(self, room: int)
lightx2v/disagg/conn.py:427
↓ 1 callers
Method
start_server
(self)
lightx2v/server/metrics/metrics.py:421
↓ 1 callers
Method
start_task
(self, task_id: str)
lightx2v/server/task_manager.py:94
↓ 1 callers
Method
step
Predict the sample from the previous timestep by reversing the SDE. This function propagates the diffusion process from the learned m
lightx2v/models/schedulers/hunyuan3d/flow_match_euler.py:243
↓ 1 callers
Method
step
Predict the sample from the previous timestep by reversing the SDE. This function propagates the sample with the multistep UniPC.
lightx2v/models/schedulers/hidream_o1_image/fm_solvers_unipc.py:611
↓ 1 callers
Method
step
Predict the sample from the previous timestep by reversing the SDE. This function propagates the sample with the multistep UniPC.
lightx2v/models/schedulers/wan/s2v/fm_solvers_unipc.py:615
↓ 1 callers
Method
step
(self, model_output, timestep, sample)
lightx2v/models/schedulers/wan/audio/scheduler.py:191
↓ 1 callers
Method
step
(self, model_output, timestep, sample, return_dict=False)
lightx2v/models/schedulers/wan/lingbot_va/scheduler.py:99
↓ 1 callers
Method
step
(self, action)
lightx2v_ros/src/simulator/simulator/libero_node/observer.py:93
↓ 1 callers
Method
step
Predict the sample from the previous timestep by reversing the SDE. This function propagates the sample with the multistep UniPC.
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/fm_solvers_unipc.py:611
↓ 1 callers
Function
step1_merge_via_lora
Merge R2V + distillation model via LoRA.
tools/convert/seko_talk_converter.py:215
↓ 1 callers
Function
step2_convert_merged_to_bf16
Convert merged.safetensors (FP32) to BF16.
tools/convert/seko_talk_converter.py:220
↓ 1 callers
Function
step3_convert_merged_to_fp8
Convert merged.safetensors (FP32) to FP8 using converter.py --quantized.
tools/convert/seko_talk_converter.py:225
↓ 1 callers
Function
step4_convert_audio_adapter_to_bf16
Convert audio adapter to BF16.
tools/convert/seko_talk_converter.py:256
↓ 1 callers
Function
step5_convert_audio_adapter_to_fp8
Step 5: Convert audio adapter BF16 to FP8 using quant_adapter.py.
tools/convert/seko_talk_converter.py:261
↓ 1 callers
Function
step_audio_merge_lora
Merge audio adapter + LoRA using converter.py.
tools/convert/seko_talk_converter.py:251
↓ 1 callers
Method
step_post_upsample
(self)
lightx2v/models/schedulers/wan/changing_resolution/scheduler.py:69
↓ 1 callers
Method
step_pre
(self, step_index)
lightx2v/models/schedulers/scheduler.py:24
↓ 1 callers
Method
step_pre_ref
(self, step_index, ref_frames)
lightx2v/models/schedulers/wan/audio/scheduler.py:224
↓ 1 callers
Method
stop
(self)
lightx2v/utils/va_reader_omni.py:551
↓ 1 callers
Method
stretch_shift_to_terminal
(self, t)
lightx2v/models/schedulers/cosmos3/scheduler.py:218
↓ 1 callers
Function
submit_t2i_task
( base_url: str, prompt: str, negative_prompt: str, infer_steps: int, seed: int, aspec
scripts/server/post_async_t2i_and_wait.py:9
↓ 1 callers
Function
submit_task
(args)
scripts/server/post_seko_talk_ar.py:22
↓ 1 callers
Method
switch_lora
(self, lora_name: str, lora_strength: float)
lightx2v/server/services/inference/worker.py:147
↓ 1 callers
Method
temporal_tiled_decode
Tiled temporal decoding for long sequence latents.
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:714
↓ 1 callers
Method
temporal_tiled_encode
Tiled temporal encoding for large video sequences.
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:658
↓ 1 callers
Function
test_accuracy
(m, k, n)
lightx2v_kernel/test/mxfp6_mxfp8/test_bench3_bias.py:51
↓ 1 callers
Function
test_accuracy
(m, k, n)
lightx2v_kernel/test/mxfp6_mxfp8/test_bench.py:77
↓ 1 callers
Function
test_accuracy
(m, k, n)
lightx2v_kernel/test/mxfp8_mxfp8/test_bench3_bias.py:51
↓ 1 callers
Function
test_accuracy
(m, k, n)
lightx2v_kernel/test/mxfp8_mxfp8/test_bench.py:77
↓ 1 callers
Function
test_accuracy
(m, k, n)
lightx2v_kernel/test/mxfp4_mxfp4/test_bench3_bias.py:51
↓ 1 callers
Function
test_accuracy
(m, k, n)
lightx2v_kernel/test/mxfp4_mxfp4/test_bench.py:77
↓ 1 callers
Function
test_accuracy
(m, k, n)
lightx2v_kernel/test/nvfp4_nvfp4/test_bench3_bias.py:51
↓ 1 callers
Function
test_accuracy
(m, k, n)
lightx2v_kernel/test/nvfp4_nvfp4/test_bench2.py:82
↓ 1 callers
Function
test_cutlass_scaled_mxfp6_mxfp8_mm_sm120
()
lightx2v_kernel/test/mxfp6_mxfp8/test.py:5
↓ 1 callers
Function
test_fused_rmsnorm_modulate
测试融合 kernel 的正确性
lightx2v/models/networks/ltx2/infer/triton_ops.py:224
↓ 1 callers
Function
test_memory_bandwidth
测试函数的显存带宽
lightx2v_kernel/test/mxfp6_mxfp8/test_quant_mem_utils.py:9
↓ 1 callers
Function
test_memory_bandwidth
测试函数的显存带宽
lightx2v_kernel/test/mxfp8_mxfp8/test_quant_mem_utils.py:9
↓ 1 callers
Function
test_memory_bandwidth
测试函数的显存带宽
lightx2v_kernel/test/nvfp4_nvfp4/test_quant_mem_utils.py:12
↓ 1 callers
Function
test_nvfp4_gemm
( dtype: torch.dtype, shape: tuple[int, int], )
lightx2v_kernel/test/nvfp4_nvfp4/test_bench1.py:95
↓ 1 callers
Function
test_speed
(m, k, n)
lightx2v_kernel/test/mxfp6_mxfp8/test_bench3_bias.py:6
↓ 1 callers
Function
test_speed
(m, k, n)
lightx2v_kernel/test/mxfp6_mxfp8/test_bench.py:31
↓ 1 callers
Function
test_speed
(m, k, n)
lightx2v_kernel/test/mxfp8_mxfp8/test_bench3_bias.py:6
↓ 1 callers
Function
test_speed
(m, k, n)
lightx2v_kernel/test/mxfp8_mxfp8/test_bench.py:31
↓ 1 callers
Function
test_speed
(m, k, n)
lightx2v_kernel/test/mxfp4_mxfp4/test_bench3_bias.py:6
↓ 1 callers
Function
test_speed
(m, k, n)
lightx2v_kernel/test/mxfp4_mxfp4/test_bench.py:31
↓ 1 callers
Function
test_speed
(m, k, n)
lightx2v_kernel/test/nvfp4_nvfp4/test_bench3_bias.py:6
↓ 1 callers
Function
test_speed
(m, k, n)
lightx2v_kernel/test/nvfp4_nvfp4/test_bench2.py:36
↓ 1 callers
Function
test_tflops
测试test_mm函数的TFLOPS性能
lightx2v_kernel/test/mxfp6_mxfp8/test_mm_tflops.py:23
↓ 1 callers
Function
test_tflops
测试test_mm函数的TFLOPS性能
lightx2v_kernel/test/mxfp8_mxfp8/test_mm_tflops.py:23
↓ 1 callers
Function
test_tflops
测试test_mm函数的TFLOPS性能
lightx2v_kernel/test/nvfp4_nvfp4/test_mm_tflops.py:23
↓ 1 callers
Method
tick
(self)
lightx2v/disagg/workload.py:239
↓ 1 callers
Method
tiled_decode
(self, hidden_states, device, tile_size, tile_stride)
lightx2v/models/video_encoders/hf/wan/vae_sf.py:208
↓ 1 callers
Method
tiled_decode
r""" Decodes a latent tensor `z` by splitting it into spatial tiles only. Temporal is handled by `slicing_decode`.
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:1336
↓ 1 callers
Method
tiled_decode
Decode a latent tensor into video frames using tiled processing. Splits the latent tensor into tiles, decodes each tile individually,
lightx2v/models/video_encoders/hf/ltx2/video_vae/video_vae.py:739
↓ 1 callers
Method
tiled_encode
(self, video, device, tile_size, tile_stride)
lightx2v/models/video_encoders/hf/wan/vae_sf.py:84
↓ 1 callers
Method
tiled_encode
(self, video, device, tile_size, tile_stride)
lightx2v/models/video_encoders/hf/wan/vae_sf.py:259
↓ 1 callers
Method
tiled_encode
r""" Encodes an input tensor `x` by splitting it into spatial tiles in latent space. Temporal is handled by `slicing_encode`. `tile_si
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:1201
↓ 1 callers
Method
time_embedding
(self, weights, embed)
lightx2v/models/networks/wan/infer/lingbot_fast/pre_infer.py:28
↓ 1 callers
Method
time_projection
(self, weights, embed)
lightx2v/models/networks/wan/infer/lingbot_fast/pre_infer.py:34
↓ 1 callers
Method
time_shift
(self, mu: float, sigma: float, t: torch.Tensor)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:607
↓ 1 callers
Method
time_shift
(self, mu: float, sigma: float, t: torch.Tensor)
lightx2v/models/schedulers/hunyuan3d/flow_match_euler.py:178
↓ 1 callers
Method
time_shift
(self, mu: float, sigma: float, t: torch.Tensor)
lightx2v/models/schedulers/hidream_o1_image/fm_solvers_unipc.py:251
↓ 1 callers
Method
time_shift
(self, mu: float, sigma: float, t: torch.Tensor)
lightx2v/models/schedulers/wan/s2v/fm_solvers_unipc.py:255
↓ 1 callers
Method
time_shift
(mu, sigma, t)
lightx2v/models/schedulers/wan/dreamzero/scheduler.py:88
↓ 1 callers
Method
time_shift
(self, mu, sigma, t)
lightx2v/models/schedulers/cosmos3/scheduler.py:211
↓ 1 callers
Method
time_shift
(self, mu: float, sigma: float, t: torch.Tensor)
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/fm_solvers.py:300
↓ 1 callers
Method
time_shift
(self, mu: float, sigma: float, t: torch.Tensor)
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/fm_solvers_unipc.py:251
↓ 1 callers
Function
time_shift_linear
Linear time shift: mu / (mu + (1/t - 1)), matching zoe-diffusion's implementation.
lightx2v/models/schedulers/qwen_image/scheduler.py:41
← previous
next →
4,601–4,700 of 8,429, ranked by callers