Lightweight Image Video Action Generation Inference Framework
This report presents the forensic synthetic code analysis of ModelTC/LightX2V, a Python project with 2,492 GitHub stars. SynthScan v2.0 examined 296,486 lines of code across 2275 source files, recording 3301 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 16.9 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 3301 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/preprocess/dwpose_onnx.py | 28 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/preprocess/dwpose_onnx.py | 30 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/preprocess/dwpose_onnx.py | 143 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/preprocess/dwpose_onnx.py | 145 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/preprocess/dwpose_onnx.py | 253 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/preprocess/dwpose_onnx.py | 255 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/preprocess/dwpose_onnx.py | 411 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/preprocess/dwpose_onnx.py | 413 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | lightx2v_platform/ops/attn/intel_xpu/xpu_flash_attn.py | 96 | # ── normalise 4-D input [B, S, H, D] → [B*S, H, D] ────────────────── | COMMENT |
| MEDIUM | lightx2v_platform/ops/attn/intel_xpu/xpu_flash_attn.py | 109 | # ── fast single-sequence path ───────────────────────────────────── | COMMENT |
| MEDIUM | lightx2v_platform/ops/attn/intel_xpu/xpu_flash_attn.py | 116 | # ── varlen path: one SDPA call per sequence in the batch ────────────── | COMMENT |
| MEDIUM | lightx2v_platform/ops/mm/template.py | 69 | # ========================= | COMMENT |
| MEDIUM | lightx2v_platform/ops/mm/template.py | 71 | # ========================= | COMMENT |
| MEDIUM | lightx2v_platform/ops/mm/template.py | 357 | # ========================= | COMMENT |
| MEDIUM | lightx2v_platform/ops/mm/template.py | 359 | # ========================= | COMMENT |
| MEDIUM | …x2v/models/video_encoders/hf/ltx2/audio_vae/vocoder.py | 23 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …x2v/models/video_encoders/hf/ltx2/audio_vae/vocoder.py | 26 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lightx2v/models/networks/worldmirror/model.py | 732 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | lightx2v/models/networks/worldmirror/model.py | 736 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | lightx2v/models/networks/worldmirror/model.py | 1006 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | lightx2v/models/networks/worldmirror/model.py | 1009 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | lightx2v/models/networks/worldmirror/model.py | 1019 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | lightx2v/models/networks/worldmirror/model.py | 1021 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 36 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 40 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 170 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 173 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 203 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 205 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 301 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 304 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 352 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 354 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 389 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 391 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 482 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 493 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 581 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 583 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 981 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | lightx2v/models/networks/worldmirror/model.py | 983 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ls/networks/worldmirror/weights/transformer_weights.py | 421 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ls/networks/worldmirror/weights/transformer_weights.py | 427 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ls/networks/worldmirror/weights/transformer_weights.py | 461 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ls/networks/worldmirror/weights/transformer_weights.py | 468 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ls/networks/worldmirror/weights/transformer_weights.py | 495 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ls/networks/worldmirror/weights/transformer_weights.py | 497 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …v/models/networks/worldmirror/utils/inference_utils.py | 183 | # ============================================================ | COMMENT |
| MEDIUM⚡ | …v/models/networks/worldmirror/utils/inference_utils.py | 185 | # ============================================================ | COMMENT |
| MEDIUM | …v/models/networks/worldmirror/utils/inference_utils.py | 37 | # ============================================================ | COMMENT |
| MEDIUM | …v/models/networks/worldmirror/utils/inference_utils.py | 39 | # ============================================================ | COMMENT |
| MEDIUM | …v/models/networks/worldmirror/utils/inference_utils.py | 118 | # ============================================================ | COMMENT |
| MEDIUM | …v/models/networks/worldmirror/utils/inference_utils.py | 120 | # ============================================================ | COMMENT |
| MEDIUM | …v/models/networks/worldmirror/utils/inference_utils.py | 341 | # ============================================================ | COMMENT |
| MEDIUM | …v/models/networks/worldmirror/utils/inference_utils.py | 343 | # ============================================================ | COMMENT |
| MEDIUM | …v/models/networks/worldmirror/utils/inference_utils.py | 528 | # ============================================================ | COMMENT |
| MEDIUM | …v/models/networks/worldmirror/utils/inference_utils.py | 530 | # ============================================================ | COMMENT |
| MEDIUM | …v/models/networks/worldmirror/utils/inference_utils.py | 810 | # ============================================================ | COMMENT |
| MEDIUM | …v/models/networks/worldmirror/utils/inference_utils.py | 812 | # ============================================================ | COMMENT |
| MEDIUM | lightx2v/models/networks/bagel/modeling_utils.py | 20 | # -------------------------------------------------------- | COMMENT |
| 306 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/preprocess/retarget_pose.py | 357 | def fix_lack_keypoints_use_sym(skeleton): | CODE |
| LOW | tools/preprocess/process_pipepline.py | 72 | def _get_valid_body_keypoint_mask(cls, pose_meta, keypoint_indices=None): | CODE |
| LOW | tools/preprocess/process_pipepline.py | 90 | def _count_valid_body_keypoints(cls, pose_meta): | CODE |
| LOW | tools/preprocess/process_pipepline.py | 105 | def _trim_tail_invalid_frames(frames, pose_metas, pose_valid_flags, mode_name): | CODE |
| LOW | tools/preprocess/utils.py | 27 | def skip_replace_frame_outputs(frame): | CODE |
| LOW | tools/preprocess/pose2d_utils.py | 740 | def keypoints_from_regression(regression_preds, center, scale, img_size): | CODE |
| LOW | tools/preprocess/pose2d_utils.py | 932 | def multilabel_classification_accuracy(pred, gt, mask, thr=0.5): | CODE |
| LOW | tools/profile/analyze_torch_trace_gap.py | 127 | def _collect_gpu_activity_intervals(events: Iterable[dict]) -> list[Interval]: | CODE |
| LOW | tools/extract/lora_merger.py | 350 | def _find_source_key_from_diff(diff_key: str, source_weights: Dict[str, torch.Tensor]) -> Optional[str]: | CODE |
| LOW | tools/postprocess/postprocess_paint.py | 10 | def get_postprocess_paint_parser(): | CODE |
| LOW | tools/postprocess/torchvision_fix.py | 7 | def fix_torchvision_functional_tensor(): | CODE |
| LOW | tools/postprocess/paint_pipeline.py | 39 | def _load_texture_gen_pipeline_module(hy3dpaint_root: str) -> ModuleType: | CODE |
| LOW | tools/postprocess/paint_pipeline.py | 59 | def resolve_paint_output_paths(save_path: str) -> tuple[str, str]: | CODE |
| LOW | tools/postprocess/paint_pipeline.py | 69 | def _resolve_local_paint_hf_root(model_path: str) -> str: | CODE |
| LOW | tools/convert/export_dummy_meta.py | 43 | def write_dummy_meta_safetensors(tensor_meta: dict, output_path: str, source_filename: str = ""): | CODE |
| LOW | tools/convert/seko_talk_converter.py | 132 | def checkpoint_to_safetensors(ckpt_path: Path, output_path: Path, description: str = ""): | CODE |
| LOW | app/utils/model_utils.py | 458 | def is_distill_model_from_name(model_name): | CODE |
| LOW | app/utils/video_page.py | 442 | def update_image_path_and_gallery(files): | CODE |
| LOW | app/utils/model_choices.py | 23 | def _filter_and_format_models(hf_models, model_path, is_valid_func, require_safetensors=True, additional_filters=None): | CODE |
| LOW | app/utils/model_choices.py | 209 | def get_clip_tokenizer_choices(model_path): | CODE |
| LOW | app/utils/model_choices.py | 230 | def get_qwen_image_dit_choices(model_path): | CODE |
| LOW | app/utils/model_choices.py | 285 | def get_qwen_image_vae_choices(model_path): | CODE |
| LOW | app/utils/model_choices.py | 321 | def get_qwen_image_scheduler_choices(model_path): | CODE |
| LOW | app/utils/model_choices.py | 507 | def get_z_image_turbo_dit_choices(model_path): | CODE |
| LOW | app/utils/model_choices.py | 562 | def get_z_image_turbo_vae_choices(model_path): | CODE |
| LOW | app/utils/model_choices.py | 598 | def get_z_image_turbo_scheduler_choices(model_path): | CODE |
| LOW | app/utils/image_page.py | 308 | def update_image_path_and_gallery(files): | CODE |
| LOW | app/utils/image_page.py | 362 | def on_model_type_change_for_defaults(model_type_val): | CODE |
| LOW | app/utils/model_components.py | 339 | def build_qwen_image_components(model_path, model_path_input, download_source_input, model_type_input, lang="zh"): | CODE |
| LOW | app/utils/model_components.py | 369 | def get_scheduler_choices_func(model_path_val): | CODE |
| LOW | app/utils/model_components.py | 381 | def get_initial_download_btn_visibility(choices, model_path_val, model_type_val, base_category): | CODE |
| LOW | app/utils/model_components.py | 506 | def update_choices_on_model_type_change(model_type_val, model_path_val): | CODE |
| LOW | app/utils/model_components.py | 550 | def download_qwen_image_scheduler(model_path_val, model_name, download_source_val, progress=gr.Progress()): | CODE |
| LOW | app/utils/model_components.py | 645 | def build_z_image_turbo_components(model_path, model_path_input, download_source_input, model_type_input, lang="zh"): | CODE |
| LOW⚡ | app/utils/model_components.py | 780 | def download_z_image_turbo_dit(model_path_val, model_name, download_source_val, progress=gr.Progress()): | CODE |
| LOW⚡ | app/utils/model_components.py | 783 | def download_z_image_turbo_vae(model_path_val, model_name, download_source_val, progress=gr.Progress()): | CODE |
| LOW⚡ | app/utils/model_components.py | 786 | def download_z_image_turbo_scheduler(model_path_val, model_name, download_source_val, progress=gr.Progress()): | CODE |
| LOW | app/utils/model_handlers.py | 541 | def download_tokenizer_handler(model_path_val, tokenizer_type, download_source_val, progress=gr.Progress()): | CODE |
| LOW | app/utils/model_handlers.py | 566 | def create_update_status_wrappers(): | CODE |
| LOW⚡ | app/utils/model_handlers.py | 585 | def update_clip_tokenizer_status(model_path_val): | CODE |
| LOW⚡ | app/utils/model_handlers.py | 591 | def update_vae_encoder_status(model_path_val, model_name): | CODE |
| LOW⚡ | app/utils/model_handlers.py | 594 | def update_vae_decoder_status(model_path_val, model_name): | CODE |
| LOW⚡ | app/utils/model_handlers.py | 603 | def update_qwen_image_dit_status(model_path_val, model_name): | CODE |
| LOW⚡ | app/utils/model_handlers.py | 606 | def update_qwen_image_vae_status(model_path_val, model_name): | CODE |
| LOW⚡ | app/utils/model_handlers.py | 609 | def update_qwen_image_scheduler_status(model_path_val, model_name): | CODE |
| LOW | app/utils/model_handlers.py | 676 | def download_high_noise_model(model_path_val, model_name, task_type_val, download_source_val, progress=gr.Progress() | CODE |
| LOW | app/utils/model_handlers.py | 706 | def download_qwen_image_scheduler(model_path_val, model_name, download_source_val, progress=gr.Progress()): | CODE |
| LOW | lightx2v_platform/ops/norm/norm_template.py | 136 | def load_state_dict_from_disk(self, block_index, adapter_block_index=None): | CODE |
| LOW | lightx2v_platform/ops/norm/norm_template.py | 290 | def load_state_dict_from_disk(self, block_index, adapter_block_index=None): | CODE |
| LOW | lightx2v_platform/ops/mm/template.py | 443 | def load_state_dict_from_disk(self, block_index, adapter_block_index=None): | CODE |
| LOW | test_cases/test_wan_mxfp8_fuse_forwarding.py | 85 | def test_offload_phase_two_forwards_c_gate_msa(self): | CODE |
| LOW | test_cases/test_wan_mxfp8_fuse_forwarding.py | 112 | def test_self_forcing_forwards_c_gate_msa(self): | CODE |
| LOW | test_cases/test_wan_mxfp8_fuse_forwarding.py | 143 | def test_lingbot_forwards_c_gate_msa(self): | CODE |
| LOW | test_cases/test_wan_mxfp8_fuse_forwarding.py | 173 | def test_audio_forwards_c_gate_msa(self): | CODE |
| LOW | test_cases/test_wan_mxfp8_fuse_forwarding.py | 205 | def test_feature_caching_variants_forward_c_gate_msa(self): | CODE |
| LOW | test_cases/test_wan_feature_cache_cfg_state.py | 12 | def test_first_block_reads_cfg_state_from_scheduler(self): | CODE |
| LOW⚡ | test_cases/test_bagel_t2i_support.py | 89 | def test_default_aspect_ratio(self): | CODE |
| LOW⚡ | test_cases/test_bagel_t2i_support.py | 92 | def test_official_aspect_ratios(self): | CODE |
| LOW⚡ | test_cases/test_bagel_t2i_support.py | 98 | def test_target_shape_overrides_aspect_ratio(self): | CODE |
| LOW⚡ | test_cases/test_bagel_t2i_support.py | 102 | def test_invalid_target_shape_raises(self): | CODE |
| 779 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/preprocess/dwpose_onnx.py | 13 | CODE | |
| LOW | tools/preprocess/sam_utils.py | 13 | CODE | |
| LOW | tools/preprocess/__init__.py | 2 | CODE | |
| LOW | tools/preprocess/__init__.py | 3 | CODE | |
| LOW | tools/profile/analyze_torch_trace_gap.py | 24 | CODE | |
| LOW | tools/postprocess/torchvision_fix.py | 9 | CODE | |
| LOW | tools/postprocess/paint_pipeline.py | 3 | CODE | |
| LOW | tools/convert/quant_adapter.py | 15 | CODE | |
| LOW | tools/convert/converter.py | 25 | CODE | |
| LOW | tools/convert/quant/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/set_ai_device.py | 5 | CODE | |
| LOW | lightx2v_platform/set_ai_device.py | 52 | CODE | |
| LOW | lightx2v_platform/test/test_device.py | 8 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 3 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 7 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 8 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 9 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 11 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 12 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 14 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 16 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 17 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 18 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 19 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 21 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 23 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 24 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 25 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 27 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 28 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 30 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 31 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 32 | CODE | |
| LOW | lightx2v_platform/ops/__init__.py | 33 | CODE | |
| LOW | lightx2v_platform/ops/rope/ascend_npu/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/rope/iluvatar_cuda/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/rope/enflame_gcu/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/norm/ascend_npu/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/norm/ascend_npu/__init__.py | 2 | CODE | |
| LOW | lightx2v_platform/ops/norm/cambricon_mlu/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/norm/iluvatar_cuda/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/norm/enflame_gcu/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/attn/intel_xpu/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/attn/amd_rocm/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/attn/metax_cuda/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/attn/hygon_dcu/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/attn/ascend_npu/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/attn/ascend_npu/__init__.py | 2 | CODE | |
| LOW | lightx2v_platform/ops/attn/cambricon_mlu/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/attn/cambricon_mlu/__init__.py | 2 | CODE | |
| LOW | lightx2v_platform/ops/attn/iluvatar_cuda/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/attn/enflame_gcu/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/mm/intel_xpu/__init__.py | 6 | CODE | |
| LOW | lightx2v_platform/ops/mm/intel_xpu/__init__.py | 7 | CODE | |
| LOW | lightx2v_platform/ops/mm/intel_xpu/__init__.py | 7 | CODE | |
| LOW | lightx2v_platform/ops/mm/intel_xpu/__init__.py | 10 | CODE | |
| LOW | lightx2v_platform/ops/mm/hygon_dcu/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/mm/ascend_npu/__init__.py | 1 | CODE | |
| LOW | lightx2v_platform/ops/mm/cambricon_mlu/__init__.py | 1 | CODE | |
| 642 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | README.md | 0 | wan2.2 distilled model with lora image-to-video generation example. this example demonstrates how to use lightx2v with w | STRING |
| HIGH | README_zh.md | 0 | wan2.2 distilled model with lora image-to-video generation example. this example demonstrates how to use lightx2v with w | STRING |
| HIGH | examples/wan/wan_i2v.py | 0 | wan2.2 distilled model with lora image-to-video generation example. this example demonstrates how to use lightx2v with w | STRING |
| HIGH | examples/wan/wan_i2v_distilled.py | 0 | wan2.2 distilled model with lora image-to-video generation example. this example demonstrates how to use lightx2v with w | STRING |
| HIGH | examples/wan/wan_i2v_nvfp4.py | 0 | wan2.2 distilled model with lora image-to-video generation example. this example demonstrates how to use lightx2v with w | STRING |
| HIGH | examples/wan/wan_i2v_with_distill_loras.py | 0 | wan2.2 distilled model with lora image-to-video generation example. this example demonstrates how to use lightx2v with w | STRING |
| HIGH | lightx2v/utils/ltx2_utils.py | 0 | protocol for model loader classes that instantiates models from a configuration dictionary. | STRING |
| HIGH | …htx2v/models/video_encoders/hf/ltx2/upsampler/model.py | 0 | protocol for model loader classes that instantiates models from a configuration dictionary. | STRING |
| HIGH | lightx2v/models/input_encoders/hf/ltx2/utils.py | 0 | protocol for model loader classes that instantiates models from a configuration dictionary. | STRING |
| HIGH | …video_encoders/hf/ltx2/video_vae/timestep_embedding.py | 0 | this matches the implementation in denoising diffusion probabilistic models: create sinusoidal timestep embeddings. args | STRING |
| HIGH | lightx2v/models/networks/ltx2/infer/utils.py | 0 | this matches the implementation in denoising diffusion probabilistic models: create sinusoidal timestep embeddings. args | STRING |
| HIGH | lightx2v/models/schedulers/qwen_image/scheduler.py | 0 | this matches the implementation in denoising diffusion probabilistic models: create sinusoidal timestep embeddings. args | STRING |
| HIGH | lightx2v/models/schedulers/z_image/scheduler.py | 0 | this matches the implementation in denoising diffusion probabilistic models: create sinusoidal timestep embeddings. args | STRING |
| HIGH | lightx2v/models/video_encoders/hf/wan/vae_2_2.py | 0 | fix bfloat16 support for nearest neighbor interpolation. | STRING |
| HIGH | lightx2v/models/video_encoders/hf/wan/vae.py | 0 | fix bfloat16 support for nearest neighbor interpolation. | STRING |
| HIGH | …ain/lightx2v_train/model_zoo/native/wan/modules/vae.py | 0 | fix bfloat16 support for nearest neighbor interpolation. | STRING |
| HIGH | …/lightx2v_train/model_zoo/native/wan/modules/vae2_2.py | 0 | fix bfloat16 support for nearest neighbor interpolation. | STRING |
| HIGH | lightx2v/models/networks/bagel/model.py | 0 | create sinusoidal timestep embeddings. :param t: a 1-d tensor of n indices, one per batch element. these may be fraction | STRING |
| HIGH | lightx2v/models/networks/bagel/modeling_utils.py | 0 | create sinusoidal timestep embeddings. :param t: a 1-d tensor of n indices, one per batch element. these may be fraction | STRING |
| HIGH | lightx2v/models/networks/neopp/infer/pre_infer.py | 0 | create sinusoidal timestep embeddings. :param t: a 1-d tensor of n indices, one per batch element. these may be fraction | STRING |
| HIGH | lightx2v/models/networks/worldplay/model.py | 0 | initialize inference modules and connect action weights. | STRING |
| HIGH | lightx2v/models/networks/worldplay/ar_model.py | 0 | initialize inference modules and connect action weights. | STRING |
| HIGH | lightx2v/models/networks/worldplay/bi_model.py | 0 | initialize inference modules and connect action weights. | STRING |
| HIGH | lightx2v/models/networks/worldplay/model.py | 0 | run inference with action and camera pose conditioning. args: inputs: dict containing: - text_encoder_output: text encod | STRING |
| HIGH | lightx2v/models/networks/worldplay/ar_model.py | 0 | run inference with action and camera pose conditioning. args: inputs: dict containing: - text_encoder_output: text encod | STRING |
| HIGH | lightx2v/models/networks/worldplay/bi_model.py | 0 | run inference with action and camera pose conditioning. args: inputs: dict containing: - text_encoder_output: text encod | STRING |
| HIGH | …odels/networks/worldplay/infer/ar_transformer_infer.py | 0 | modulate with per-token scale and shift (no unsqueeze). args: x: [l, c] tensor scale: [b, l, c] or [b, c] tensor shift: | STRING |
| HIGH | …v/models/networks/worldplay/infer/transformer_infer.py | 0 | modulate with per-token scale and shift (no unsqueeze). args: x: [l, c] tensor scale: [b, l, c] or [b, c] tensor shift: | STRING |
| HIGH | …odels/networks/worldplay/infer/bi_transformer_infer.py | 0 | modulate with per-token scale and shift (no unsqueeze). args: x: [l, c] tensor scale: [b, l, c] or [b, c] tensor shift: | STRING |
| HIGH | …odels/networks/worldplay/infer/ar_transformer_infer.py | 0 | apply projective positional encoding to q, k, v. args: q: query tensor [b, l, h, d] or [b, h, l, d] k: key tensor v: val | STRING |
| HIGH | …v/models/networks/worldplay/infer/transformer_infer.py | 0 | apply projective positional encoding to q, k, v. args: q: query tensor [b, l, h, d] or [b, h, l, d] k: key tensor v: val | STRING |
| HIGH | …odels/networks/worldplay/infer/bi_transformer_infer.py | 0 | apply projective positional encoding to q, k, v. args: q: query tensor [b, l, h, d] or [b, h, l, d] k: key tensor v: val | STRING |
| HIGH | …ghtx2v/models/runners/worldplay/worldplay_ar_runner.py | 0 | load worldplay transformer with action conditioning. | STRING |
| HIGH | …ghtx2v/models/runners/worldplay/worldplay_bi_runner.py | 0 | load worldplay transformer with action conditioning. | STRING |
| HIGH | …v/models/runners/worldplay/worldplay_distill_runner.py | 0 | load worldplay transformer with action conditioning. | STRING |
| HIGH | …ghtx2v/models/runners/worldplay/worldplay_ar_runner.py | 0 | convert pose string/json to action tensors. args: pose_data: pose string (e.g., "w-3, right-0.5") or json path or dict l | STRING |
| HIGH | …ghtx2v/models/runners/worldplay/worldplay_bi_runner.py | 0 | convert pose string/json to action tensors. args: pose_data: pose string (e.g., "w-3, right-0.5") or json path or dict l | STRING |
| HIGH | …v/models/runners/worldplay/worldplay_distill_runner.py | 0 | convert pose string/json to action tensors. args: pose_data: pose string (e.g., "w-3, right-0.5") or json path or dict l | STRING |
| HIGH | lightx2v/models/schedulers/worldplay/ar_scheduler.py | 0 | initialize latents and timesteps with optional pose conditioning. args: seed: random seed for latent initialization late | STRING |
| HIGH | lightx2v/models/schedulers/worldplay/bi_scheduler.py | 0 | initialize latents and timesteps with optional pose conditioning. args: seed: random seed for latent initialization late | STRING |
| HIGH | lightx2v/models/schedulers/worldplay/scheduler.py | 0 | initialize latents and timesteps with optional pose conditioning. args: seed: random seed for latent initialization late | STRING |
| HIGH | …models/schedulers/hidream_o1_image/fm_solvers_unipc.py | 0 | `unipcmultistepscheduler` is a training-free framework designed for the fast sampling of diffusion models. this model in | STRING |
| HIGH | lightx2v/models/schedulers/wan/s2v/fm_solvers_unipc.py | 0 | `unipcmultistepscheduler` is a training-free framework designed for the fast sampling of diffusion models. this model in | STRING |
| HIGH | …v_train/model_zoo/native/wan/utils/fm_solvers_unipc.py | 0 | `unipcmultistepscheduler` is a training-free framework designed for the fast sampling of diffusion models. this model in | STRING |
| HIGH | …models/schedulers/hidream_o1_image/fm_solvers_unipc.py | 0 | the index counter for current timestep. it will increase 1 after each scheduler step. | STRING |
| HIGH | …ghtx2v/models/schedulers/hunyuan3d/flow_match_euler.py | 0 | the index counter for current timestep. it will increase 1 after each scheduler step. | STRING |
| HIGH | lightx2v/models/schedulers/wan/s2v/fm_solvers_unipc.py | 0 | the index counter for current timestep. it will increase 1 after each scheduler step. | STRING |
| HIGH | …ightx2v_train/model_zoo/native/wan/utils/fm_solvers.py | 0 | the index counter for current timestep. it will increase 1 after each scheduler step. | STRING |
| HIGH | …v_train/model_zoo/native/wan/utils/fm_solvers_unipc.py | 0 | the index counter for current timestep. it will increase 1 after each scheduler step. | STRING |
| HIGH | …models/schedulers/hidream_o1_image/fm_solvers_unipc.py | 0 | the index for the first timestep. it should be set from pipeline with `set_begin_index` method. | STRING |
| HIGH | …ghtx2v/models/schedulers/hunyuan3d/flow_match_euler.py | 0 | the index for the first timestep. it should be set from pipeline with `set_begin_index` method. | STRING |
| HIGH | lightx2v/models/schedulers/wan/s2v/fm_solvers_unipc.py | 0 | the index for the first timestep. it should be set from pipeline with `set_begin_index` method. | STRING |
| HIGH | …ightx2v_train/model_zoo/native/wan/utils/fm_solvers.py | 0 | the index for the first timestep. it should be set from pipeline with `set_begin_index` method. | STRING |
| HIGH | …v_train/model_zoo/native/wan/utils/fm_solvers_unipc.py | 0 | the index for the first timestep. it should be set from pipeline with `set_begin_index` method. | STRING |
| HIGH | …models/schedulers/hidream_o1_image/fm_solvers_unipc.py | 0 | sets the begin index for the scheduler. this function should be run from pipeline before the inference. args: begin_inde | STRING |
| HIGH | …ghtx2v/models/schedulers/hunyuan3d/flow_match_euler.py | 0 | sets the begin index for the scheduler. this function should be run from pipeline before the inference. args: begin_inde | STRING |
| HIGH | lightx2v/models/schedulers/wan/s2v/fm_solvers_unipc.py | 0 | sets the begin index for the scheduler. this function should be run from pipeline before the inference. args: begin_inde | STRING |
| HIGH | …ightx2v_train/model_zoo/native/wan/utils/fm_solvers.py | 0 | sets the begin index for the scheduler. this function should be run from pipeline before the inference. args: begin_inde | STRING |
| HIGH | …v_train/model_zoo/native/wan/utils/fm_solvers_unipc.py | 0 | sets the begin index for the scheduler. this function should be run from pipeline before the inference. args: begin_inde | STRING |
| HIGH | …models/schedulers/hidream_o1_image/fm_solvers_unipc.py | 0 | sets the discrete timesteps used for the diffusion chain (to be run before inference). args: num_inference_steps (`int`) | STRING |
| 69 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tools/download_rife.py | 93 | print("Error: flownet.pkl file not found") | CODE |
| LOW⚡ | tools/download_rife.py | 99 | except Exception as e: | CODE |
| MEDIUM⚡ | tools/download_rife.py | 100 | print(f"Error: {e}") | CODE |
| LOW⚡ | tools/download_rife.py | 111 | except Exception as e: | CODE |
| MEDIUM⚡ | tools/download_rife.py | 112 | print(f"Error deleting zip file: {e}") | CODE |
| LOW⚡ | tools/download_rife.py | 120 | except Exception as e: | CODE |
| MEDIUM⚡ | tools/download_rife.py | 121 | print(f"Error deleting directory {item}: {e}") | CODE |
| LOW⚡ | tools/download_rife.py | 128 | except Exception as e: | CODE |
| MEDIUM⚡ | tools/download_rife.py | 129 | print(f"Error deleting temp directory: {e}") | CODE |
| LOW | tools/preprocess/pose2d_utils.py | 1052 | except Exception as e: | CODE |
| LOW | tools/preprocess/ltx2.3_preprocess_data.py | 271 | except Exception: | CODE |
| LOW | tools/extract/lora_merger.py | 412 | except Exception as e: | CODE |
| MEDIUM | tools/extract/lora_merger.py | 413 | print(f"Error: {e}") | CODE |
| LOW | tools/extract/convert_lightning_to_x2v_lora.py | 267 | except Exception as e: | CODE |
| MEDIUM | tools/extract/convert_lightning_to_x2v_lora.py | 268 | print(f"Error: {e}") | CODE |
| LOW | tools/extract/convert_vigen_to_x2v_model.py | 176 | except Exception as e: | CODE |
| MEDIUM | tools/extract/convert_vigen_to_x2v_model.py | 177 | print(f"Error: {e}") | CODE |
| LOW⚡ | tools/extract/lora_extractor.py | 372 | except Exception as e: | CODE |
| MEDIUM⚡ | tools/extract/lora_extractor.py | 373 | print(f"Error: {e}") | CODE |
| MEDIUM⚡ | tools/extract/lora_extractor.py | 377 | print(f"Error: {key} is not a 2D weight tensor") | CODE |
| LOW | tools/extract/lora_extractor.py | 450 | except Exception as e: | CODE |
| MEDIUM | tools/extract/lora_extractor.py | 451 | print(f"Error: {e}") | CODE |
| LOW | tools/postprocess/torchvision_fix.py | 68 | except Exception: | CODE |
| LOW | tools/postprocess/paint_pipeline.py | 149 | except Exception as exc: | CODE |
| LOW | tools/convert/seko_talk_converter.py | 408 | except Exception as e: | CODE |
| LOW | tools/convert/converter.py | 649 | except Exception as e: | CODE |
| LOW | tools/convert/converter.py | 736 | except Exception as e: | CODE |
| LOW | app/utils/model_utils.py | 178 | except Exception as e: | CODE |
| LOW | app/utils/model_handlers.py | 534 | except Exception as e: | CODE |
| LOW | lightx2v_platform/set_ai_device.py | 27 | except Exception: # pragma: no cover - importlib.metadata is stdlib on 3.8+ | CODE |
| LOW | lightx2v_platform/set_ai_device.py | 40 | except Exception as e: | CODE |
| LOW | lightx2v_platform/base/enflame_gcu.py | 94 | except Exception: | CODE |
| LOW | lightx2v/server/task_manager.py | 318 | except Exception as e: | CODE |
| LOW | lightx2v/server/main.py | 83 | except Exception as e: | CODE |
| LOW | lightx2v/server/api/files.py | 52 | except Exception as e: | CODE |
| LOW | lightx2v/server/api/files.py | 67 | except Exception as e: | CODE |
| LOW | lightx2v/server/api/deps.py | 52 | except Exception as e: | CODE |
| LOW | lightx2v/server/api/server.py | 50 | except Exception as e: | CODE |
| LOW | lightx2v/server/api/server.py | 151 | except Exception as e: | CODE |
| LOW | lightx2v/server/api/openai_images.py | 143 | except Exception as e: | CODE |
| LOW | lightx2v/server/api/tasks/common.py | 56 | except Exception as e: | CODE |
| LOW | lightx2v/server/api/tasks/common.py | 115 | except Exception as e: | CODE |
| LOW | lightx2v/server/api/tasks/common.py | 131 | except Exception as e: | CODE |
| LOW | lightx2v/server/api/tasks/common.py | 145 | except Exception as e: | CODE |
| MEDIUM | lightx2v/server/api/tasks/common.py | 137 | def stop_all_running_tasks(): | CODE |
| LOW | lightx2v/server/api/tasks/video.py | 37 | except Exception as e: | CODE |
| LOW | lightx2v/server/api/tasks/video.py | 113 | except Exception as e: | CODE |
| LOW | lightx2v/server/api/tasks/image.py | 118 | except Exception as e: | CODE |
| LOW | lightx2v/server/api/tasks/image.py | 180 | except Exception as e: | CODE |
| LOW | lightx2v/server/api/tasks/image.py | 241 | except Exception as e: | CODE |
| LOW | lightx2v/server/services/file_service.py | 72 | except Exception as e: | CODE |
| LOW | lightx2v/server/services/file_service.py | 123 | except Exception as e: | CODE |
| LOW | lightx2v/server/services/file_service.py | 181 | except Exception as e: | CODE |
| LOW | lightx2v/server/services/distributed_utils.py | 56 | except Exception as e: | CODE |
| LOW | lightx2v/server/services/distributed_utils.py | 73 | except Exception: | CODE |
| MEDIUM | lightx2v/server/services/distributed_utils.py | 33 | def init_process_group(self) -> bool: | CODE |
| MEDIUM | lightx2v/server/services/distributed_utils.py | 70 | def _destroy(): | CODE |
| LOW | lightx2v/server/services/inference/worker.py | 64 | except Exception as e: | CODE |
| LOW | lightx2v/server/services/inference/worker.py | 104 | except Exception as e: | CODE |
| LOW | lightx2v/server/services/inference/worker.py | 176 | except Exception as e: | CODE |
| 291 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/download_rife.py | 19 | CODE | |
| LOW | tools/download_rife.py | 57 | CODE | |
| LOW | tools/preprocess/pose2d.py | 205 | CODE | |
| LOW | tools/preprocess/pose2d.py | 347 | CODE | |
| LOW | tools/preprocess/retarget_pose.py | 153 | CODE | |
| LOW | tools/preprocess/retarget_pose.py | 357 | CODE | |
| LOW | tools/preprocess/retarget_pose.py | 765 | CODE | |
| LOW | tools/preprocess/process_pipepline.py | 159 | CODE | |
| LOW | tools/preprocess/process_pipepline.py | 435 | CODE | |
| LOW | tools/preprocess/pose2d_utils.py | 10 | CODE | |
| LOW | tools/preprocess/pose2d_utils.py | 773 | CODE | |
| LOW | tools/extract/lora_merger.py | 66 | CODE | |
| LOW | tools/extract/lora_merger.py | 199 | CODE | |
| LOW | tools/extract/convert_lightning_to_x2v_lora.py | 33 | CODE | |
| LOW | tools/extract/convert_lightning_to_x2v_lora.py | 91 | CODE | |
| LOW | tools/extract/lora_extractor.py | 68 | CODE | |
| LOW | tools/extract/lora_extractor.py | 287 | CODE | |
| LOW | tools/postprocess/torchvision_fix.py | 7 | CODE | |
| LOW | tools/convert/seko_talk_converter.py | 334 | CODE | |
| LOW | tools/convert/converter.py | 314 | CODE | |
| LOW | tools/convert/converter.py | 474 | CODE | |
| LOW | tools/convert/converter.py | 720 | CODE | |
| LOW | app/gradio_demo.py | 52 | CODE | |
| LOW | app/utils/model_utils.py | 201 | CODE | |
| LOW | app/utils/model_utils.py | 239 | CODE | |
| LOW | app/utils/model_utils.py | 311 | CODE | |
| LOW | app/utils/model_utils.py | 397 | CODE | |
| LOW | app/utils/model_utils.py | 803 | CODE | |
| LOW | app/utils/model_utils.py | 409 | CODE | |
| LOW | app/utils/video_page.py | 36 | CODE | |
| LOW | app/utils/image_page.py | 32 | CODE | |
| LOW | app/utils/model_components.py | 62 | CODE | |
| LOW | app/utils/model_components.py | 339 | CODE | |
| LOW | app/utils/model_components.py | 645 | CODE | |
| LOW | app/utils/model_handlers.py | 155 | CODE | |
| LOW | app/utils/model_handlers.py | 335 | CODE | |
| LOW | app/utils/model_handlers.py | 443 | CODE | |
| LOW | test_cases/test_int8_triton_kernels.py | 77 | CODE | |
| LOW | test_cases/test_int8_triton_kernels.py | 92 | CODE | |
| LOW | test_cases/test_int8_triton_kernels.py | 122 | CODE | |
| LOW | lightx2v/pipeline.py | 74 | CODE | |
| LOW | lightx2v/pipeline.py | 290 | CODE | |
| LOW | lightx2v/pipeline.py | 328 | CODE | |
| LOW | lightx2v/shot_runner/utils.py | 175 | CODE | |
| LOW | lightx2v/server/metrics/metrics.py | 379 | CODE | |
| LOW | lightx2v/server/api/openai_images.py | 58 | CODE | |
| LOW | lightx2v/server/services/file_service.py | 45 | CODE | |
| LOW | lightx2v/server/services/inference/worker.py | 68 | CODE | |
| LOW | lightx2v/server/services/inference/worker.py | 147 | CODE | |
| LOW | lightx2v/server/services/inference/worker.py | 188 | CODE | |
| LOW | lightx2v/server/services/generation/image.py | 21 | CODE | |
| LOW | lightx2v/server/media/audio.py | 33 | CODE | |
| LOW | lightx2v/server/media/image.py | 31 | CODE | |
| LOW | lightx2v/server/media/base.py | 33 | CODE | |
| LOW | lightx2v/utils/set_config.py | 59 | CODE | |
| LOW | lightx2v/utils/va_reader_omni.py | 205 | CODE | |
| LOW | lightx2v/utils/va_reader_omni.py | 476 | CODE | |
| LOW | lightx2v/utils/va_recorder.py | 87 | CODE | |
| LOW | lightx2v/utils/va_recorder.py | 123 | CODE | |
| LOW | lightx2v/utils/va_recorder.py | 467 | CODE | |
| 246 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/preprocess/pose2d.py | 56 | CODE | |
| LOW | tools/preprocess/human_visualization.py | 255 | CODE | |
| LOW | tools/preprocess/human_visualization.py | 575 | CODE | |
| LOW | tools/preprocess/human_visualization.py | 728 | CODE | |
| LOW | tools/preprocess/retarget_pose.py | 762 | CODE | |
| LOW | tools/preprocess/process_pipepline.py | 159 | CODE | |
| LOW | tools/postprocess/paint_pipeline.py | 109 | CODE | |
| LOW | tools/postprocess/paint_pipeline.py | 135 | CODE | |
| LOW | tools/convert/converter.py | 314 | CODE | |
| LOW | app/gradio_demo.py | 52 | CODE | |
| LOW | lightx2v_platform/ops/norm/norm_template.py | 41 | CODE | |
| LOW | lightx2v_platform/ops/norm/norm_template.py | 152 | CODE | |
| LOW | lightx2v_platform/ops/norm/ascend_npu/npu_layer_norm.py | 14 | CODE | |
| LOW | lightx2v_platform/ops/norm/ascend_npu/npu_layer_norm.py | 47 | CODE | |
| LOW | …ghtx2v_platform/ops/norm/cambricon_mlu/mlu_rms_norm.py | 12 | CODE | |
| LOW | …v_platform/ops/norm/iluvatar_cuda/iluvatar_rms_norm.py | 18 | CODE | |
| LOW | lightx2v_platform/ops/norm/enflame_gcu/layer_norm.py | 9 | CODE | |
| LOW | lightx2v_platform/ops/attn/hygon_dcu/flash_attn.py | 52 | CODE | |
| LOW | lightx2v_platform/ops/attn/hygon_dcu/flash_attn.py | 183 | CODE | |
| LOW | lightx2v_platform/ops/attn/enflame_gcu/flash_attn.py | 60 | CODE | |
| LOW | lightx2v_platform/ops/attn/enflame_gcu/flash_attn.py | 247 | CODE | |
| LOW | lightx2v_platform/ops/mm/intel_xpu/__init__.py | 114 | CODE | |
| LOW | lightx2v_platform/ops/mm/intel_xpu/__init__.py | 204 | CODE | |
| LOW | lightx2v/pipeline.py | 74 | CODE | |
| LOW | lightx2v/pipeline.py | 159 | CODE | |
| LOW | lightx2v/pipeline.py | 290 | CODE | |
| LOW | lightx2v/pipeline.py | 401 | CODE | |
| LOW | lightx2v/pipeline.py | 433 | CODE | |
| LOW | lightx2v/training/worldplay_ar_pipeline.py | 246 | CODE | |
| LOW | lightx2v/server/api/openai_images.py | 250 | CODE | |
| LOW | lightx2v/server/api/tasks/video.py | 43 | CODE | |
| LOW | lightx2v/server/api/tasks/image.py | 186 | CODE | |
| LOW | lightx2v/utils/va_reader_omni.py | 295 | CODE | |
| LOW | lightx2v/utils/torch_trace_profiler.py | 180 | CODE | |
| LOW | lightx2v/utils/ggml_tensor.py | 18 | CODE | |
| LOW | …htx2v/models/vfi/rife/model/pytorch_msssim/__init__.py | 166 | CODE | |
| LOW | …htx2v/models/video_encoders/hf/ltx2/upsampler/model.py | 35 | CODE | |
| LOW | …x2v/models/video_encoders/hf/ltx2/audio_vae/vocoder.py | 308 | CODE | |
| LOW | …v/models/video_encoders/hf/ltx2/audio_vae/audio_vae.py | 142 | CODE | |
| LOW | …v/models/video_encoders/hf/ltx2/audio_vae/audio_vae.py | 359 | CODE | |
| LOW | …models/video_encoders/hf/ltx2/video_vae/convolution.py | 11 | CODE | |
| LOW | …v/models/video_encoders/hf/ltx2/video_vae/video_vae.py | 268 | CODE | |
| LOW | …v/models/video_encoders/hf/ltx2/video_vae/video_vae.py | 522 | CODE | |
| LOW | …tx2v/models/video_encoders/hf/ltx2/video_vae/resnet.py | 24 | CODE | |
| LOW | …tx2v/models/video_encoders/hf/ltx2/video_vae/resnet.py | 200 | CODE | |
| LOW | lightx2v/models/video_encoders/hf/lingbot_video/vae.py | 54 | CODE | |
| LOW | lightx2v/models/video_encoders/hf/lingbot_video/vae.py | 127 | CODE | |
| LOW | …ders/hf/hunyuan3d/autoencoders/attention_processors.py | 32 | CODE | |
| LOW | …encoders/hf/hunyuan3d/autoencoders/attention_blocks.py | 415 | CODE | |
| LOW | …encoders/hf/hunyuan3d/autoencoders/attention_blocks.py | 198 | CODE | |
| LOW | …encoders/hf/hunyuan3d/autoencoders/attention_blocks.py | 289 | CODE | |
| LOW | …dels/video_encoders/hf/hunyuan3d/autoencoders/model.py | 217 | CODE | |
| LOW | lightx2v/models/video_encoders/hf/wan/vae_2_2.py | 995 | CODE | |
| LOW | lightx2v/models/video_encoders/hf/wan/vae_2_2.py | 854 | CODE | |
| LOW | lightx2v/models/video_encoders/hf/wan/vae_2_2.py | 1050 | CODE | |
| LOW | lightx2v/models/video_encoders/hf/wan/vae_sf.py | 12 | CODE | |
| LOW | lightx2v/models/video_encoders/hf/wan/vae_sf.py | 82 | CODE | |
| LOW | lightx2v/models/video_encoders/hf/wan/vae.py | 846 | CODE | |
| LOW | lightx2v/models/video_encoders/hf/wan/vae.py | 283 | CODE | |
| LOW | lightx2v/models/video_encoders/hf/wan/vae.py | 387 | CODE | |
| 153 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | lightx2v/server/services/generation/base.py | 31 | task_type = self.inference_service.worker.runner.config.get("task", "t2v") | CODE |
| CRITICAL⚡ | …/models/networks/wan/infer/s2v/causal_audio_encoder.py | 22 | dst.conv1_local.conv.weight.data.copy_(src.conv1_local_weight.tensor) | CODE |
| CRITICAL⚡ | …/models/networks/wan/infer/s2v/causal_audio_encoder.py | 23 | dst.conv1_local.conv.bias.data.copy_(src.conv1_local_bias.tensor) | CODE |
| CRITICAL⚡ | …/models/networks/wan/infer/s2v/causal_audio_encoder.py | 24 | dst.conv2.conv.weight.data.copy_(src.conv2_weight.tensor) | CODE |
| CRITICAL⚡ | …/models/networks/wan/infer/s2v/causal_audio_encoder.py | 25 | dst.conv2.conv.bias.data.copy_(src.conv2_bias.tensor) | CODE |
| CRITICAL⚡ | …/models/networks/wan/infer/s2v/causal_audio_encoder.py | 26 | dst.conv3.conv.weight.data.copy_(src.conv3_weight.tensor) | CODE |
| CRITICAL⚡ | …/models/networks/wan/infer/s2v/causal_audio_encoder.py | 27 | dst.conv3.conv.bias.data.copy_(src.conv3_bias.tensor) | CODE |
| CRITICAL⚡ | …/models/networks/wan/infer/s2v/causal_audio_encoder.py | 30 | dst.conv1_global.conv.weight.data.copy_(src.conv1_global_weight.tensor) | CODE |
| CRITICAL⚡ | …/models/networks/wan/infer/s2v/causal_audio_encoder.py | 31 | dst.conv1_global.conv.bias.data.copy_(src.conv1_global_bias.tensor) | CODE |
| CRITICAL | lightx2v/models/runners/flux2/flux2_runner.py | 343 | bn_mean = self.vae.vae.bn.running_mean.view(1, -1, 1, 1).to(latents.device, latents.dtype) | CODE |
| CRITICAL | lightx2v/models/runners/flux2/flux2_runner.py | 344 | bn_std = torch.sqrt(self.vae.vae.bn.running_var.view(1, -1, 1, 1) + self.vae.vae.config.batch_norm_eps).to(laten | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lightx2v_platform/ops/rope/ascend_npu/__init__.py | 3 | __all__ = ["NpuRope"] | CODE |
| LOW | lightx2v_platform/ops/rope/iluvatar_cuda/__init__.py | 3 | __all__ = ["IluvatarWanRope"] | CODE |
| LOW | lightx2v_platform/ops/rope/enflame_gcu/__init__.py | 3 | __all__ = ["GcuWanRope"] | CODE |
| LOW | lightx2v_platform/ops/norm/ascend_npu/__init__.py | 4 | __all__ = ["NpuRmsNormWeight", "NpuLayerNormWeight"] | CODE |
| LOW | lightx2v_platform/ops/norm/iluvatar_cuda/__init__.py | 3 | __all__ = ["IluvatarRmsNormWeight"] | CODE |
| LOW | lightx2v_platform/ops/norm/enflame_gcu/__init__.py | 3 | __all__ = ["GcuLayerNormWeight"] | CODE |
| LOW | lightx2v_platform/base/__init__.py | 14 | __all__ = [ | CODE |
| LOW | lightx2v_platform/base/amd_rocm.py | 147 | __all__ = [ | CODE |
| LOW | lightx2v/__init__.py | 9 | __all__ = [ | CODE |
| LOW | lightx2v/training/__init__.py | 10 | __all__ = [ | CODE |
| LOW | lightx2v/server/api/__init__.py | 4 | __all__ = [ | CODE |
| LOW | lightx2v/server/api/tasks/__init__.py | 5 | __all__ = [ | CODE |
| LOW | lightx2v/server/services/__init__.py | 5 | __all__ = [ | CODE |
| LOW | lightx2v/server/services/inference/__init__.py | 4 | __all__ = [ | CODE |
| LOW | lightx2v/server/services/generation/__init__.py | 5 | __all__ = [ | CODE |
| LOW | lightx2v/server/media/__init__.py | 5 | __all__ = [ | CODE |
| LOW | lightx2v/utils/ltx2_media_io.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | …2v/models/video_encoders/hf/ltx2/audio_vae/__init__.py | 15 | __all__ = [ | CODE |
| LOW | …2v/models/video_encoders/hf/ltx2/video_vae/__init__.py | 12 | __all__ = [ | CODE |
| LOW | lightx2v/models/video_encoders/hf/wan/vae_2_2.py | 16 | __all__ = [ | CODE |
| LOW | lightx2v/models/video_encoders/hf/wan/vae.py | 17 | __all__ = [ | CODE |
| LOW | …x2v/models/video_encoders/hf/longcat_image/__init__.py | 3 | __all__ = ["LongCatImageVAE"] | CODE |
| LOW | lightx2v/models/video_encoders/hf/seedvr/__init__.py | 3 | __all__ = ["attn_video_vae_v3_s8_c16_t4_inflation_sd3_init"] | CODE |
| LOW | …ghtx2v/models/networks/worldmirror/weights/__init__.py | 6 | __all__ = [ | CODE |
| LOW | …tworks/worldmirror/models/models/visual_transformer.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | lightx2v/models/networks/flux2/__init__.py | 3 | __all__ = ["Flux2KleinTransformerModel", "Flux2DevTransformerModel"] | CODE |
| LOW | lightx2v/models/networks/flux2/weights/__init__.py | 5 | __all__ = [ | CODE |
| LOW | lightx2v/models/networks/flux2/infer/__init__.py | 6 | __all__ = [ | CODE |
| LOW | lightx2v/models/networks/motus/__init__.py | 4 | __all__ = [ | CODE |
| LOW | lightx2v/models/networks/motus/infer/__init__.py | 5 | __all__ = ["MotusPreInfer", "MotusTransformerInfer", "MotusPostInfer"] | CODE |
| LOW | lightx2v/models/networks/worldplay/__init__.py | 11 | __all__ = [ | CODE |
| LOW | lightx2v/models/networks/worldplay/weights/__init__.py | 6 | __all__ = [ | CODE |
| LOW | lightx2v/models/networks/worldplay/infer/__init__.py | 11 | __all__ = [ | CODE |
| LOW | lightx2v/models/networks/worldplay/prope/__init__.py | 3 | __all__ = ["prope_qkv"] | CODE |
| LOW | lightx2v/models/networks/hunyuan3d/utils/__init__.py | 113 | __all__ = ["get_logger", "logger", "smart_load_model", "synchronize_timer"] | CODE |
| LOW | …ghtx2v/models/networks/wan/weights/fastwam/__init__.py | 4 | __all__ = ["FastWAMPreWeights", "FastWAMTransformerWeights"] | CODE |
| LOW | lightx2v/models/networks/wan/weights/motus/__init__.py | 23 | __all__ = [ | CODE |
| LOW | …ghtx2v/models/networks/wan/weights/lingbot/__init__.py | 4 | __all__ = ["WanLingbotPreWeights", "WanLingbotTransformerWeights"] | CODE |
| LOW | lightx2v/models/networks/wan/weights/dancer/__init__.py | 4 | __all__ = ["WanDancerPreWeights", "WanDancerTransformerWeights"] | CODE |
| LOW | …x2v/models/networks/wan/weights/lingbot_va/__init__.py | 4 | __all__ = ["LingbotVAPreWeights", "LingbotVATransformerWeights"] | CODE |
| LOW | lightx2v/models/networks/wan/infer/fastwam/__init__.py | 4 | __all__ = ["FastWAMPreInfer", "FastWAMTransformerInfer"] | CODE |
| LOW | lightx2v/models/networks/wan/infer/dancer/__init__.py | 5 | __all__ = [ | CODE |
| LOW | …htx2v/models/networks/wan/infer/lingbot_va/__init__.py | 4 | __all__ = ["LingbotVAPreInfer", "LingbotVATransformerInfer"] | CODE |
| LOW | lightx2v/models/networks/longcat_image/__init__.py | 4 | __all__ = ["LongCatImageTransformerModel"] | CODE |
| LOW | …tx2v/models/networks/longcat_image/weights/__init__.py | 6 | __all__ = ["LongCatImagePreWeights", "LongCatImageTransformerWeights", "LongCatImagePostWeights"] | CODE |
| LOW | …ghtx2v/models/networks/longcat_image/infer/__init__.py | 7 | __all__ = [ | CODE |
| LOW | lightx2v/models/networks/seedvr/__init__.py | 3 | __all__ = ["SeedVRNaDiTModel"] | CODE |
| LOW | lightx2v/models/networks/seedvr/utils/__init__.py | 4 | __all__ = ["na", "classifier_free_guidance", "classifier_free_guidance_dispatcher"] | CODE |
| LOW | lightx2v/models/input_encoders/lightllm/__init__.py | 13 | __all__ = [ | CODE |
| LOW | …ghtx2v/models/input_encoders/hf/ltx2/gemma/__init__.py | 16 | __all__ = [ | CODE |
| LOW | …x2v/models/input_encoders/hf/hunyuan15/qwen25/model.py | 49 | __all__ = [ | CODE |
| LOW | lightx2v/models/input_encoders/hf/wan/t5/model.py | 46 | __all__ = [ | CODE |
| LOW | lightx2v/models/input_encoders/hf/wan/t5/tokenizer.py | 9 | __all__ = ["HuggingfaceTokenizer"] | CODE |
| LOW | …tx2v/models/input_encoders/hf/wan/xlm_roberta/model.py | 29 | __all__ = [ | CODE |
| LOW | …odels/input_encoders/hf/wan/matrix_game2/tokenizers.py | 9 | __all__ = ["HuggingfaceTokenizer"] | CODE |
| LOW | lightx2v/models/input_encoders/hf/longcat/__init__.py | 4 | __all__ = ["LongCatImageTextEncoder", "SYSTEM_PROMPT_EN", "SYSTEM_PROMPT_ZH"] | CODE |
| LOW | lightx2v/models/runners/worldmirror/__init__.py | 3 | __all__ = ["WorldMirrorRunner"] | CODE |
| LOW | lightx2v/models/runners/worldplay/__init__.py | 5 | __all__ = ["WorldPlayDistillRunner", "WorldPlayARRunner", "WorldPlayBIRunner"] | CODE |
| LOW | lightx2v/models/runners/longcat_image/__init__.py | 4 | __all__ = ["LongCatImageRunner"] | CODE |
| LOW | lightx2v/models/runners/seedvr/__init__.py | 3 | __all__ = ["SeedVRRunner"] | CODE |
| 60 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/preprocess/human_visualization.py | 301 | # kp2ds_body = kp2ds_body[:18] | COMMENT |
| LOW | tools/preprocess/human_visualization.py | 321 | [15, 17], | COMMENT |
| LOW | tools/preprocess/human_visualization.py | 461 | kp2ds = kp2ds.copy() | COMMENT |
| LOW | tools/preprocess/human_visualization.py | 481 | # [12, 13], | COMMENT |
| LOW | tools/preprocess/human_visualization.py | 501 | # [0, 255, 170], | COMMENT |
| LOW | tools/preprocess/human_visualization.py | 521 | # keypoint2 = kp2ds_body[k2_index - 1] | COMMENT |
| LOW | tools/preprocess/ltx2.3_preprocess_data.py | 1 | # Copyright 2024-2025 The Alibaba Wan Team Authors. All rights reserved. | COMMENT |
| LOW | app/run_gradio.sh | 1 | #!/bin/bash | COMMENT |
| LOW | lightx2v/utils/set_config.py | 101 | # alongside model.safetensors. The runner loads this config directly; here we | COMMENT |
| LOW | …2v/models/video_encoders/hf/ltx2/audio_vae/upsample.py | 21 | self.causality_axis = causality_axis | COMMENT |
| LOW | …ders/hf/hunyuan3d/autoencoders/attention_processors.py | 1 | # Hunyuan 3D is licensed under the TENCENT HUNYUAN NON-COMMERCIAL LICENSE AGREEMENT | COMMENT |
| LOW | …s/video_encoders/hf/hunyuan3d/autoencoders/__init__.py | 1 | # Hunyuan 3D is licensed under the TENCENT HUNYUAN NON-COMMERCIAL LICENSE AGREEMENT | COMMENT |
| LOW | …encoders/hf/hunyuan3d/autoencoders/attention_blocks.py | 1 | # Open Source Model Licensed under the Apache License Version 2.0 | COMMENT |
| LOW | …dels/video_encoders/hf/hunyuan3d/autoencoders/model.py | 1 | # Open Source Model Licensed under the Apache License Version 2.0 | COMMENT |
| LOW | …coders/hf/hunyuan3d/autoencoders/surface_extractors.py | 1 | # Hunyuan 3D is licensed under the TENCENT HUNYUAN NON-COMMERCIAL LICENSE AGREEMENT | COMMENT |
| LOW | …_encoders/hf/hunyuan3d/autoencoders/volume_decoders.py | 1 | # Hunyuan 3D is licensed under the TENCENT HUNYUAN NON-COMMERCIAL LICENSE AGREEMENT | COMMENT |
| LOW | lightx2v/models/networks/worldmirror/model.py | 241 | # Peek at actual depths so WeightModule names track WorldMirror. | COMMENT |
| LOW | lightx2v/models/networks/worldmirror/model.py | 261 | cam_qk_norm=False, # CameraHead refine_net uses default qk_norm=False | COMMENT |
| LOW | lightx2v/models/networks/worldmirror/model.py | 281 | self._lazy_file_keys = None # cached key set for the handle | COMMENT |
| LOW | lightx2v/models/networks/worldmirror/model.py | 481 | COMMENT | |
| LOW | …ls/networks/worldmirror/weights/transformer_weights.py | 241 | # absmax. Inference accuracy is intentionally identical to Default | COMMENT |
| LOW | …ls/networks/worldmirror/weights/transformer_weights.py | 261 | # ``fp32_first_n_blocks`` and last ``fp32_last_n_blocks`` of each | COMMENT |
| LOW | lightx2v/models/networks/worldmirror/comm/padding.py | 21 | # 计算需要填充的长度 | COMMENT |
| LOW | lightx2v/models/networks/worldmirror/comm/padding.py | 41 | COMMENT | |
| LOW | …v/models/networks/worldmirror/models/utils/sh_utils.py | 1 | # Copyright 2021 The PlenOctree Authors. | COMMENT |
| LOW | …models/networks/worldmirror/models/heads/dense_head.py | 141 | COMMENT | |
| LOW | lightx2v/models/networks/bagel/modeling_utils.py | 1 | # Copyright (c) 2022 Facebook, Inc. and its affiliates. | COMMENT |
| LOW | lightx2v/models/networks/worldplay/prope/camera_rope.py | 1 | # MIT License | COMMENT |
| LOW | …x2v/models/networks/hunyuan3d/utils/hy3dshape/utils.py | 1 | # Hunyuan 3D is licensed under the TENCENT HUNYUAN NON-COMMERCIAL LICENSE AGREEMENT | COMMENT |
| LOW | …/models/input_encoders/hf/hunyuan3d/image_processor.py | 1 | # Hunyuan 3D is licensed under the TENCENT HUNYUAN NON-COMMERCIAL LICENSE AGREEMENT | COMMENT |
| LOW | …tx2v/models/input_encoders/hf/hunyuan3d/conditioner.py | 1 | # Open Source Model Licensed under the Apache License Version 2.0 | COMMENT |
| LOW | lightx2v/models/input_encoders/hf/hunyuan3d/rembg.py | 1 | # Hunyuan 3D is licensed under the TENCENT HUNYUAN NON-COMMERCIAL LICENSE AGREEMENT | COMMENT |
| LOW | …htx2v/models/runners/worldmirror/worldmirror_runner.py | 261 | model_cfg["enable_bf16"] = True | COMMENT |
| LOW | …ghtx2v/models/schedulers/hunyuan3d/flow_match_euler.py | 1 | # Copyright 2024 Stability AI, Katherine Crowson and The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | lightx2v/disagg/rdma_server.py | 281 | # 单边写通常不需要接收方做额外操作,除非使用了带立即数或原子操作需要确认 | COMMENT |
| LOW | lightx2v/disagg/rdma_server.py | 301 | # conn = srv.handshake(host=args.listen_host, port=args.listen_port) | COMMENT |
| LOW | lightx2v/disagg/rdma_client.py | 461 | # # msg = b"Hello RDMA!" | COMMENT |
| LOW | lightx2v/disagg/rdma_client.py | 481 | # print(f"FAA old value: {old_value}") | COMMENT |
| LOW | lightx2v/common/ops/attn/svg2_attn_utils.py | 1161 | # --- End of loop over K blocks --- | COMMENT |
| LOW | lightx2v/common/ops/mm/mm_weight.py | 2341 | # ``weight_scale_granularity`` in the caller's runtime config: | COMMENT |
| LOW | …d256/assets/rev256_onednn_v2_84tflops_pipelined_qk.cpp | 1 | #include <sycl/sycl.hpp> | COMMENT |
| LOW | …-hd256/assets/rev256_onednn_v2_83tflops_mad_fusion.cpp | 1 | #include <sycl/sycl.hpp> | COMMENT |
| LOW | …sdp-hd256/assets/rev256_onednn_v2_88tflops_s_scatter.h | 1 | // Approach 2: Eliminate S Register Transpose via lsc_slm_scatter Write + Block Read | COMMENT |
| LOW | …sdp-hd256/assets/rev256_onednn_v2_88tflops_s_scatter.h | 361 | // Four scatter calls per qp: kv groups 0..3, 4..7, 8..11, 12..15. | COMMENT |
| LOW | …hd256/assets/rev256_onednn_v2_86tflops_qk_pipeline.cpp | 1 | #include <sycl/sycl.hpp> | COMMENT |
| LOW | …p-hd256/assets/rev256_onednn_v2_88tflops_s_scatter.cpp | 1 | #include <sycl/sycl.hpp> | COMMENT |
| LOW | …dp-hd256/assets/rev256_onednn_v2_83tflops_mad_fusion.h | 1 | // oneDNN-inspired Flash Attention v2 kernel for HD=256 | COMMENT |
| LOW | …ls/xe2-sdp-hd256/assets/flash.attn.b.mha256.fp16.opt.h | 1 | // Optimized FP16 Flash Attention kernel for HD=256 | COMMENT |
| LOW | …p-hd256/assets/rev256_onednn_v2_86tflops_qk_pipeline.h | 1 | // oneDNN-inspired Flash Attention v2 kernel for HD=256 | COMMENT |
| LOW | …_skills/xe2-sdp-hd256/assets/test_rev256_onednn_v2.cpp | 1 | #include <sycl/sycl.hpp> | COMMENT |
| LOW | …-hd256/assets/rev256_onednn_v2_84tflops_pipelined_qk.h | 1 | // oneDNN-inspired Flash Attention v2 kernel for HD=256 | COMMENT |
| LOW | …d256/assets/rev256_onednn_v2_82tflops_fp16_transpose.h | 1 | // oneDNN-inspired Flash Attention v2 kernel for HD=256 | COMMENT |
| LOW | …skills/onednn-fp8-gemm/assets/fp16xfp8_per_n_scale.cpp | 1 | // ============================================================================= | COMMENT |
| LOW | …specific_skills/onednn-fp8-gemm/assets/test_onednn.cpp | 1 | // Pure C++ ULT for oneDNN matmul primitives on Intel XPU (SYCL) | COMMENT |
| LOW | …pecific_skills/xe2-sdp-kernels/assets/decode_sdp_gqa.h | 1 | // decode_sdp_gqa.h | COMMENT |
| LOW | …pecific_skills/xe2-sdp-kernels/assets/decode_sdp_gqa.h | 201 | block_store<fp32, HD>(out + chunk_idx * headQ * HD + (q_head_idx + h) * HD, | COMMENT |
| LOW | …pecific_skills/xe2-sdp-kernels/assets/sdp_perf_all.cpp | 1 | // sdp_perf_all.cpp | COMMENT |
| LOW | …_skills/xe2-sdp-kernels/assets/sdp_correctness_all.cpp | 1 | // sdp_correctness_all.cpp | COMMENT |
| LOW | …ills/xe2-sdp-bf16/references/barrier-interleave-opt.md | 121 | COMMENT | |
| LOW | …_specific_skills/xe2-sdp-bf16/assets/test_sdp_best.cpp | 1 | #include <sycl/sycl.hpp> | COMMENT |
| 60 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …v/models/video_encoders/hf/ltx2/audio_vae/audio_vae.py | 519 | # Step 1: Crop first to avoid exceeding target dimensions | COMMENT |
| LOW⚡ | …v/models/video_encoders/hf/ltx2/audio_vae/audio_vae.py | 522 | # Step 2: Calculate padding needed for time and frequency dimensions | COMMENT |
| LOW⚡ | …v/models/video_encoders/hf/ltx2/audio_vae/audio_vae.py | 526 | # Step 3: Apply padding if needed | COMMENT |
| LOW | …v/models/video_encoders/hf/ltx2/audio_vae/audio_vae.py | 538 | # Step 4: Final safety crop to ensure exact target shape | COMMENT |
| LOW | lightx2v/models/networks/ltx2/infer/triton_ops.py | 53 | # Step 1: RMSNorm | COMMENT |
| LOW | lightx2v/models/networks/ltx2/infer/triton_ops.py | 68 | # Step 2: Load scale and shift based on format | COMMENT |
| LOW | lightx2v/models/networks/ltx2/infer/triton_ops.py | 87 | # Step 3: Apply modulation: x_hat * (1 + scale) + shift | COMMENT |
| LOW | …ghtx2v/models/runners/worldplay/worldplay_ar_runner.py | 257 | # Step 1: Cache text KV (called once at generation start) | COMMENT |
| LOW⚡ | …ghtx2v/models/runners/worldplay/worldplay_ar_runner.py | 283 | # Step 2: For non-first chunks, cache context frame KV | COMMENT |
| LOW⚡ | …ghtx2v/models/runners/worldplay/worldplay_ar_runner.py | 288 | # Step 3: Run denoising for this chunk | COMMENT |
| LOW | …ic_skills/xe2-esimd-gemv/references/kernel-patterns.md | 109 | // Step 1: init SLM — MUST be first | COMMENT |
| LOW | …ic_skills/xe2-esimd-gemv/references/kernel-patterns.md | 122 | // Step 2: compute partial dot product | COMMENT |
| LOW⚡ | …ic_skills/xe2-esimd-gemv/references/kernel-patterns.md | 137 | // Step 3: store partial sum to SLM | COMMENT |
| LOW⚡ | …ic_skills/xe2-esimd-gemv/references/kernel-patterns.md | 144 | // Step 4: synchronize | COMMENT |
| LOW⚡ | …ic_skills/xe2-esimd-gemv/references/kernel-patterns.md | 147 | // Step 5: reduce and write output (k_thread_id == 0 only) | COMMENT |
| LOW⚡ | docs/EN/source/getting_started/quickstart.md | 68 | #### Step 1: Clone Repository | COMMENT |
| LOW⚡ | docs/EN/source/getting_started/quickstart.md | 76 | #### Step 2: Create Conda Virtual Environment | COMMENT |
| LOW⚡ | docs/EN/source/getting_started/quickstart.md | 84 | #### Step 3: Install Dependencies | COMMENT |
| LOW⚡ | docs/EN/source/getting_started/quickstart.md | 90 | #### Step 4: Install Attention Operators | COMMENT |
| LOW | docs/EN/source/getting_started/quickstart.md | 109 | #### Step 4: Install Quantization Operators (Optional) | COMMENT |
| LOW | docs/EN/source/getting_started/quickstart.md | 149 | #### Step 5: Verify Installation | COMMENT |
| LOW | docs/EN/source/getting_started/quickstart.md | 162 | #### Step 1: Check CUDA Version | COMMENT |
| LOW | docs/EN/source/getting_started/quickstart.md | 172 | #### Step 2: Create Python Environment | COMMENT |
| LOW | docs/EN/source/getting_started/quickstart.md | 184 | #### Step 3: Install PyTorch Framework | COMMENT |
| LOW | docs/EN/source/getting_started/quickstart.md | 211 | #### Step 4: Install Windows Version vLLM | COMMENT |
| LOW | docs/EN/source/getting_started/quickstart.md | 225 | #### Step 5: Install Attention Mechanism Operators | COMMENT |
| LOW | docs/EN/source/getting_started/quickstart.md | 246 | #### Step 6: Clone Repository | COMMENT |
| LOW | docs/EN/source/getting_started/quickstart.md | 258 | #### Step 7: Install Quantization Operators (Optional) | COMMENT |
| LOW | examples/BeginnerGuide/EN/02.Wan21-1.3B.md | 222 | # Step 1: Create LightX2VPipeline | COMMENT |
| LOW | examples/BeginnerGuide/EN/02.Wan21-1.3B.md | 229 | # Step 2: Set runtime parameters | COMMENT |
| LOW | examples/BeginnerGuide/EN/02.Wan21-1.3B.md | 250 | # Step 3: Start generating videos, can generate multiple times | COMMENT |
| LOW | scripts/server/post_multi_servers.py | 48 | # Step 2: Monitor task status until completion | COMMENT |
| LOW⚡ | scripts/server/disagg/qwen/post_qwen_t2i.py | 48 | # Step 1: Send to Decoder first (sets up Phase2 receiver) | COMMENT |
| LOW⚡ | scripts/server/disagg/qwen/post_qwen_t2i.py | 54 | # Step 2: Send to Transformer (Phase1 receiver + Phase2 sender) | COMMENT |
| LOW⚡ | scripts/server/disagg/qwen/post_qwen_t2i.py | 60 | # Step 3: Send to Encoder (text encoding + Phase1 send) | COMMENT |
| LOW⚡ | scripts/server/disagg/qwen/post_qwen_t2i.py | 65 | # Step 4: Poll Decoder for completion (image saved on Decoder node) | COMMENT |
| LOW⚡ | scripts/server/disagg/qwen/post_qwen_i2i.py | 57 | # Step 1: Send to Decoder first (sets up Phase2 receiver) | COMMENT |
| LOW⚡ | scripts/server/disagg/qwen/post_qwen_i2i.py | 63 | # Step 2: Send to Transformer (Phase1 receiver + Phase2 sender) | COMMENT |
| LOW⚡ | scripts/server/disagg/qwen/post_qwen_i2i.py | 69 | # Step 3: Send to Encoder (text + image encoding + Phase1 send) | COMMENT |
| LOW⚡ | scripts/server/disagg/qwen/post_qwen_i2i.py | 74 | # Step 4: Poll Decoder for completion (image saved on Decoder node) | COMMENT |
| LOW⚡ | scripts/server/disagg/wan/post_wan_t2v.py | 44 | # Step 1: Send to Decoder first (sets up Phase2 receiver, starts blocking) | COMMENT |
| LOW⚡ | scripts/server/disagg/wan/post_wan_t2v.py | 50 | # Step 2: Send to Transformer (sets up Phase1 receiver + Phase2 sender) | COMMENT |
| LOW⚡ | scripts/server/disagg/wan/post_wan_t2v.py | 56 | # Step 3: Send to Encoder (triggers T5 encoding + Phase1 Mooncake send) | COMMENT |
| LOW⚡ | scripts/server/disagg/wan/post_wan_t2v.py | 61 | # Step 4: Poll Decoder for final completion (video is saved on Decoder node) | COMMENT |
| LOW⚡ | scripts/server/disagg/wan/post_wan_i2v.py | 55 | # Step 1: Send to Decoder first (sets up Phase2 receiver, starts blocking) | COMMENT |
| LOW⚡ | scripts/server/disagg/wan/post_wan_i2v.py | 61 | # Step 2: Send to Transformer (sets up Phase1 receiver + Phase2 sender) | COMMENT |
| LOW⚡ | scripts/server/disagg/wan/post_wan_i2v.py | 67 | # Step 3: Send to Encoder (triggers T5/CLIP/VAE encoding + Phase1 Mooncake send) | COMMENT |
| LOW⚡ | scripts/server/disagg/wan/post_wan_i2v.py | 72 | # Step 4: Poll Decoder for final completion (video is saved on Decoder node) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/preprocess/pose2d.py | 348 | Load images from various input types. Args: inputs (Union[str, np.ndarray, List[np.ndarray | STRING |
| HIGH | lightx2v/utils/input_info.py | 504 | Calculate target_video_length from video duration using the formula: target_video_length = (fps * seconds + 3) // 4 | STRING |
| HIGH | …coders/hf/hunyuan3d/autoencoders/surface_extractors.py | 132 | Extract surface mesh using Differentiable Marching Cubes (DMC) algorithm. Args: grid_logit | STRING |
| HIGH | lightx2v/models/networks/worldmirror/utils/geometry.py | 124 | Create a sliding window view of the input array along a specified axis. This function creates a memory-efficie | STRING |
| HIGH | …htx2v/models/networks/worldmirror/utils/visual_util.py | 229 | Converts model predictions to a 3D scene represented as a GLB file. Args: predictions (dict): Dictiona | STRING |
| HIGH | …tx2v/models/networks/worldmirror/models/layers/rope.py | 149 | Applies 2D rotary position embeddings to input tokens. Args: tokens: Input tensor of shape (batch_s | STRING |
| HIGH | …v/models/networks/hunyuan_video/infer/posemb_layers.py | 72 | Reshape frequency tensor for broadcasting it with another tensor. This function reshapes the frequency tensor | STRING |
| HIGH | …odels/networks/wan/infer/matrix_game2/posemb_layers.py | 71 | Reshape frequency tensor for broadcasting it with another tensor. This function reshapes the frequency tensor | STRING |
| HIGH | …ghtx2v/models/input_encoders/hf/vace/vace_processor.py | 28 | Resize, center crop and normalize for decord loaded video (torch.Tensor type) Parameters: vi | STRING |
| HIGH | lightx2v_kernel/python/lightx2v_kernel/utils.py | 39 | Compute SNR between y_pred(tensor) and y_real(tensor) SNR can be calcualted as following equation: SN | STRING |
| HIGH | …ain/lightx2v_train/model_zoo/native/wan/utils/utils.py | 69 | Convert a string to a boolean. Supported true values: 'yes', 'true', 't', 'y', '1' Supported false values: | STRING |
| HIGH | …tx2v_train/model_zoo/native/wan/utils/qwen_vl_utils.py | 129 | calculate the number of frames for video used for model inputs. Args: ele (dict): a dict contains the confi | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …v/models/video_encoders/hf/ltx2/audio_vae/audio_vae.py | 519 | # Step 1: Crop first to avoid exceeding target dimensions | COMMENT |
| LOW⚡ | …v/models/video_encoders/hf/ltx2/audio_vae/audio_vae.py | 522 | # Step 2: Calculate padding needed for time and frequency dimensions | COMMENT |
| LOW⚡ | …v/models/video_encoders/hf/ltx2/audio_vae/audio_vae.py | 526 | # Step 3: Apply padding if needed | COMMENT |
| LOW | …v/models/video_encoders/hf/ltx2/audio_vae/audio_vae.py | 538 | # Step 4: Final safety crop to ensure exact target shape | COMMENT |
| LOW | lightx2v/models/networks/ltx2/infer/triton_ops.py | 53 | # Step 1: RMSNorm | COMMENT |
| LOW | lightx2v/models/networks/ltx2/infer/triton_ops.py | 68 | # Step 2: Load scale and shift based on format | COMMENT |
| LOW | lightx2v/models/networks/ltx2/infer/triton_ops.py | 87 | # Step 3: Apply modulation: x_hat * (1 + scale) + shift | COMMENT |
| LOW | …ghtx2v/models/runners/worldplay/worldplay_ar_runner.py | 257 | # Step 1: Cache text KV (called once at generation start) | COMMENT |
| LOW⚡ | …ghtx2v/models/runners/worldplay/worldplay_ar_runner.py | 283 | # Step 2: For non-first chunks, cache context frame KV | COMMENT |
| LOW⚡ | …ghtx2v/models/runners/worldplay/worldplay_ar_runner.py | 288 | # Step 3: Run denoising for this chunk | COMMENT |
| LOW | scripts/server/post_multi_servers.py | 48 | # Step 2: Monitor task status until completion | COMMENT |
| LOW⚡ | scripts/server/disagg/qwen/post_qwen_t2i.py | 48 | # Step 1: Send to Decoder first (sets up Phase2 receiver) | COMMENT |
| LOW⚡ | scripts/server/disagg/qwen/post_qwen_t2i.py | 54 | # Step 2: Send to Transformer (Phase1 receiver + Phase2 sender) | COMMENT |
| LOW⚡ | scripts/server/disagg/qwen/post_qwen_t2i.py | 60 | # Step 3: Send to Encoder (text encoding + Phase1 send) | COMMENT |
| LOW⚡ | scripts/server/disagg/qwen/post_qwen_t2i.py | 65 | # Step 4: Poll Decoder for completion (image saved on Decoder node) | COMMENT |
| LOW⚡ | scripts/server/disagg/qwen/post_qwen_i2i.py | 57 | # Step 1: Send to Decoder first (sets up Phase2 receiver) | COMMENT |
| LOW⚡ | scripts/server/disagg/qwen/post_qwen_i2i.py | 63 | # Step 2: Send to Transformer (Phase1 receiver + Phase2 sender) | COMMENT |
| LOW⚡ | scripts/server/disagg/qwen/post_qwen_i2i.py | 69 | # Step 3: Send to Encoder (text + image encoding + Phase1 send) | COMMENT |
| LOW⚡ | scripts/server/disagg/qwen/post_qwen_i2i.py | 74 | # Step 4: Poll Decoder for completion (image saved on Decoder node) | COMMENT |
| LOW⚡ | scripts/server/disagg/wan/post_wan_t2v.py | 44 | # Step 1: Send to Decoder first (sets up Phase2 receiver, starts blocking) | COMMENT |
| LOW⚡ | scripts/server/disagg/wan/post_wan_t2v.py | 50 | # Step 2: Send to Transformer (sets up Phase1 receiver + Phase2 sender) | COMMENT |
| LOW⚡ | scripts/server/disagg/wan/post_wan_t2v.py | 56 | # Step 3: Send to Encoder (triggers T5 encoding + Phase1 Mooncake send) | COMMENT |
| LOW⚡ | scripts/server/disagg/wan/post_wan_t2v.py | 61 | # Step 4: Poll Decoder for final completion (video is saved on Decoder node) | COMMENT |
| LOW⚡ | scripts/server/disagg/wan/post_wan_i2v.py | 55 | # Step 1: Send to Decoder first (sets up Phase2 receiver, starts blocking) | COMMENT |
| LOW⚡ | scripts/server/disagg/wan/post_wan_i2v.py | 61 | # Step 2: Send to Transformer (sets up Phase1 receiver + Phase2 sender) | COMMENT |
| LOW⚡ | scripts/server/disagg/wan/post_wan_i2v.py | 67 | # Step 3: Send to Encoder (triggers T5/CLIP/VAE encoding + Phase1 Mooncake send) | COMMENT |
| LOW⚡ | scripts/server/disagg/wan/post_wan_i2v.py | 72 | # Step 4: Poll Decoder for final completion (video is saved on Decoder node) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lightx2v/utils/generate_task_id.py | 22 | # Create an independent random instance | COMMENT |
| MEDIUM | …models/video_encoders/hf/ltx2/video_vae/convolution.py | 124 | # Define the size of the channels after the first convolution | COMMENT |
| MEDIUM | …tx2v/models/networks/worldmirror/models/layers/rope.py | 3 | # This module provides a clean implementation of 2D Rotary Position Embeddings, | COMMENT |
| MEDIUM | …models/networks/worldmirror/models/heads/dense_head.py | 142 | # This module implements the DPT (Dense Prediction Transformer) head as proposed in | STRING |
| MEDIUM | lightx2v/models/networks/neopp/infer/pre_infer.py | 34 | # Create the batch index for each patch (B x patch count) | COMMENT |
| MEDIUM | …x2v/models/networks/hunyuan3d/utils/torchvision_fix.py | 20 | # Create a mock functional_tensor module with the required functions | COMMENT |
| MEDIUM | …x2v/models/networks/hunyuan3d/utils/torchvision_fix.py | 82 | # Create the mock module instance | COMMENT |
| MEDIUM | lightx2v/models/networks/wan/infer/transformer_infer.py | 47 | # Create a wrapper function that matches the expected signature | COMMENT |
| MEDIUM | …x2v/models/networks/z_image/infer/transformer_infer.py | 41 | # Create a wrapper function that matches the expected signature | COMMENT |
| MEDIUM | …x2v/models/input_encoders/hf/hunyuan15/qwen25/model.py | 324 | # Create a deep copy to avoid modifying the original template | COMMENT |
| MEDIUM⚡ | …htx2v_train/lightx2v_train/schedulers/flow_matching.py | 73 | # The following methods are for inference only | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | lightx2v/disagg/services/controller.py | 663 | " kill -TERM ${pid} >/dev/null 2>&1 || true", | CODE |
| HIGH⚡ | lightx2v/disagg/services/controller.py | 667 | " kill -KILL ${pid} >/dev/null 2>&1 || true", | CODE |
| HIGH | …ualization/visualization/image_web_viewer_node/page.py | 168 | let lastState = null; | CODE |
| HIGH | …ualization/visualization/image_web_viewer_node/page.py | 211 | if (current && options.includes(current)) select.value = current; | CODE |
| HIGH | …ualization/visualization/image_web_viewer_node/page.py | 226 | if (stats && stats.episodes > 0) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tools/extract/lora_extractor.py | 213 | # Check if tensor shapes match | COMMENT |
| LOW⚡ | tools/extract/lora_extractor.py | 217 | # Check if tensor data types match | COMMENT |
| LOW⚡ | tools/extract/lora_extractor.py | 224 | # Check if there are actual changes | COMMENT |
| LOW | tools/extract/lora_extractor.py | 250 | # Check if rank is reasonable | COMMENT |
| LOW | tools/convert/converter.py | 363 | # Check if key matches target modules | COMMENT |
| LOW | app/run_gradio.sh | 106 | # Check if model path exists | COMMENT |
| LOW | app/run_gradio.sh | 122 | # Check if demo file exists | COMMENT |
| LOW | lightx2v/utils/lora_loader.py | 156 | # Check if down weight exists | COMMENT |
| LOW | …v/models/video_encoders/hf/ltx2/video_vae/video_vae.py | 798 | # Check if current temporal slice overlaps with previous temporal slice | STRING |
| LOW | …2v/models/networks/ltx2/weights/transformer_weights.py | 162 | # Check if tensor parallel is enabled | COMMENT |
| LOW | …odels/networks/worldplay/infer/ar_transformer_infer.py | 750 | # Check if ProPE is enabled | COMMENT |
| LOW | lightx2v/models/networks/worldplay/infer/pre_infer.py | 63 | # Check if we have per-frame timestep from BI runner | COMMENT |
| LOW | lightx2v/models/networks/longcat_image/model.py | 122 | # Check if CFG parallel should be used | COMMENT |
| LOW | …v/models/runners/longcat_image/longcat_image_runner.py | 245 | # Check if prompt rewrite is enabled | COMMENT |
| LOW | lightx2v/common/ops/attn/svg2_attn_utils.py | 940 | # Check if this block needs computation | COMMENT |
| LOW | lightx2v/common/ops/attn/svg2_attn.py | 243 | # Check if block_col_sz and block_row_sz are the same for each head | COMMENT |
| LOW | lightx2v/common/ops/attn/kernels/sla_kernel.py | 232 | # Increment pointers | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lightx2v_ros/src/visualization/package.xml | 7 | <maintainer email="user@example.com">user</maintainer> | CODE |
| LOW | lightx2v_ros/src/visualization/setup.py | 16 | maintainer_email="user@example.com", | CODE |
| LOW | lightx2v_ros/src/common/package.xml | 7 | <maintainer email="user@example.com">user</maintainer> | CODE |
| LOW | lightx2v_ros/src/common/setup.py | 16 | maintainer_email="user@example.com", | CODE |
| LOW | lightx2v_ros/src/simulator/package.xml | 7 | <maintainer email="user@example.com">user</maintainer> | CODE |
| LOW | lightx2v_ros/src/simulator/setup.py | 16 | maintainer_email="user@example.com", | CODE |
| LOW | lightx2v_ros/src/inference/package.xml | 7 | <maintainer email="user@example.com">user</maintainer> | CODE |
| LOW | lightx2v_ros/src/inference/setup.py | 16 | maintainer_email="user@example.com", | CODE |
| LOW | scripts/platforms/mlu/openai_image/post_i2i_openai.sh | 9 | --api_key "dummy-key" \ | CODE |
| LOW | scripts/platforms/mlu/openai_image/post_t2i_openai.sh | 9 | --api_key "dummy-key" \ | CODE |
| LOW | scripts/server/openai_image/post_i2i_openai.sh | 9 | --api_key "dummy-key" \ | CODE |
| LOW | …ripts/server/openai_image/test_openai_images_client.py | 92 | parser.add_argument("--api_key", type=str, default="dummy-key", help="OpenAI API key placeholder") | CODE |
| LOW | scripts/server/openai_image/post_t2i_openai.sh | 9 | --api_key "dummy-key" \ | CODE |
| LOW | scripts/hidream_o1_image/post_i2i_openai.sh | 11 | --api_key "dummy-key" \ | CODE |
| LOW | scripts/hidream_o1_image/test_openai_images_client.py | 324 | parser.add_argument("--api_key", type=str, default="dummy-key", help="OpenAI API key placeholder") | CODE |
| LOW | scripts/hidream_o1_image/post_t2i_openai.sh | 12 | --api_key "dummy-key" \ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/preprocess/human_visualization.py | 1263 | CODE | |
| MEDIUM | …tx2v/models/input_encoders/hf/hunyuan3d/conditioner.py | 255 | CODE | |
| MEDIUM | …tx2v/models/input_encoders/hf/hunyuan3d/conditioner.py | 258 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lightx2v/models/runners/wan/wan_dancer_runner.py | 45 | # two-stage orchestration in run_pipeline and never calls the binding. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lightx2v_ros/scripts/run_robotwin_service.sh | 16 | # Usage: | COMMENT |
| LOW | …pts/server/disagg/qwen/start_qwen_t2i_decentralized.sh | 9 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …htx2v/models/runners/worldmirror/worldmirror_runner.py | 311 | # fp8-pertensor auto-quant path consumes. Keys just pass through to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lightx2v/models/networks/base_model.py | 547 | This is a basic implementation. Subclasses may override for more | STRING |