A unified inference and post-training framework for accelerated video generation.
This report presents the forensic synthetic code analysis of hao-ai-lab/FastVideo, a Python project with 4,114 GitHub stars. SynthScan v2.0 examined 460,098 lines of code across 2299 source files, recording 6764 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 20.3 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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
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 6764 distinct pattern matches across 23 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 |
|---|---|---|---|---|
| LOW | collect_env.py | 129 | def run_and_parse_first_match(run_lambda, command, regex): | CODE |
| LOW | collect_env.py | 140 | def run_and_return_first_line(run_lambda, command): | CODE |
| LOW | collect_env.py | 172 | def get_nvidia_driver_version(run_lambda): | CODE |
| LOW | collect_env.py | 281 | def summarize_fastvideo_build_flags(): | CODE |
| LOW | collect_env.py | 496 | def get_cachingallocator_config(): | CODE |
| LOW | collect_env.py | 501 | def get_cuda_module_loading_config(): | CODE |
| LOW | comfyui/video_generator/video_generator.py | 127 | def _monitor_for_interruption(self): | CODE |
| LOW | fastvideo-kernel/python/fastvideo_kernel/vsa_utils.py | 31 | def get_tile_partition_indices( | CODE |
| LOW | fastvideo-kernel/python/fastvideo_kernel/vsa_utils.py | 57 | def get_reverse_tile_partition_indices( | CODE |
| LOW | fastvideo-kernel/python/fastvideo_kernel/vsa_utils.py | 67 | def construct_variable_block_sizes( | CODE |
| LOW⚡ | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 447 | def block_sparse_attn_from_indices( | CODE |
| LOW | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 108 | def _invert_indices_for_backward( | CODE |
| LOW | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 161 | def _block_sparse_attn_triton_fake( | CODE |
| LOW | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 183 | def block_sparse_attn_backward_triton( | CODE |
| LOW | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 218 | def _block_sparse_attn_backward_triton_fake( | CODE |
| LOW | …/python/fastvideo_kernel/block_sparse_attn_cute_fwd.py | 93 | def _choose_q_sparse_block_size(q_len: int, q_tile_size: int = _FA4_Q_BLOCK_SIZE) -> int: | CODE |
| LOW | …/python/fastvideo_kernel/block_sparse_attn_cute_fwd.py | 359 | def block_sparse_attn_cute_fwd( | CODE |
| LOW | …/python/fastvideo_kernel/block_sparse_attn_cute_fwd.py | 387 | def block_sparse_attn_cute_fwd_bshd( | CODE |
| LOW | …o-kernel/python/fastvideo_kernel/turbodiffusion_ops.py | 207 | def _layer_norm_param_fwd_fused( | CODE |
| LOW | …o-kernel/python/fastvideo_kernel/turbodiffusion_ops.py | 307 | def _layer_norm_noparam_fwd_fused( | CODE |
| LOW | fastvideo-kernel/python/fastvideo_kernel/vmoba.py | 59 | def _select_threshold_query_head(gate: torch.Tensor, valid_gate_mask: torch.Tensor, gate_self_chunk_mask: torch.Tensor, | CODE |
| LOW | fastvideo-kernel/python/fastvideo_kernel/vmoba.py | 185 | def _select_threshold_overall(gate: torch.Tensor, valid_gate_mask: torch.Tensor, gate_self_chunk_mask: torch.Tensor, | CODE |
| LOW | fastvideo-kernel/python/fastvideo_kernel/vmoba.py | 264 | def _select_threshold_head_global(gate: torch.Tensor, valid_gate_mask: torch.Tensor, gate_self_chunk_mask: torch.Tensor, | CODE |
| LOW | fastvideo-kernel/python/fastvideo_kernel/vmoba.py | 806 | def test_attn_varlen_moba_speed(batch, | CODE |
| LOW | …fastvideo_kernel/triton_kernels/fused_compress_topk.py | 63 | def _fused_block_mean_bwd_kernel( | CODE |
| LOW | …fastvideo_kernel/triton_kernels/fused_compress_topk.py | 290 | def _pytorch_topk_mask_fallback( | CODE |
| LOW | …thon/fastvideo_kernel/triton_kernels/st_attn_triton.py | 22 | def get_common_autotune_config(): | CODE |
| LOW | …thon/fastvideo_kernel/triton_kernels/st_attn_triton.py | 241 | def sliding_tile_attention_triton(q: torch.Tensor, | CODE |
| LOW | …ideo_kernel/triton_kernels/block_sparse_attn_triton.py | 703 | def triton_block_sparse_attn_forward(q, k, v, q2k_index, q2k_num, variable_block_sizes): | CODE |
| LOW | …ideo_kernel/triton_kernels/block_sparse_attn_triton.py | 755 | def triton_block_sparse_attn_backward(do, q, k, v, o, M, q2k_index, q2k_num, k2q_index, k2q_num, variable_block_sizes): | CODE |
| LOW | …thon/fastvideo_kernel/triton_kernels/attn_qat_train.py | 47 | def _consumer_blackwell_join_qat_pv_enabled(): | CODE |
| LOW | …thon/fastvideo_kernel/triton_kernels/attn_qat_train.py | 201 | def _host_descriptor_pre_hook(nargs): | CODE |
| LOW | …thon/fastvideo_kernel/triton_kernels/attn_qat_train.py | 597 | def _compute_cross_attn_pointer_offsets(bhid, H, N_CTX_Q, stride_z_q, stride_z_kv, stride_h_q, stride_h_kv): | CODE |
| LOW | fastvideo-kernel/tests/test_sta.py | 76 | def test_sliding_tile_attention(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 146 | def test_qat_attention_forward(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 194 | def test_qat_attention_backward(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 281 | def test_qat_attention_different_shapes(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 328 | def test_qat_attention_non_causal(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 370 | def test_qat_attention_causal(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 412 | def test_qat_attention_causal_backward(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 479 | def test_qat_attention_different_seq_lengths(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 531 | def test_qat_attention_different_seq_lengths_backward(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 621 | def test_fused_attention_forward(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 668 | def test_fused_attention_backward(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 754 | def test_fused_attention_different_shapes(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 802 | def test_fused_attention_non_causal(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 844 | def test_fused_attention_causal(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 886 | def test_fused_attention_causal_backward(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 953 | def test_fused_vs_qat_attention_forward(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 1002 | def test_fused_vs_qat_attention_backward(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 1087 | def test_fused_vs_qat_attention_different_shapes(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 1135 | def test_fused_vs_qat_attention_non_causal(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 1177 | def test_fused_vs_qat_attention_causal(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 1219 | def test_fused_vs_qat_attention_causal_backward(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 1288 | def test_qat_attention_wan_shape_forward(): | CODE |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 1339 | def test_qat_attention_wan_shape_backward(): | CODE |
| LOW | fastvideo-kernel/tests/test_vsa_forward.py | 40 | def block_sparse_forward_test( | CODE |
| LOW | fastvideo-kernel/tests/test_vsa_forward.py | 194 | def test_video_sparse_attention_forward(): | CODE |
| LOW | fastvideo-kernel/tests/test_fused_compress_topk.py | 50 | def test_tie_at_boundary_various_topk(self): | CODE |
| LOW⚡ | fastvideo-kernel/tests/test_fused_compress_topk.py | 83 | def test_random_scores_row_count(self): | CODE |
| 2740 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | fastvideo-kernel/CMakeLists.txt | 32 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | fastvideo-kernel/CMakeLists.txt | 44 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | fastvideo-kernel/CMakeLists.txt | 187 | # --------------------------- | COMMENT |
| MEDIUM | fastvideo-kernel/CMakeLists.txt | 189 | # --------------------------- | COMMENT |
| MEDIUM | fastvideo-kernel/CMakeLists.txt | 313 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | fastvideo-kernel/CMakeLists.txt | 315 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | fastvideo-kernel/CMakeLists.txt | 384 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/build.sh | 14 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/build.sh | 24 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 10 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 12 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 442 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 444 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 82 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 84 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 128 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 130 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 249 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 251 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 372 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 379 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ideo_kernel/triton_kernels/block_sparse_attn_triton.py | 15 | # ──────────────────────────── SPARSE ADDITION BEGIN ─────────────────────────── | COMMENT |
| MEDIUM | …ideo_kernel/triton_kernels/block_sparse_attn_triton.py | 17 | # ──────────────────────────── SPARSE ADDITION END ───────────────────────────── | COMMENT |
| MEDIUM | …ideo_kernel/triton_kernels/block_sparse_attn_triton.py | 38 | # ──────────────────────────── SPARSE ADDITION BEGIN ─────────────────────────── | COMMENT |
| MEDIUM | …ideo_kernel/triton_kernels/block_sparse_attn_triton.py | 169 | # ──────────────────────────── SPARSE ADDITION END ───────────────────────────── | COMMENT |
| MEDIUM | …ideo_kernel/triton_kernels/block_sparse_attn_triton.py | 702 | # ──────────────────────────── SPARSE ADDITION BEGIN ─────────────────────────── | COMMENT |
| MEDIUM | fastvideo-kernel/tests/test_attn_qat_infer.py | 53 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | fastvideo-kernel/tests/test_attn_qat_infer.py | 55 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | fastvideo-kernel/tests/test_attn_qat_infer.py | 93 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | fastvideo-kernel/tests/test_attn_qat_infer.py | 95 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1350 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1352 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1357 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1359 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1364 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1366 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1369 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1371 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1377 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1379 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1390 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1393 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1398 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1400 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1463 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1465 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1470 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1472 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1477 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1479 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1484 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1486 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1497 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1499 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1504 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | fastvideo-kernel/tests/test_attn_qat_train.py | 1506 | # ----------------------------- | COMMENT |
| MEDIUM | fastvideo-kernel/tests/test_attn_qat_train.py | 1432 | # ----------------------------- | COMMENT |
| MEDIUM | fastvideo-kernel/tests/test_attn_qat_train.py | 1434 | # ----------------------------- | COMMENT |
| MEDIUM | fastvideo-kernel/tests/test_attn_qat_train.py | 1538 | # ----------------------------- | COMMENT |
| MEDIUM | fastvideo-kernel/tests/test_attn_qat_train.py | 1540 | # ----------------------------- | COMMENT |
| 698 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | comfyui/__init__.py | 1 | CODE | |
| LOW | comfyui/__init__.py | 1 | CODE | |
| LOW | comfyui/video_generator/video_generator.py | 1 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/vsa_utils.py | 9 | CODE | |
| LOW | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 3 | CODE | |
| LOW | …ernel/python/fastvideo_kernel/block_sparse_attn_256.py | 19 | CODE | |
| LOW | …/python/fastvideo_kernel/block_sparse_attn_cute_fwd.py | 18 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 1 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 3 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 3 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 3 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 9 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 9 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 14 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 14 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 14 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 20 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 20 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 20 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 20 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 20 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 28 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 31 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 31 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 31 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 31 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 31 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 31 | CODE | |
| LOW | …el/python/fastvideo_kernel/block_sparse_attn_varlen.py | 8 | CODE | |
| LOW | …o-kernel/python/fastvideo_kernel/turbodiffusion_ops.py | 1 | CODE | |
| LOW | …o-kernel/python/fastvideo_kernel/turbodiffusion_ops.py | 3 | CODE | |
| LOW | …o-kernel/python/fastvideo_kernel/turbodiffusion_ops.py | 6 | CODE | |
| LOW | …hon/fastvideo_kernel/triton_kernels/fused_attention.py | 10 | CODE | |
| LOW | fastvideo-kernel/tests/test_vsa256_forward_vbs.py | 3 | CODE | |
| LOW | fastvideo-kernel/tests/test_vsa_forward.py | 1 | CODE | |
| LOW | fastvideo-kernel/tests/test_vsa_forward.py | 2 | CODE | |
| LOW | fastvideo-kernel/tests/test_vsa128_backward.py | 3 | CODE | |
| LOW | fastvideo-kernel/tests/test_turbodiffusion.py | 3 | CODE | |
| LOW | fastvideo-kernel/tests/test_turbodiffusion.py | 4 | CODE | |
| LOW | fastvideo-kernel/tests/test_vsa.py | 2 | CODE | |
| LOW | fastvideo-kernel/tests/test_vsa.py | 3 | CODE | |
| LOW | fastvideo-kernel/tests/test_vsa.py | 4 | CODE | |
| LOW | fastvideo-kernel/tests/test_vsa.py | 5 | CODE | |
| LOW | fastvideo-kernel/tests/test_vsa.py | 6 | CODE | |
| LOW | fastvideo-kernel/tests/test_vsa256_backward.py | 9 | CODE | |
| LOW | fastvideo-kernel/tests/test_vsa256_forward.py | 3 | CODE | |
| LOW | fastvideo-kernel/tests/test_vsa_utils.py | 11 | CODE | |
| LOW | fastvideo-kernel/tests/test_vsa256_triton.py | 7 | CODE | |
| LOW | fastvideo-kernel/tests/test_vsa256_forward_cross.py | 3 | CODE | |
| LOW | fastvideo-kernel/benchmarks/bench_vsa.py | 12 | CODE | |
| LOW | …stvideo-kernel/benchmarks/bench_fused_compress_topk.py | 20 | CODE | |
| LOW | fastvideo-kernel/benchmarks/benchmark_attn_qat_train.py | 8 | CODE | |
| LOW | fastvideo-kernel/attn_qat_infer/__init__.py | 16 | CODE | |
| LOW | tests/test_fasth3_packaging.py | 2 | CODE | |
| LOW | tests/local_tests/test_trainer_managed_optimization.py | 1 | CODE | |
| LOW | tests/local_tests/test_trainer_managed_optimization.py | 1 | CODE | |
| LOW | tests/local_tests/ltx2/test_ltx2_pipeline_smoke.py | 306 | CODE | |
| LOW | tests/local_tests/ltx2/test_ltx2_pipeline_smoke.py | 315 | CODE | |
| LOW | tests/local_tests/ltx2/test_ltx2_pipeline_smoke.py | 315 | CODE | |
| LOW | tests/local_tests/ltx2/test_ltx2_pipeline_smoke.py | 315 | CODE | |
| 1464 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | fastvideo-kernel/attn_qat_infer/__init__.py | 0 | copyright (c) 2025 by sageattention team. licensed under the apache license, version 2.0 (the "license"); you may not us | STRING |
| HIGH | fastvideo-kernel/attn_qat_infer/api.py | 0 | copyright (c) 2025 by sageattention team. licensed under the apache license, version 2.0 (the "license"); you may not us | STRING |
| HIGH | …nel/attn_qat_infer/quantization/bench/bench_quant_q.py | 0 | copyright (c) 2025 by sageattention team. licensed under the apache license, version 2.0 (the "license"); you may not us | STRING |
| HIGH | …ernel/attn_qat_infer/quantization/bench/bench_utils.py | 0 | copyright (c) 2025 by sageattention team. licensed under the apache license, version 2.0 (the "license"); you may not us | STRING |
| HIGH | …nel/attn_qat_infer/quantization/bench/bench_quant_k.py | 0 | copyright (c) 2025 by sageattention team. licensed under the apache license, version 2.0 (the "license"); you may not us | STRING |
| HIGH | …nel/attn_qat_infer/quantization/bench/bench_quant_v.py | 0 | copyright (c) 2025 by sageattention team. licensed under the apache license, version 2.0 (the "license"); you may not us | STRING |
| HIGH | docs/inference/add_pipeline.md | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | …lines/preprocess/preprocess_pipeline_ode_trajectory.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | …video/pipelines/preprocess/preprocess_pipeline_text.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | …video/pipelines/preprocess/preprocess_pipeline_base.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | …ame2/matrixgame2_preprocess_pipeline_ode_trajectory.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | fastvideo/pipelines/basic/flux_2/flux_2_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | …deo/pipelines/basic/hunyuan15/hunyuan15_sr_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | …tvideo/pipelines/basic/hunyuan15/hunyuan15_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | …eo/pipelines/basic/hunyuan15/hunyuan15_2sr_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | …eo/pipelines/basic/hunyuan15/hunyuan15_i2v_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | fastvideo/pipelines/basic/cosmos/cosmos_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | fastvideo/pipelines/basic/gen3c/gen3c_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | …elines/basic/turbodiffusion/turbodiffusion_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | …es/basic/turbodiffusion/turbodiffusion_i2v_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | …tvideo/pipelines/basic/gamecraft/gamecraft_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | fastvideo/pipelines/basic/hunyuan/hunyuan_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | fastvideo/pipelines/basic/wan/wan_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | …stvideo/pipelines/basic/wan/wan_causal_dmd_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | fastvideo/pipelines/basic/wan/wan_i2v_dmd_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | fastvideo/pipelines/basic/wan/wan_v2v_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | fastvideo/pipelines/basic/wan/wan_i2v_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | fastvideo/pipelines/basic/wan/wan_dmd_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | fastvideo/pipelines/basic/longcat/longcat_pipeline.py | 0 | set up pipeline stages with proper dependency injection. | STRING |
| HIGH | fastvideo/distributed/parallel_state.py | 0 | note: we assume that the input tensor is on the same device across all the ranks. note: `dst` is the local rank of the d | STRING |
| HIGH | …o/distributed/device_communicators/cpu_communicator.py | 0 | note: we assume that the input tensor is on the same device across all the ranks. note: `dst` is the local rank of the d | STRING |
| HIGH | …buted/device_communicators/base_device_communicator.py | 0 | note: we assume that the input tensor is on the same device across all the ranks. note: `dst` is the local rank of the d | STRING |
| HIGH | fastvideo/distributed/parallel_state.py | 0 | note: `dst` is the local rank of the destination rank. | STRING |
| HIGH | …/distributed/device_communicators/cuda_communicator.py | 0 | note: `dst` is the local rank of the destination rank. | STRING |
| HIGH | …buted/device_communicators/base_device_communicator.py | 0 | note: `dst` is the local rank of the destination rank. | STRING |
| HIGH | …o/distributed/device_communicators/npu_communicator.py | 0 | note: `dst` is the local rank of the destination rank. | STRING |
| HIGH | fastvideo/distributed/parallel_state.py | 0 | sends a tensor to the destination rank in a non-blocking way | STRING |
| HIGH | …/distributed/device_communicators/cuda_communicator.py | 0 | sends a tensor to the destination rank in a non-blocking way | STRING |
| HIGH | …buted/device_communicators/base_device_communicator.py | 0 | sends a tensor to the destination rank in a non-blocking way | STRING |
| HIGH | …o/distributed/device_communicators/npu_communicator.py | 0 | sends a tensor to the destination rank in a non-blocking way | STRING |
| HIGH | fastvideo/dataset/dataloader/record_schema.py | 0 | create a record for the parquet dataset with clip features. | STRING |
| HIGH | …tvideo/pipelines/preprocess/preprocess_pipeline_i2v.py | 0 | create a record for the parquet dataset with clip features. | STRING |
| HIGH | …process/matrixgame2/matrixgame2_preprocess_pipeline.py | 0 | create a record for the parquet dataset with clip features. | STRING |
| HIGH | fastvideo/training/training_pipeline.py | 0 | add visualization data to tracker logging and save frames to disk. | STRING |
| HIGH | …stvideo/training/self_forcing_distillation_pipeline.py | 0 | add visualization data to tracker logging and save frames to disk. | STRING |
| HIGH | fastvideo/training/distillation_pipeline.py | 0 | add visualization data to tracker logging and save frames to disk. | STRING |
| HIGH | …ning/matrixgame2_self_forcing_distillation_pipeline.py | 0 | override to properly handle i2v concatenation - call parent first, then concatenate image conditioning. | STRING |
| HIGH | fastvideo/training/wan_i2v_distillation_pipeline.py | 0 | override to properly handle i2v concatenation - call parent first, then concatenate image conditioning. | STRING |
| HIGH | fastvideo/training/wan_i2v_training_pipeline.py | 0 | override to properly handle i2v concatenation - call parent first, then concatenate image conditioning. | STRING |
| HIGH | fastvideo/training/matrixgame2_training_pipeline.py | 0 | override to properly handle i2v concatenation - call parent first, then concatenate image conditioning. | STRING |
| HIGH | fastvideo/pipelines/composed_pipeline_base.py | 0 | generate a video or image using the pipeline. args: batch: the batch to generate from. fastvideo_args: the inference arg | STRING |
| HIGH | …deo/pipelines/basic/hunyuan15/hunyuan15_sr_pipeline.py | 0 | generate a video or image using the pipeline. args: batch: the batch to generate from. fastvideo_args: the inference arg | STRING |
| HIGH | …eo/pipelines/basic/hunyuan15/hunyuan15_2sr_pipeline.py | 0 | generate a video or image using the pipeline. args: batch: the batch to generate from. fastvideo_args: the inference arg | STRING |
| HIGH | …deo/pipelines/basic/hunyuan15/hunyuan15_sr_pipeline.py | 0 | wan video-to-video diffusion pipeline implementation. this module contains an implementation of the wan video-to-video d | STRING |
| HIGH | …tvideo/pipelines/basic/hunyuan15/hunyuan15_pipeline.py | 0 | wan video-to-video diffusion pipeline implementation. this module contains an implementation of the wan video-to-video d | STRING |
| HIGH | …eo/pipelines/basic/hunyuan15/hunyuan15_2sr_pipeline.py | 0 | wan video-to-video diffusion pipeline implementation. this module contains an implementation of the wan video-to-video d | STRING |
| HIGH | …eo/pipelines/basic/hunyuan15/hunyuan15_i2v_pipeline.py | 0 | wan video-to-video diffusion pipeline implementation. this module contains an implementation of the wan video-to-video d | STRING |
| HIGH | fastvideo/pipelines/basic/hunyuan/hunyuan_pipeline.py | 0 | wan video-to-video diffusion pipeline implementation. this module contains an implementation of the wan video-to-video d | STRING |
| HIGH | fastvideo/pipelines/basic/cosmos/cosmos_pipeline.py | 0 | wan video-to-video diffusion pipeline implementation. this module contains an implementation of the wan video-to-video d | STRING |
| HIGH | fastvideo/pipelines/basic/wan/wan_pipeline.py | 0 | wan video-to-video diffusion pipeline implementation. this module contains an implementation of the wan video-to-video d | STRING |
| 42 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | comfyui/video_generator/video_generator.py | 145 | except Exception as e: | CODE |
| MEDIUM | comfyui/video_generator/video_generator.py | 146 | print(f"Error sending interrupt signal: {e}") | CODE |
| LOW | comfyui/video_generator/video_generator.py | 161 | except Exception as e: | CODE |
| MEDIUM | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 15 | def _get_sm90_ops(): | CODE |
| LOW⚡ | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 18 | except Exception: | CODE |
| LOW | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 69 | except Exception: | CODE |
| LOW | …eo-kernel/python/fastvideo_kernel/block_sparse_attn.py | 101 | except Exception as e: # pragma: no cover - environment issue | CODE |
| LOW | fastvideo-kernel/tests/test_vmoba_correctness.py | 85 | except Exception as e: | CODE |
| LOW | fastvideo-kernel/benchmarks/bench_vsa.py | 24 | except Exception as e: # pragma: no cover | CODE |
| LOW | tests/local_tests/ltx2/test_ltx2_gemma_parity.py | 147 | except Exception: | CODE |
| LOW | tests/local_tests/ltx2/test_ltx2_gemma_encoder.py | 61 | except Exception as exc: | CODE |
| LOW⚡ | …ests/stable_audio/test_stable_audio_pipeline_parity.py | 62 | except Exception: | CODE |
| MEDIUM | …ests/stable_audio/test_stable_audio_pipeline_parity.py | 55 | def _stable_audio_tools_inference_available() -> bool: | CODE |
| LOW | …ts/local_tests/stable_audio/test_oobleck_vae_parity.py | 49 | except Exception: | CODE |
| MEDIUM | …ts/local_tests/stable_audio/test_oobleck_vae_parity.py | 44 | def _stable_audio_tools_available() -> bool: | CODE |
| LOW | …cal_tests/stable_audio/test_stable_audio_a2a_parity.py | 34 | except Exception: | CODE |
| MEDIUM | …cal_tests/stable_audio/test_stable_audio_a2a_parity.py | 29 | def _stable_audio_tools_inference_available() -> bool: | CODE |
| LOW | …tests/stable_audio/test_oobleck_vae_official_parity.py | 45 | except Exception: | CODE |
| MEDIUM | …tests/stable_audio/test_oobleck_vae_official_parity.py | 41 | def _stable_audio_tools_available() -> bool: | CODE |
| LOW | tests/local_tests/stable_audio/_stable_audio_helpers.py | 39 | except Exception: | CODE |
| LOW | tests/local_tests/glm_image/test_pipeline_parity.py | 116 | except Exception: | CODE |
| LOW | tests/local_tests/glm_image/test_pipeline_parity.py | 128 | except Exception: | CODE |
| MEDIUM | tests/local_tests/glm_image/test_pipeline_parity.py | 27 | def _upstream_glm_image_available() -> bool: | CODE |
| LOW | tests/local_tests/flux2/test_flux2_component_parity.py | 137 | except Exception: | CODE |
| LOW | tests/local_tests/flux2/test_flux2_component_parity.py | 181 | except Exception: | CODE |
| LOW | tests/local_tests/flux2/test_flux2_component_parity.py | 188 | except Exception: | CODE |
| LOW | …sts/local_tests/zimage/test_zimage_scheduler_parity.py | 61 | except Exception as exc: | CODE |
| LOW | tests/local_tests/zimage/test_zimage_vae_parity.py | 67 | except Exception as exc: | CODE |
| LOW | …_world/test_dreamx_world_camera_conditioning_parity.py | 39 | except Exception as exc: # noqa: BLE001 - local parity should skip missing reference deps. | CODE |
| LOW | …reamx_world/test_dreamx_world_ar_transformer_parity.py | 59 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW⚡ | …/dreamx_world/test_dreamx_world_text_encoder_parity.py | 98 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | …cal_tests/dreamx_world/test_dreamx_world_vae_parity.py | 161 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW⚡ | …s/dreamx_world/test_dreamx_world_transformer_parity.py | 114 | except Exception as exc: # noqa: BLE001 - local parity should skip missing refs. | CODE |
| LOW | …s/dreamx_world/test_dreamx_world_transformer_parity.py | 209 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | tests/local_tests/gen3c/test_gen3c.py | 383 | except Exception as e: | CODE |
| LOW | …magi_human/test_magi_human_sa_audio_official_parity.py | 71 | except Exception: | CODE |
| LOW | …cal_tests/magi_human/test_magi_human_distill_parity.py | 55 | except Exception: | CODE |
| LOW | tests/local_tests/magi_human/test_magi_human_parity.py | 60 | except Exception: | CODE |
| LOW | …al_tests/magi_human/test_magi_human_sa_audio_parity.py | 50 | except Exception: | CODE |
| LOW | …al_tests/magi_human/test_magi_human_pipeline_parity.py | 84 | except Exception: | CODE |
| LOW | …al_tests/magi_human/test_magi_human_pipeline_parity.py | 119 | except Exception as exc: | CODE |
| LOW | …al_tests/magi_human/test_magi_human_pipeline_parity.py | 167 | except Exception: | CODE |
| LOW | …s/local_tests/magi_human/test_magi_human_vae_parity.py | 64 | except Exception as exc: | CODE |
| LOW | …cal_tests/magi_human/test_magi_human_pipeline_smoke.py | 176 | except Exception: | CODE |
| LOW | …cal_tests/magi_human/test_magi_human_t5gemma_parity.py | 48 | except Exception: | CODE |
| LOW | …/magi_human/test_magi_human_sr1080p_pipeline_parity.py | 60 | except Exception: | CODE |
| LOW | …s/magi_human/test_magi_human_sr540p_pipeline_parity.py | 49 | except Exception: | CODE |
| LOW | tests/local_tests/gamecraft/test_gamecraft_parity.py | 141 | except Exception as e: | CODE |
| LOW⚡ | …ocal_tests/gamecraft/test_gamecraft_pipeline_parity.py | 300 | except Exception as e: | CODE |
| LOW | …sts/local_tests/gamecraft/test_gamecraft_vae_parity.py | 161 | except Exception: | CODE |
| LOW | …ocal_tests/gamecraft/test_gamecraft_encoders_parity.py | 99 | except Exception as e: | CODE |
| LOW | …ocal_tests/gamecraft/test_gamecraft_encoders_parity.py | 166 | except Exception as e: | CODE |
| LOW | …ocal_tests/gamecraft/test_gamecraft_encoders_parity.py | 237 | except Exception as e: | CODE |
| LOW | tests/local_tests/sd35/test_sd35_component_parity.py | 76 | except Exception: | CODE |
| LOW | tests/local_tests/sd35/test_sd35_component_parity.py | 120 | except Exception: | CODE |
| LOW | tests/local_tests/sd35/test_sd35_component_parity.py | 127 | except Exception: | CODE |
| LOW | …/kandinsky5/test_kandinsky5_lite_transformer_parity.py | 42 | except Exception as exc: | CODE |
| LOW | tests/local_tests/helpers/magi_human_upstream.py | 137 | except Exception: | CODE |
| LOW | …dd-model-09-pipeline/templates/pipeline_parity_test.py | 63 | except Exception as exc: # pragma: no cover - scaffold guard | CODE |
| LOW | …add-model-02-parity/templates/component_parity_test.py | 69 | except Exception as exc: # noqa: BLE001 - local parity should skip missing refs. | CODE |
| 345 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | collect_env.py | 180 | CODE | |
| LOW | collect_env.py | 394 | CODE | |
| LOW | comfyui/video_generator/inference_args.py | 46 | CODE | |
| LOW | comfyui/video_generator/video_generator.py | 127 | CODE | |
| LOW | fastvideo-kernel/python/fastvideo_kernel/vmoba.py | 508 | CODE | |
| LOW | …thon/fastvideo_kernel/triton_kernels/st_attn_triton.py | 97 | CODE | |
| LOW | fastvideo-kernel/tests/utils.py | 27 | CODE | |
| LOW | …ernel/attn_qat_infer/quantization/bench/bench_utils.py | 95 | CODE | |
| LOW | tests/test_block_sparse_sm100a.py | 61 | CODE | |
| LOW | tests/local_tests/ltx2/test_ltx2_vae.py | 34 | CODE | |
| LOW | tests/local_tests/ltx2/test_ltx2_gemma_encoder.py | 23 | CODE | |
| LOW | tests/local_tests/ltx2/test_ltx2_audio_vae.py | 38 | CODE | |
| LOW | tests/local_tests/flux2/debug_flux2_klein_tp_trace.py | 209 | CODE | |
| LOW | …ts/local_tests/pipelines/test_flux2_pipeline_parity.py | 204 | CODE | |
| LOW | …al_tests/magi_human/test_magi_human_pipeline_parity.py | 311 | CODE | |
| LOW | tests/local_tests/gamecraft/test_gamecraft_parity.py | 207 | CODE | |
| LOW | tests/local_tests/gamecraft/test_gamecraft_parity.py | 453 | CODE | |
| LOW | …ts/local_tests/minimax_h3/test_mlx_audio_vae_parity.py | 58 | CODE | |
| LOW | …ills/add-model-08-trace/templates/block_trace_debug.py | 86 | CODE | |
| LOW | …ills/add-model-08-trace/templates/block_trace_debug.py | 242 | CODE | |
| LOW | …d-model-07-conversion/templates/family_to_diffusers.py | 94 | CODE | |
| LOW | docs/generate_examples.py | 375 | CODE | |
| LOW | docs/generate_examples.py | 463 | CODE | |
| LOW | docs/generate_examples.py | 203 | CODE | |
| LOW | fastvideo/fastvideo_args.py | 805 | CODE | |
| LOW | fastvideo/fastvideo_args.py | 1186 | CODE | |
| LOW | fastvideo/logger.py | 239 | CODE | |
| LOW | fastvideo/utils.py | 972 | CODE | |
| LOW | fastvideo/utils.py | 1182 | CODE | |
| LOW | fastvideo/utils.py | 158 | CODE | |
| LOW | fastvideo/utils.py | 199 | CODE | |
| LOW | fastvideo/utils.py | 327 | CODE | |
| LOW | fastvideo/utils.py | 364 | CODE | |
| LOW | fastvideo/forward_context.py | 54 | CODE | |
| LOW | fastvideo/attention/backends/bsa_attn.py | 206 | CODE | |
| LOW | fastvideo/attention/backends/bsa_attn.py | 485 | CODE | |
| LOW | fastvideo/attention/backends/video_sparse_attn_h3.py | 554 | CODE | |
| LOW | fastvideo/platforms/rocm.py | 64 | CODE | |
| LOW | fastvideo/platforms/cuda.py | 169 | CODE | |
| LOW | fastvideo/platforms/cuda.py | 408 | CODE | |
| LOW | fastvideo/layers/linear.py | 526 | CODE | |
| LOW | fastvideo/layers/linear.py | 830 | CODE | |
| LOW | fastvideo/layers/quantization/nvfp4_config.py | 480 | CODE | |
| LOW | fastvideo/distributed/parallel_state.py | 1021 | CODE | |
| LOW | fastvideo/distributed/parallel_state.py | 444 | CODE | |
| LOW | …tvideo/distributed/device_communicators/ulysses_a2a.py | 382 | CODE | |
| LOW | …tvideo/distributed/device_communicators/ulysses_a2a.py | 161 | CODE | |
| LOW | fastvideo/dataset/validation_dataset.py | 19 | CODE | |
| LOW | fastvideo/dataset/validation_dataset.py | 99 | CODE | |
| LOW | fastvideo/dataset/utils.py | 23 | CODE | |
| LOW | fastvideo/dataset/utils.py | 93 | CODE | |
| LOW | fastvideo/dataset/parquet_dataset_map_style.py | 113 | CODE | |
| LOW | fastvideo/dataset/parquet_dataset_iterable_style.py | 124 | CODE | |
| LOW | fastvideo/dataset/parquet_dataset_iterable_style.py | 31 | CODE | |
| LOW | fastvideo/dataset/dataloader/parquet_io.py | 102 | CODE | |
| LOW | fastvideo/training/training_pipeline.py | 515 | CODE | |
| LOW | fastvideo/training/training_pipeline.py | 703 | CODE | |
| LOW | fastvideo/training/training_pipeline.py | 868 | CODE | |
| LOW | …stvideo/training/self_forcing_distillation_pipeline.py | 141 | CODE | |
| LOW | …stvideo/training/self_forcing_distillation_pipeline.py | 559 | CODE | |
| 297 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | comfyui/__init__.py | 4 | __all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY'] | CODE |
| LOW | comfyui/video_generator/video_generator.py | 32 | def update_config_from_args(config: Any, args_dict: dict[str, Any]) -> None: | CODE |
| LOW | fastvideo-kernel/python/fastvideo_kernel/__init__.py | 40 | __all__ = [ | CODE |
| LOW | …fastvideo_kernel/triton_kernels/fused_compress_topk.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | …hon/fastvideo_kernel/triton_kernels/fused_attention.py | 55 | __all__ = ["attention"] | CODE |
| LOW | fastvideo-kernel/benchmarks/bench_vsa.py | 28 | def set_seed(seed: int = 42) -> None: | CODE |
| LOW | …stvideo-kernel/benchmarks/bench_fused_compress_topk.py | 36 | def set_seed(seed: int = 42) -> None: | CODE |
| LOW | tests/local_tests/flux2/debug_flux2_klein_tp_trace.py | 105 | def _set_submodule(model: torch.nn.Module, name: str, module: torch.nn.Module) -> None: | CODE |
| LOW | fastvideo/registry.py | 1442 | __all__ = [ | CODE |
| LOW | fastvideo/__init__.py | 6 | __all__ = ["VideoGenerator", "PipelineConfig", "SamplingParam", "__version__"] | CODE |
| LOW | fastvideo/utils.py | 950 | def set_random_seed(seed: int) -> None: | CODE |
| LOW | fastvideo/profiler.py | 128 | def set_global_controller(controller: TorchProfilerController | None) -> None: | CODE |
| LOW | fastvideo/profiler.py | 360 | def _set_collection(self, enabled: bool) -> None: | CODE |
| LOW | fastvideo/attention/__init__.py | 7 | __all__ = [ | CODE |
| LOW | fastvideo/attention/layer.py | 107 | def _set_compile_forward_enabled(self, enabled: bool) -> None: | CODE |
| LOW | fastvideo/platforms/__init__.py | 186 | __all__ = ['Platform', 'PlatformEnum', 'current_platform', "_init_trace"] | CODE |
| LOW | fastvideo/layers/quantization/fp8_qat_train_config.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | fastvideo/layers/quantization/nvfp4_qat_train_config.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | fastvideo/layers/quantization/fp8_config.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | fastvideo/layers/quantization/fp8_config.py | 245 | __all__ = [ | CODE |
| LOW | fastvideo/layers/quantization/nvfp4_config.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | fastvideo/layers/quantization/nvfp4_config.py | 550 | __all__ = [ | CODE |
| LOW | fastvideo/layers/quantization/nvfp4_qat_config.py | 46 | logger = logging.getLogger(__name__) | CODE |
| LOW | fastvideo/layers/quantization/nvfp4_qat_config.py | 236 | __all__ = [ | CODE |
| LOW | fastvideo/distributed/__init__.py | 11 | __all__ = [ | CODE |
| LOW | …deo/distributed/device_communicators/pynccl_wrapper.py | 306 | __all__ = [ | CODE |
| LOW | …deo/distributed/device_communicators/pyhccl_wrapper.py | 192 | __all__ = [ | CODE |
| LOW | fastvideo/logging_utils/__init__.py | 5 | __all__ = [ | CODE |
| LOW | fastvideo/dataset/__init__.py | 42 | __all__ = [ | CODE |
| LOW | fastvideo/training/training_pipeline.py | 89 | def set_schemas(self) -> None: | CODE |
| LOW | fastvideo/training/__init__.py | 6 | __all__ = [ | CODE |
| LOW | fastvideo/tests/contract/test_dynamo_shape.py | 318 | __all__ = [ | CODE |
| LOW | fastvideo/tests/golden_gate/test_longcat.py | 23 | __all__ = ["distributed_runtime"] | CODE |
| LOW | fastvideo/tests/golden_gate/test_gamecraft.py | 22 | __all__ = ["distributed_runtime"] | CODE |
| LOW | fastvideo/tests/golden_gate/test_zimage.py | 22 | __all__ = ["distributed_runtime"] | CODE |
| LOW | fastvideo/tests/golden_gate/test_wan_t2v.py | 18 | __all__ = ["distributed_runtime"] | CODE |
| LOW | fastvideo/tests/golden_gate/test_matrixgame.py | 34 | __all__ = ["distributed_runtime"] | CODE |
| LOW | fastvideo/tests/golden_gate/test_sd35.py | 23 | __all__ = ["distributed_runtime"] | CODE |
| LOW | fastvideo/tests/golden_gate/test_kandinsky5.py | 27 | __all__ = ["distributed_runtime"] | CODE |
| LOW | fastvideo/tests/golden_gate/test_lingbot.py | 23 | __all__ = ["distributed_runtime"] | CODE |
| LOW | fastvideo/tests/golden_gate/test_glm_image.py | 22 | __all__ = ["distributed_runtime"] | CODE |
| LOW | fastvideo/tests/golden_gate/test_gen3c.py | 20 | __all__ = ["distributed_runtime"] | CODE |
| LOW | fastvideo/tests/golden_gate/test_flux.py | 21 | __all__ = ["distributed_runtime"] | CODE |
| LOW | fastvideo/tests/golden_gate/test_flux2_klein.py | 25 | __all__ = ["distributed_runtime"] | CODE |
| LOW | fastvideo/tests/golden_gate/test_stable_audio.py | 23 | __all__ = ["distributed_runtime"] | CODE |
| LOW | fastvideo/tests/golden_gate/test_ltx2.py | 29 | __all__ = ["distributed_runtime"] | CODE |
| LOW | fastvideo/tests/golden_gate/test_dreamx.py | 25 | __all__ = ["distributed_runtime"] | CODE |
| LOW | fastvideo/tests/train/trainer/test_validation.py | 50 | def set_tracker(self, tracker: Any) -> None: | CODE |
| LOW | fastvideo/tests/performance/identity.py | 411 | __all__ = [ | CODE |
| LOW | fastvideo/pipelines/composed_pipeline_base.py | 117 | def set_trainable(self) -> None: | CODE |
| LOW | fastvideo/pipelines/__init__.py | 66 | __all__ = [ | CODE |
| LOW | fastvideo/pipelines/lora_pipeline.py | 226 | def set_trainable(self) -> None: | CODE |
| LOW | fastvideo/pipelines/stages/__init__.py | 49 | __all__ = [ | CODE |
| LOW | fastvideo/pipelines/basic/flux_2/__init__.py | 7 | __all__ = ["Flux2Pipeline", "Flux2KleinPipeline"] | CODE |
| LOW | fastvideo/pipelines/basic/matrixgame3/__init__.py | 4 | __all__ = ["MatrixGame3I2VPipeline"] | CODE |
| LOW | fastvideo/pipelines/basic/ltx2/continuation.py | 381 | __all__ = [ | CODE |
| LOW⚡ | fastvideo/pipelines/basic/ltx2/stage_overrides.py | 53 | __all__ = [ | CODE |
| LOW | fastvideo/pipelines/basic/ltx2/stages/ltx2_refine.py | 390 | __all__ = [ | CODE |
| LOW | fastvideo/pipelines/basic/ltx2/stages/__init__.py | 18 | __all__ = [ | CODE |
| LOW | …pipelines/basic/ltx2/stages/ltx2_image_conditioning.py | 484 | __all__ = [ | CODE |
| 165 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | fastvideo/pipelines/stages/validators.py | 338 | Add a validation check for a field. Args: field_name: Name of the field being chec | STRING |
| HIGH | …video/pipelines/preprocess/preprocess_pipeline_base.py | 67 | Create a record for the Parquet dataset using a generic schema-based approach. Args: prepro | STRING |
| HIGH | fastvideo/models/vision_utils.py | 197 | Load frames from a video file using ffmpeg. Args: video_path: Path to the video file Returns: | STRING |
| HIGH | fastvideo/models/loader/fsdp_load.py | 560 | Converting full state dict into a sharded state dict and loading it into FSDP model (if training) or normal hug | STRING |
| HIGH | fastvideo/models/encoders/qwen2_5_vl_custom.py | 1500 | Calculate the 3D rope index based on image and video's temporal, height and width in LLM. Explanation: | STRING |
| HIGH | fastvideo/models/encoders/qwen2_5_vl_custom.py | 1939 | Calculate the 3D rope index based on image and video's temporal, height and width in LLM. Explanation: | STRING |
| HIGH | fastvideo/mlx_runtime/checkpoint.py | 53 | Return the manifest name for a supported MLX data type. Parameters: dtype: The MLX data type to convert. | STRING |
| HIGH | fastvideo/mlx_runtime/checkpoint.py | 180 | Reconstruct an MLXWanDiT model from a versioned checkpoint. Parameters: checkpoint_dir (str | Path): D | STRING |
| HIGH | fastvideo/mlx_runtime/memory.py | 60 | Convert a positive memory limit from GiB to bytes. Parameters: value (float | None): Memory limit in G | STRING |
| HIGH | fastvideo/mlx_runtime/memory.py | 101 | Set a PyTorch MPS watermark environment variable. Parameters: name (str): Name of the environment variable | STRING |
| HIGH | fastvideo/mlx_runtime/refine.py | 255 | Upsample 5-D latent arrays spatially using nearest-neighbor or bilinear interpolation. Parameters: latents | STRING |
| HIGH | fastvideo/mlx_runtime/refine.py | 340 | Upsample clean latents spatially and optionally mix them with Gaussian noise. Parameters: clean_latent | STRING |
| HIGH | fastvideo/mlx_runtime/refine.py | 374 | Derive the refinement noise level from the first refinement timestep. Parameters: schedule (MLXDMDSchedule) | STRING |
| HIGH | fastvideo/mlx_runtime/refine.py | 395 | Derive stage-2 timesteps from the stage-1 DMD grid. The stage-2 pass must start *below* full noise, otherwise the h | STRING |
| HIGH | fastvideo/mlx_runtime/refine.py | 526 | Run base denoising and, when enabled, spatial refinement denoising. Parameters: dit: DiT callable used | STRING |
| HIGH | fastvideo/mlx_runtime/sampling.py | 112 | Compute one DMD sampling update, optionally re-noising the clean latent prediction. Args: latents: Ret | STRING |
| HIGH | fastvideo/mlx_runtime/fast_spatial.py | 130 | Build a plan for reduced-resolution denoising followed by pixel-space upsampling. Parameters: upsample | STRING |
| HIGH | fastvideo/mlx_runtime/wan_vae.py | 89 | Return a validated TAEHV checkpoint for the specified latent channel count. Parameters: z_dim (int): N | STRING |
| HIGH | fastvideo/mlx_runtime/wan_vae.py | 411 | Decode latent representations with the MLX TAEHV decoder. Parameters: latents_np (np.ndarray): Latents | STRING |
| HIGH | fastvideo/mlx_runtime/wan_vae.py | 484 | Decode latent video frames and export them as an MP4 file. Parameters: latents_np (np.ndarray): Latent vide | STRING |
| HIGH | fastvideo/mlx_runtime/prompt_enhance.py | 104 | Normalize a user prompt for enhancement. Parameters: prompt (str): User-provided prompt text. Ret | STRING |
| HIGH | fastvideo/mlx_runtime/prompt_enhance.py | 179 | Enhance a user prompt with a locally hosted mlx-lm instruction model. Parameters: prompt (str): The pr | STRING |
| HIGH | fastvideo/mlx_runtime/prompt_enhance.py | 276 | Enhance a prompt using the selected backend, falling back to a deterministic template when configured for automatic sele | STRING |
| HIGH | fastvideo/mlx_runtime/frame_upsample.py | 39 | Map a pixel upsample mode name onto its OpenCV interpolation flag. Parameters: mode (str): One of :dat | STRING |
| HIGH | fastvideo/mlx_runtime/frame_upsample.py | 92 | Resample one decoded RGB frame to the target pixel size. Parameters: frame (np.ndarray): HxWx3 uint8 R | STRING |
| HIGH | fastvideo/mlx_runtime/windowed_attention.py | 35 | Determine the attention scaling factor from an explicit value or head dimension. Parameters: head_dim | STRING |
| HIGH | fastvideo/mlx_runtime/windowed_attention.py | 56 | Validate compatible rank-4 query, key, and value tensors. Parameters: q (mx.array): Query tensor shape | STRING |
| HIGH | fastvideo/mlx_runtime/windowed_attention.py | 163 | Apply symmetric sliding-window self-attention with optional global sink positions. Parameters: q (mx.a | STRING |
| HIGH | fastvideo/mlx_runtime/taehv_decode.py | 74 | Ensure the TAEW2.1 checkpoint is available locally. A caller-provided path is treated as trusted and is only c | STRING |
| HIGH | fastvideo/mlx_runtime/taehv_decode.py | 132 | Load the TAEHV class from the vendored implementation or a local source override. Parameters: source_path ( | STRING |
| HIGH | fastvideo/mlx_runtime/quant_backends.py | 82 | Normalize a quantization backend name and validate that it is supported. Parameters: backend (str): Backend | STRING |
| HIGH | fastvideo/mlx_runtime/quant_backends.py | 168 | Quantize a two-dimensional weight matrix using the specified native MLX backend. Parameters: w (mx.arr | STRING |
| HIGH | fastvideo/mlx_runtime/quant_backends.py | 256 | Measure the effective storage cost of a quantized weight. Parameters: backend (str): Quantization back | STRING |
| HIGH | examples/inference/basic/mlx_wan_quant_benchmark.py | 23 | Parse and validate a comma-separated list of quantization modes. Parameters: raw (str): Comma-separate | STRING |
| HIGH | examples/inference/basic/mlx_wan_quant_benchmark.py | 97 | Decode latents to a video and collect export timing and PyTorch MPS memory metrics. Parameters: args: | STRING |
| HIGH | examples/inference/basic/mlx_wan_quant_benchmark.py | 144 | Run denoising for one quantization mode and collect performance and memory metrics. Parameters: mode ( | STRING |
| HIGH | examples/inference/basic/mlx_wan_video_quality.py | 13 | Read all frames from a video file as an RGB NumPy array. Parameters: path (Path): Path to the video fi | STRING |
| HIGH | examples/inference/basic/mlx_wan_video_quality.py | 44 | Compute pixel-level comparison metrics between candidate and reference video frames. Parameters: candi | STRING |
| HIGH | examples/inference/basic/mlx_wan_decode_benchmark.py | 45 | Parse and validate a comma-separated list of decoding backends. Parameters: raw (str): Comma-separated | STRING |
| HIGH | apps/fastvideo_studio/job_runner.py | 594 | Return log lines for a job. Args: job_id: The job ID after: Return only lines a | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | collect_env.py | 301 | # example outputs of CPU infos | COMMENT |
| LOW | collect_env.py | 321 | # pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand | COMMENT |
| LOW | collect_env.py | 341 | # L1tf: Not affected | COMMENT |
| LOW | collect_env.py | 361 | # ProcessorType=3 | COMMENT |
| LOW | pyproject.toml | 121 | fastvideo-kernel = [ | COMMENT |
| LOW | requirements-mkdocs.txt | 1 | # This file was autogenerated by uv via the following command: | COMMENT |
| LOW | requirements-mkdocs.txt | 21 | gitdb==4.0.12 | COMMENT |
| LOW | requirements-mkdocs.txt | 41 | # mkdocs | COMMENT |
| LOW | requirements-mkdocs.txt | 61 | # mkdocs-api-autonav | COMMENT |
| LOW | requirements-mkdocs.txt | 81 | # via -r requirements-mkdocs.in | COMMENT |
| LOW | requirements-mkdocs.txt | 101 | # via mkdocs-material | COMMENT |
| LOW | fastvideo-kernel/CMakeLists.txt | 21 | else() | COMMENT |
| LOW | fastvideo-kernel/CMakeLists.txt | 381 | COMMENT | |
| LOW | fastvideo-kernel/build.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …o-kernel/python/fastvideo_kernel/turbodiffusion_ops.py | 481 | # But ctx.save_for_backward saves the original x (3D if input was 3D). | COMMENT |
| LOW | …o-kernel/python/fastvideo_kernel/turbodiffusion_ops.py | 501 | # dy = grad_output | COMMENT |
| LOW | …o-kernel/python/fastvideo_kernel/turbodiffusion_ops.py | 521 | # Using PyTorch autograd for reference logic: | COMMENT |
| LOW | …fastvideo_kernel/triton_kernels/fused_compress_topk.py | 241 | scores_f32 = scores.to(tl.float32) | COMMENT |
| LOW | …l/python/fastvideo_kernel/triton_kernels/sla_triton.py | 1 | # SPDX-License-Identifier: Apache-2.0 | COMMENT |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 1421 | ) | COMMENT |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 1521 | ) | COMMENT |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 1581 | # test_fused_attention_non_causal() | COMMENT |
| LOW | fastvideo-kernel/attn_qat_infer/blackwell/utils.h | 21 | #include <stdlib.h> | COMMENT |
| LOW | …ideo-kernel/attn_qat_infer/blackwell/epilogue_tma_ws.h | 141 | Tensor sO = cute::as_position_independent_swizzle_tensor(make_tensor(make_smem_ptr(shared_storage.smem_o.begin() | COMMENT |
| LOW | …ideo-kernel/attn_qat_infer/blackwell/epilogue_tma_ws.h | 161 | // #pragma unroll | COMMENT |
| LOW | …tvideo-kernel/attn_qat_infer/blackwell/static_switch.h | 1 | // Inspired by | COMMENT |
| LOW | fastvideo-kernel/attn_qat_infer/blackwell/kernel_ws.h | 21 | COMMENT | |
| LOW | …tvideo-kernel/attn_qat_infer/quantization/cuda_utils.h | 1 | #pragma once | COMMENT |
| LOW | tests/local_tests/zimage/test_zimage_encoder_parity.py | 221 | model = SimpleNamespace( | COMMENT |
| LOW | tests/local_tests/dreamx_world/README.md | 201 | # decoded: 9 frames, (64, 64, 3), uint8 | COMMENT |
| LOW | tests/local_tests/magi_human/test_magi_human_parity.py | 241 | COMMENT | |
| LOW | .agents/scripts/sync-skills.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …add-model-02-parity/templates/component_parity_test.py | 181 | f"diff_max={diff.max().item():.6f} diff_mean={diff.mean().item():.6f}") | COMMENT |
| LOW | fastvideo/envs.py | 201 | lambda: os.getenv("FASTVIDEO_LOGGING_PREFIX", ""), | COMMENT |
| LOW | fastvideo/envs.py | 221 | # If set (=1), the FLASH_ATTN backend uses FlashAttention-4 | COMMENT |
| LOW | fastvideo/envs.py | 301 | # costs ~1.5x runtime overhead and ~1.4x trace size. | COMMENT |
| LOW | fastvideo/envs.py | 341 | # If set, fastvideo will enable stage logging, which will print the time | COMMENT |
| LOW | fastvideo/fastvideo_args.py | 141 | # The attention backend requested for this run. Applied per component at | COMMENT |
| LOW | fastvideo/fastvideo_args.py | 161 | COMMENT | |
| LOW | fastvideo/fastvideo_args.py | 181 | enable_torch_compile_text_encoder: bool = False | COMMENT |
| LOW | fastvideo/utils.py | 661 | if not os.path.exists(transformer_dir): | COMMENT |
| LOW | fastvideo/attention/backends/sla.py | 1 | # SPDX-License-Identifier: Apache-2.0 | COMMENT |
| LOW | fastvideo/attention/utils/flash_attn_no_pad.py | 1 | # Licensed under the TENCENT HUNYUAN COMMUNITY LICENSE AGREEMENT (the "License"); | COMMENT |
| LOW | fastvideo/attention/utils/flash_attn_no_pad.py | 201 | return output | COMMENT |
| LOW | fastvideo/attention/utils/flash_attn_default.py | 181 | setup_context=_flash_attn_default_setup_context, | COMMENT |
| LOW | fastvideo/platforms/__init__.py | 161 | if name == 'current_platform': | COMMENT |
| LOW | fastvideo/layers/linear.py | 641 | COMMENT | |
| LOW | fastvideo/layers/rotary_embedding.py | 1 | # SPDX-License-Identifier: Apache-2.0 | COMMENT |
| LOW | …deo/distributed/device_communicators/pynccl_wrapper.py | 1 | # SPDX-License-Identifier: Apache-2.0 | COMMENT |
| LOW | …deo/distributed/device_communicators/pynccl_wrapper.py | 141 | # is a pointer to a pointer | COMMENT |
| LOW | …deo/distributed/device_communicators/pynccl_wrapper.py | 161 | COMMENT | |
| LOW | …deo/distributed/device_communicators/pynccl_wrapper.py | 181 | [buffer_type, ctypes.c_size_t, ncclDataType_t, ctypes.c_int, ncclComm_t, cudaStream_t]), | COMMENT |
| LOW | fastvideo/training/training_utils.py | 1141 | return num_train_timestep * (shift * t / denominator) | COMMENT |
| LOW | …o/tests/nightly/test_e2e_kandinsky5_dmd_t2v_overfit.py | 81 | # test-owned root. It must NEVER point at (or contain) the documented | COMMENT |
| LOW | …o/tests/nightly/test_e2e_kandinsky5_dmd_t2v_overfit.py | 121 | # from a broken pipeline AND decorrelates across runs, making the SSIM | COMMENT |
| LOW | …o/tests/nightly/test_e2e_kandinsky5_dmd_t2v_overfit.py | 141 | # safe margin (a solid clip scores ~0.92!), so the structural checks | COMMENT |
| LOW | fastvideo/tests/golden_gate/test_kandinsky5.py | 101 | # Pin FA4 off for THIS test only (test_kandinsky5_similarity.py:84). A | COMMENT |
| LOW | fastvideo/tests/vaes/test_wan_vae.py | 41 | model1 = AutoencoderKLWan.from_pretrained(VAE_PATH, torch_dtype=precision).to(device).eval() | COMMENT |
| LOW | fastvideo/tests/train/methods/test_wan_causal_dfsft.py | 121 | # observed 3.2562 vs 3.5860 (10.13% apart) with identical code, straddling | COMMENT |
| LOW | …/train/models/test_kandinsky5_qat_attention_engages.py | 161 | # (head_size, dtype, supported_backends) -- not on the env var -- so | COMMENT |
| 116 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | fastvideo/tests/performance/dashboard.py | 249 | f"({item['non_null']}/{item['records']} non-null)") | CODE |
| HIGH⚡ | fastvideo/tests/modal/launch_l40s_job.py | 331 | "source $HOME/.local/bin/env 2>/dev/null || true; " | CODE |
| HIGH⚡ | fastvideo/tests/modal/launch_l40s_job.py | 332 | "source /opt/venv/bin/activate 2>/dev/null || true; " | CODE |
| HIGH⚡ | fastvideo/tests/modal/launch_l40s_job.py | 341 | "source $HOME/.local/bin/env 2>/dev/null || true; " | CODE |
| HIGH⚡ | fastvideo/tests/modal/launch_l40s_job.py | 342 | "source /opt/venv/bin/activate 2>/dev/null || true; " | CODE |
| HIGH | fastvideo/tests/modal/pr_test.py | 62 | "nodejs").run_commands("node --version && npm --version")) | CODE |
| HIGH | fastvideo/tests/modal/pr_test.py | 252 | "export HF_HOME='/root/data/.cache' && hf auth login --token $HF_API_KEY && bash .buildkite/scripts/lanes/encode | CODE |
| HIGH | fastvideo/tests/modal/pr_test.py | 263 | "export HF_HOME='/root/data/.cache' && hf auth login --token $HF_API_KEY && bash .buildkite/scripts/lanes/vae.sh | CODE |
| HIGH | fastvideo/tests/modal/pr_test.py | 277 | "export HF_HOME='/root/data/.cache' && hf auth login --token $HF_API_KEY && bash .buildkite/scripts/lanes/golden | CODE |
| HIGH | fastvideo/tests/modal/pr_test.py | 317 | run_test("wandb login $WANDB_API_KEY && FASTVIDEO_FA4=0 pytest ./fastvideo/tests/training/VSA -srP") | CODE |
| HIGH | fastvideo/tests/modal/pr_test.py | 380 | trap "kill $MOCK_SERVER_PID 2>/dev/null || true" EXIT | CODE |
| HIGH⚡ | fastvideo/tests/modal/pr_test.py | 452 | "export HF_HOME='/root/data/.cache' && hf auth login --token $HF_API_KEY && bash .buildkite/scripts/lanes/eval.s | STRING |
| HIGH⚡ | fastvideo/tests/modal/pr_test.py | 459 | run_test("hf auth login --token $HF_API_KEY && pytest ./fastvideo/tests/lora_extraction/test_lora_extraction.py") | STRING |
| HIGH | fastvideo/tests/modal/pr_test.py | 498 | "python ./fastvideo/tests/performance/dashboard.py || true; " | STRING |
| HIGH | fastvideo/tests/modal/pr_test.py | 500 | "cat /tmp/gpu_telemetry.csv || true; " | STRING |
| HIGH | fastvideo/tests/modal/pr_test.py | 513 | "export HF_HOME='/root/data/.cache' && hf auth login --token $HF_API_KEY && pytest ./fastvideo/tests/entrypoints | STRING |
| HIGH | fastvideo/tests/modal/ssim_test.py | 457 | return f"git fetch --prune origin refs/pull/{pr_id}/head && git checkout FETCH_HEAD" | CODE |
| HIGH | fastvideo/tests/modal/ssim_test.py | 553 | command = f"set -euo pipefail && source $HOME/.local/bin/env && source /opt/venv/bin/activate && {pytest_command}" | STRING |
| HIGH | fastvideo/models/vaes/minimax_h3_parallel.py | 282 | assembler.push(gathered.narrow(2, slot * segment_frames, segment_frames)) | CODE |
| HIGH | fastvideo/eval/metrics/audio/kl_divergence/metric.py | 1 | """PaSST KL divergence ``KL(gt || pred)`` on AudioSet-527 logits. | STRING |
| HIGH | fastvideo/eval/metrics/audio/kl_divergence/metric.py | 64 | """``KL(gt || pred)`` over class-probability softmax. Matches av-benchmark.""" | STRING |
| HIGH | fastvideo/eval/metrics/audio/kl_divergence/metric.py | 75 | """``KL(gt || pred)`` over per-class Bernoulli sigmoid (multi-label variant).""" | STRING |
| HIGH | fastvideo/eval/metrics/audio/kl_divergence/metric.py | 86 | """PaSST KL divergence ``KL(gt || pred)`` on AudioSet-527 logits. | STRING |
| HIGH | fastvideo/eval/metrics/optical_flow/_shared.py | 76 | """KL(P_a || P_b) over a joint (angle, log-magnitude) histogram.""" | STRING |
| HIGH | examples/inference/basic/basic_gen3c.py | 12 | sudo apt-get update && sudo apt-get install -y libgl1 libglib2.0-0 libsm6 libxext6 libxrender1 | STRING |
| HIGH | …/inference/gradio/local/gradio_local_demo_ltx2_3/ui.py | 1478 | if (document.activeElement && document.activeElement !== document.body) return true; | CODE |
| HIGH | …/inference/gradio/local/gradio_local_demo_ltx2_3/ui.py | 1489 | let releaseTimer = null; | CODE |
| HIGH⚡ | …/inference/gradio/local/gradio_local_demo_ltx2_3/ui.py | 1502 | const scroller = document.scrollingElement || document.documentElement; | CODE |
| HIGH⚡ | …/inference/gradio/local/gradio_local_demo_ltx2_3/ui.py | 1504 | const atTop = scroller.scrollTop <= 0 && event.deltaY < 0; | CODE |
| HIGH⚡ | …/inference/gradio/local/gradio_local_demo_ltx2_3/ui.py | 1505 | const atBottom = scroller.scrollTop >= maxScroll - 1 && event.deltaY > 0; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …thon/fastvideo_kernel/triton_kernels/st_attn_triton.py | 56 | CODE | |
| LOW | …thon/fastvideo_kernel/triton_kernels/attn_qat_train.py | 1039 | CODE | |
| LOW | fastvideo-kernel/tests/test_sta.py | 15 | CODE | |
| LOW | fastvideo-kernel/tests/test_attn_qat_train.py | 143 | CODE | |
| LOW | fastvideo-kernel/tests/test_vsa_forward.py | 71 | CODE | |
| LOW | fastvideo/attention/layer.py | 347 | CODE | |
| LOW | fastvideo/attention/backends/sage_attn3.py | 82 | CODE | |
| LOW | fastvideo/attention/backends/sdpa.py | 147 | CODE | |
| LOW | fastvideo/attention/backends/sla.py | 189 | CODE | |
| LOW | fastvideo/attention/backends/sla.py | 328 | CODE | |
| LOW | fastvideo/attention/backends/sla.py | 561 | CODE | |
| LOW | fastvideo/attention/backends/vmoba.py | 69 | CODE | |
| LOW | fastvideo/attention/backends/sage_attn.py | 64 | CODE | |
| LOW | fastvideo/attention/utils/flash_attn_no_pad.py | 100 | CODE | |
| LOW | fastvideo/attention/utils/flash_attn_no_pad.py | 152 | CODE | |
| LOW | fastvideo/attention/utils/flash_attn_no_pad.py | 201 | CODE | |
| LOW | fastvideo/attention/utils/flash_attn_cute.py | 348 | CODE | |
| LOW | fastvideo/layers/linear.py | 156 | CODE | |
| LOW | fastvideo/layers/visual_embedding.py | 27 | CODE | |
| LOW | fastvideo/layers/vocab_parallel_embedding.py | 356 | CODE | |
| LOW | fastvideo/layers/rotary_embedding.py | 349 | CODE | |
| LOW | fastvideo/layers/quantization/nvfp4_config.py | 420 | CODE | |
| LOW | fastvideo/layers/quantization/nvfp4_qat_config.py | 141 | CODE | |
| LOW | fastvideo/dataset/preprocessing_datasets.py | 667 | CODE | |
| LOW | fastvideo/dataset/parquet_dataset_iterable_style.py | 62 | CODE | |
| LOW | fastvideo/training/training_utils.py | 174 | CODE | |
| LOW | fastvideo/training/training_utils.py | 535 | CODE | |
| LOW | fastvideo/tests/train/callbacks/test_validation.py | 41 | CODE | |
| LOW | fastvideo/tests/ops/test_rotary_pos_embed_cache.py | 20 | CODE | |
| LOW | fastvideo/tests/modal/launch_l40s_job.py | 512 | CODE | |
| LOW | fastvideo/tests/modal/ssim_test.py | 871 | CODE | |
| LOW | fastvideo/tests/modal/ssim_test.py | 946 | CODE | |
| LOW | fastvideo/pipelines/stages/text_encoding.py | 122 | CODE | |
| LOW | fastvideo/pipelines/stages/gamecraft_image_encoding.py | 168 | CODE | |
| LOW | fastvideo/pipelines/stages/gamecraft_image_encoding.py | 173 | CODE | |
| LOW | fastvideo/pipelines/basic/dreamx_world/stages.py | 156 | CODE | |
| LOW | fastvideo/pipelines/basic/gen3c/camera_utils.py | 83 | CODE | |
| LOW | …stvideo/pipelines/basic/magi_human/stages/denoising.py | 76 | CODE | |
| LOW | …ipelines/basic/magi_human/stages/latent_preparation.py | 103 | CODE | |
| LOW | …ideo/pipelines/basic/magi_human/stages/sr_denoising.py | 27 | CODE | |
| LOW | fastvideo/models/mask_utils.py | 71 | CODE | |
| LOW | fastvideo/models/upsamplers/ltx2_upsampler.py | 162 | CODE | |
| LOW | fastvideo/models/dits/wanvideo.py | 766 | CODE | |
| LOW | fastvideo/models/dits/longcat.py | 1021 | CODE | |
| LOW | fastvideo/models/dits/dreamx_world_ar.py | 779 | CODE | |
| LOW | fastvideo/models/dits/sd3.py | 103 | CODE | |
| LOW | fastvideo/models/dits/flux_2.py | 181 | CODE | |
| LOW | fastvideo/models/dits/flux_2.py | 350 | CODE | |
| LOW | fastvideo/models/dits/dreamx_world.py | 193 | CODE | |
| LOW | fastvideo/models/dits/dreamx_world.py | 449 | CODE | |
| LOW | fastvideo/models/dits/ltx2.py | 1782 | CODE | |
| LOW | fastvideo/models/dits/ltx2.py | 2328 | CODE | |
| LOW | fastvideo/models/dits/ltx2.py | 2857 | CODE | |
| LOW | fastvideo/models/dits/flux.py | 463 | CODE | |
| LOW | fastvideo/models/dits/causal_wanvideo.py | 196 | CODE | |
| LOW | fastvideo/models/dits/matrixgame3/action_module.py | 70 | CODE | |
| LOW | fastvideo/models/dits/matrixgame3/model.py | 199 | CODE | |
| LOW | fastvideo/models/dits/matrixgame3/model.py | 285 | CODE | |
| LOW | fastvideo/models/dits/matrixgame3/model.py | 555 | CODE | |
| LOW | fastvideo/models/dits/matrixgame2/action_module.py | 210 | CODE | |
| 78 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fastvideo-kernel/python/fastvideo_kernel/ops.py | 30 | # Check if the specific op is available | COMMENT |
| LOW | fastvideo-kernel/python/fastvideo_kernel/vmoba.py | 254 | if selected_other_indices.numel() > 0: # Check if any 'other' indices were selected | CODE |
| LOW | tests/local_tests/gen3c/test_gen3c.py | 82 | # Check if distributed is initialized | COMMENT |
| LOW | tests/local_tests/gen3c/test_gen3c.py | 182 | # Check if distributed is initialized | COMMENT |
| LOW | fastvideo/fastvideo_args.py | 1212 | # Check if the attribute is provided in args | COMMENT |
| LOW | fastvideo/attention/backends/bsa_attn.py | 265 | # Check if all heads share the same mask for this batch element | COMMENT |
| LOW | fastvideo/attention/backends/sla.py | 331 | # Check if spas_sage_attn is available for SageSLA | COMMENT |
| LOW | fastvideo/layers/rotary_embedding.py | 126 | # Check if cos/sin are full head_dim (rotate_half style) or half (traditional style) | COMMENT |
| LOW | fastvideo/dataset/preprocessing_datasets.py | 187 | # Check if video is too long | COMMENT |
| LOW | fastvideo/dataset/parquet_dataset_map_style.py | 135 | # Check if cached info exists | COMMENT |
| LOW | fastvideo/dataset/parquet_dataset_iterable_style.py | 92 | # Assign files to current rank's SP group | COMMENT |
| LOW | fastvideo/dataset/parquet_dataset_iterable_style.py | 145 | # Check if sharding plan already exists | COMMENT |
| LOW | …stvideo/training/self_forcing_distillation_pipeline.py | 49 | # Check if FSDP2 auto wrap is enabled - not supported for self-forcing distillation | COMMENT |
| LOW | fastvideo/training/distillation_pipeline.py | 274 | # Set flag to prevent custom weight loading for teacher/critic models | COMMENT |
| LOW | fastvideo/tests/training/distill/test_distill_dmd.py | 88 | # Check if the process failed | COMMENT |
| LOW | …video/tests/training/self-forcing/test_self_forcing.py | 187 | # Check if the process failed | COMMENT |
| LOW | fastvideo/tests/training/Vanilla/test_training_loss.py | 89 | # Check if the process failed | COMMENT |
| LOW | fastvideo/tests/training/Vanilla/mfu_calculation.py | 161 | # Check if the process failed | COMMENT |
| LOW | fastvideo/tests/transformers/test_wanvideo.py | 104 | # Check if outputs have the same shape | COMMENT |
| LOW | fastvideo/tests/transformers/test_wanvideo.py | 108 | # Check if outputs are similar (allowing for small numerical differences) | COMMENT |
| LOW | fastvideo/tests/transformers/test_cosmos.py | 131 | # Check if outputs have the same shape | COMMENT |
| LOW | fastvideo/tests/transformers/test_cosmos.py | 135 | # Check if outputs are similar (allowing for small numerical differences) | COMMENT |
| LOW | fastvideo/tests/transformers/test_cosmos2_5.py | 294 | # Set models to eval mode | COMMENT |
| LOW | fastvideo/tests/transformers/test_cosmos2_5.py | 397 | # Check if outputs have the same shape | COMMENT |
| LOW | fastvideo/tests/transformers/test_cosmos2_5.py | 403 | # Check if outputs are similar | COMMENT |
| LOW | fastvideo/tests/encoders/test_hyt5_encoder.py | 122 | # Check if outputs are similar (allowing for small numerical differences) | COMMENT |
| LOW | fastvideo/tests/vaes/test_wan_vae.py | 63 | # Check if latents have the same shape | COMMENT |
| LOW | fastvideo/tests/vaes/test_wan_vae.py | 66 | # Check if latents are similar | COMMENT |
| LOW | fastvideo/tests/vaes/test_wan_vae.py | 83 | # Check if outputs have the same shape | COMMENT |
| LOW | fastvideo/tests/vaes/test_wan_vae.py | 86 | # Check if outputs are similar | COMMENT |
| LOW | fastvideo/tests/ssim/test_longcat_similarity.py | 183 | # Check if absolute or already exists | COMMENT |
| LOW | …video/tests/entrypoints/test_openai_api_integration.py | 98 | # Check if the process died. | COMMENT |
| LOW | fastvideo/pipelines/composed_pipeline_base.py | 501 | # Check if all required modules were loaded | COMMENT |
| LOW | fastvideo/pipelines/composed_pipeline_base.py | 545 | # Return the output | COMMENT |
| LOW | fastvideo/pipelines/stages/longcat_kv_cache_init.py | 41 | # Check if KV cache is enabled | COMMENT |
| LOW | fastvideo/pipelines/stages/base.py | 134 | # Check if verification is enabled (simple approach for prototype) | COMMENT |
| LOW | …lines/preprocess/preprocess_pipeline_ode_trajectory.py | 90 | if text and text.strip(): # Check if text is not empty | CODE |
| LOW | …video/pipelines/preprocess/preprocess_pipeline_text.py | 64 | if text and text.strip(): # Check if text is not empty | CODE |
| LOW | …video/pipelines/preprocess/preprocess_pipeline_base.py | 271 | if not torch.all(pixel_values == 0): # Check if all values are zero | CODE |
| LOW | …ame2/matrixgame2_preprocess_pipeline_ode_trajectory.py | 202 | if not torch.all(pixel_values == 0): # Check if all values are zero | CODE |
| LOW | …deo/pipelines/basic/hunyuan15/hunyuan15_sr_pipeline.py | 117 | # Return the output | COMMENT |
| LOW | …eo/pipelines/basic/hunyuan15/hunyuan15_2sr_pipeline.py | 140 | # Return the output | COMMENT |
| LOW | …stvideo/pipelines/basic/longcat/longcat_vc_pipeline.py | 147 | # Check if we have video_latent (from VC encoding stage) | COMMENT |
| LOW | …stvideo/pipelines/basic/longcat/longcat_vc_pipeline.py | 150 | # Set image_latent to video_latent for parent class compatibility | COMMENT |
| LOW | fastvideo/models/hf_transformer_utils.py | 91 | # Check if the model path exists | COMMENT |
| LOW | fastvideo/models/dits/matrixgame2/action_module.py | 149 | # Check if we need to evict tokens | COMMENT |
| LOW | fastvideo/models/dits/hyworld/retrieval_context.py | 134 | # Check if within FOV | COMMENT |
| LOW | fastvideo/models/loader/component_loader.py | 1076 | # Check if we should use custom initialization weights | COMMENT |
| LOW | fastvideo/models/loader/component_loader.py | 1163 | # Check if model has nn.ModuleList for layerwise offload compatibility | COMMENT |
| LOW | fastvideo/models/loader/fsdp_load.py | 203 | # Check if we should use FSDP | COMMENT |
| LOW | fastvideo/models/loader/fsdp_load.py | 469 | # Check if we should use size-based filtering | COMMENT |
| LOW | fastvideo/models/vaes/gamecraftvae.py | 314 | # Check if temporal tiling needed (>64 output frames) | COMMENT |
| LOW | fastvideo/models/vaes/gamecraftvae.py | 317 | # Check if spatial tiling needed (large H or W) | COMMENT |
| LOW⚡ | fastvideo/models/schedulers/base.py | 14 | # Check if subclass has defined all required properties | COMMENT |
| LOW | fastvideo/entrypoints/cli/bench_serving.py | 337 | # Check if we need to use multipart (for image edits with input images) | COMMENT |
| LOW | fastvideo/entrypoints/cli/bench_serving.py | 431 | # Check if we need to upload images (Multipart) or just send JSON | COMMENT |
| LOW | fastvideo/worker/multiproc_executor.py | 84 | # Check if master_port is provided in fastvideo_args | COMMENT |
| LOW | fastvideo/worker/multiproc_executor.py | 326 | # Check if workers were initialized (they might not be if initialization failed) | COMMENT |
| LOW | examples/inference/basic/basic_matrixgame2.py | 59 | # Set pin_cpu_memory to false if CPU RAM is limited and there're no frequent CPU-GPU transfer | COMMENT |
| LOW | examples/inference/basic/basic_longcat_vc.py | 55 | # Check if video exists | COMMENT |
| 13 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/local_tests/gamecraft/test_gamecraft_parity.py | 100 | # Create a minimal args object | COMMENT |
| MEDIUM | …ocal_tests/gamecraft/test_gamecraft_pipeline_parity.py | 196 | # Create the sampler | COMMENT |
| MEDIUM | docs/generate_examples.py | 525 | # Create the main examples index only if requested | COMMENT |
| MEDIUM | fastvideo/fastvideo_args.py | 810 | # Create a dictionary of attribute values, with defaults for missing attributes | COMMENT |
| MEDIUM | fastvideo/fastvideo_args.py | 1191 | # Create a dictionary of attribute values, with defaults for missing attributes | COMMENT |
| MEDIUM | fastvideo/distributed/parallel_state.py | 281 | # Create a dummy context for non-CUDA platforms | COMMENT |
| MEDIUM | …deo/distributed/device_communicators/pynccl_wrapper.py | 4 | # This file is a pure Python wrapper for the NCCL library. | COMMENT |
| MEDIUM | fastvideo/dataset/preprocessing_datasets.py | 166 | # Create a seeded random generator for deterministic sampling | COMMENT |
| MEDIUM | fastvideo/dataset/preprocessing_datasets.py | 317 | # Create a seeded random generator for deterministic CFG | COMMENT |
| MEDIUM | fastvideo/dataset/preprocessing_datasets.py | 605 | # Create a text-only batch with dummy path | COMMENT |
| MEDIUM | fastvideo/dataset/parquet_dataset_map_style.py | 51 | # Create a random permutation of all indices | COMMENT |
| MEDIUM | fastvideo/dataset/parquet_dataset_map_style.py | 304 | # Create a seeded random generator for deterministic CFG | COMMENT |
| MEDIUM | fastvideo/dataset/latent_datasets.py | 23 | # Create a seeded random generator for deterministic CFG | COMMENT |
| MEDIUM | …stvideo/training/self_forcing_distillation_pipeline.py | 589 | # Create a new batch with detached tensors | COMMENT |
| MEDIUM | …stvideo/training/self_forcing_distillation_pipeline.py | 643 | # Create a new batch with detached tensors | COMMENT |
| MEDIUM | fastvideo/tests/hooks/test_hooks_api.py | 29 | # Create a simple model | COMMENT |
| MEDIUM | fastvideo/pipelines/stages/latent_preparation.py | 79 | # Create a dummy zero-length text embedding to satisfy downstream checks. | COMMENT |
| MEDIUM | …lines/preprocess/preprocess_pipeline_ode_trajectory.py | 275 | # Initialize class variables for data sharing | COMMENT |
| MEDIUM | …video/pipelines/preprocess/preprocess_pipeline_text.py | 168 | # Initialize class variables for data sharing | COMMENT |
| MEDIUM | …video/pipelines/preprocess/preprocess_pipeline_base.py | 46 | # Initialize class variables for data sharing | COMMENT |
| MEDIUM | …ame2/matrixgame2_preprocess_pipeline_ode_trajectory.py | 379 | # Initialize class variables for data sharing | COMMENT |
| MEDIUM | fastvideo/models/mask_utils.py | 120 | ## Creating a simple causal mask: | STRING |
| MEDIUM | fastvideo/models/mask_utils.py | 141 | ## Creating a sliding window mask: | STRING |
| MEDIUM | fastvideo/models/mask_utils.py | 162 | ## Creating a chunked attention mask | STRING |
| MEDIUM | fastvideo/models/vaes/hunyuanvae.py | 56 | # Define the projection layers | COMMENT |
| MEDIUM | fastvideo/models/vaes/wanvae.py | 524 | # Create the components | STRING |
| MEDIUM | fastvideo/worker/ray_env.py | 13 | # This file contains a list of env vars that should not be copied | COMMENT |
| MEDIUM | fastvideo/worker/ray_distributed_executor.py | 89 | # Create the workers. | COMMENT |
| MEDIUM | fastvideo/worker/ray_utils.py | 212 | # Create a new placement group | COMMENT |
| MEDIUM | examples/inference/basic/basic_longcat_vc.py | 159 | # Create a new generator with refinement LoRA and BSA enabled | COMMENT |
| MEDIUM | examples/inference/basic/basic_longcat_t2v.py | 134 | # Create a new generator with refinement LoRA and BSA enabled | COMMENT |
| MEDIUM | examples/inference/basic/basic_longcat_i2v.py | 143 | # Create a new generator with refinement LoRA and BSA enabled | COMMENT |
| MEDIUM | scripts/dataset_preparation/generate_validation_json.py | 33 | # Create the final validation structure | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/local_tests/lingbot_video/README.md | 76 | ### Step 1: Clone The Official Reference Implementation | COMMENT |
| LOW | tests/local_tests/lingbot_video/README.md | 90 | ### Step 2: Prepare The Virtual Environment | COMMENT |
| LOW | tests/local_tests/lingbot_video/README.md | 111 | ### Step 3: Configure The Hugging Face Cache | COMMENT |
| LOW | tests/local_tests/lingbot_video/README.md | 137 | ### Step 4: Understand Checkpoint Conversion | COMMENT |
| LOW | docs/contributing/developer_env/runpod.md | 11 | ## Step 1: Create a Pod | COMMENT |
| LOW | docs/contributing/developer_env/runpod.md | 50 | ## Step 2: Connect via SSH | COMMENT |
| LOW | docs/contributing/developer_env/runpod.md | 84 | ## Step 3: Set Up FastVideo | COMMENT |
| LOW | docs/inference/add_pipeline.md | 16 | ## Step 1: Pipeline Modules | COMMENT |
| LOW | docs/inference/add_pipeline.md | 181 | ## Step 2: Directory Structure | COMMENT |
| LOW | docs/inference/add_pipeline.md | 192 | ## Step 3: Implement Pipeline Class | COMMENT |
| LOW | docs/inference/add_pipeline.md | 333 | ## Step 4: Register Your Pipeline | COMMENT |
| LOW⚡ | …stvideo/training/self_forcing_distillation_pipeline.py | 211 | # Step 1: Initialize KV cache to all zeros | COMMENT |
| LOW⚡ | …stvideo/training/self_forcing_distillation_pipeline.py | 218 | # Step 2: Cache context feature | COMMENT |
| LOW | …stvideo/training/self_forcing_distillation_pipeline.py | 240 | # Step 3: Temporal denoising loop | COMMENT |
| LOW⚡ | …ning/matrixgame2_self_forcing_distillation_pipeline.py | 361 | # Step 1: Initialize KV cache to all zeros | COMMENT |
| LOW⚡ | …ning/matrixgame2_self_forcing_distillation_pipeline.py | 365 | # Step 2: Temporal denoising loop | COMMENT |
| LOW⚡ | fastvideo/training/distillation_pipeline.py | 530 | # Step 1: Randomly sample a target timestep index from denoising_step_list | COMMENT |
| LOW⚡ | fastvideo/training/distillation_pipeline.py | 535 | # Step 2: Simulate the multi-step inference process up to the target timestep | COMMENT |
| LOW⚡ | fastvideo/training/distillation_pipeline.py | 571 | # Step 3: Use the simulated noisy input for the final training step | COMMENT |
| LOW⚡ | fastvideo/training/distillation_pipeline.py | 580 | # Step 4: Final student prediction (this is what we train on) | COMMENT |
| LOW⚡ | fastvideo/tests/train/callbacks/test_ema.py | 135 | # Step 0: re-init at 2.0, then update against 2.0 → still 2.0. | COMMENT |
| LOW⚡ | fastvideo/tests/train/callbacks/test_ema.py | 137 | # Step 1: drift transformer to 12.0, expect | COMMENT |
| LOW | fastvideo/models/dits/cosmos2_5.py | 448 | # Step 1: Compute ALL modulation parameters once (matches official model) | COMMENT |
| LOW | fastvideo/models/dits/cosmos2_5.py | 476 | # Step 2: Self-attention block | COMMENT |
| LOW | fastvideo/models/dits/cosmos2_5.py | 487 | # Step 3: Cross-attention block | COMMENT |
| LOW | fastvideo/models/dits/cosmos2_5.py | 500 | # Step 4: MLP block | COMMENT |
| LOW | scripts/checkpoint_conversion/longcat_to_fastvideo.py | 591 | # Step 1: Convert transformer weights | COMMENT |
| LOW⚡ | scripts/checkpoint_conversion/longcat_to_fastvideo.py | 629 | # Step 2: Copy other components | COMMENT |
| LOW⚡ | scripts/checkpoint_conversion/longcat_to_fastvideo.py | 639 | # Step 3: Convert LoRA weights | COMMENT |
| LOW⚡ | scripts/checkpoint_conversion/longcat_to_fastvideo.py | 644 | # Step 4: Update transformer config | COMMENT |
| LOW | scripts/checkpoint_conversion/longcat_to_fastvideo.py | 657 | # Step 5: Create model_index.json | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fastvideo/platforms/__init__.py | 26 | # we need to check if fastvideo is built with cpu too. | COMMENT |
| LOW⚡ | …stvideo/training/self_forcing_distillation_pipeline.py | 211 | # Step 1: Initialize KV cache to all zeros | COMMENT |
| LOW⚡ | …stvideo/training/self_forcing_distillation_pipeline.py | 218 | # Step 2: Cache context feature | COMMENT |
| LOW | …stvideo/training/self_forcing_distillation_pipeline.py | 240 | # Step 3: Temporal denoising loop | COMMENT |
| LOW⚡ | …ning/matrixgame2_self_forcing_distillation_pipeline.py | 361 | # Step 1: Initialize KV cache to all zeros | COMMENT |
| LOW⚡ | …ning/matrixgame2_self_forcing_distillation_pipeline.py | 365 | # Step 2: Temporal denoising loop | COMMENT |
| LOW⚡ | fastvideo/training/distillation_pipeline.py | 530 | # Step 1: Randomly sample a target timestep index from denoising_step_list | COMMENT |
| LOW⚡ | fastvideo/training/distillation_pipeline.py | 535 | # Step 2: Simulate the multi-step inference process up to the target timestep | COMMENT |
| LOW⚡ | fastvideo/training/distillation_pipeline.py | 571 | # Step 3: Use the simulated noisy input for the final training step | COMMENT |
| LOW⚡ | fastvideo/training/distillation_pipeline.py | 580 | # Step 4: Final student prediction (this is what we train on) | COMMENT |
| LOW⚡ | fastvideo/tests/train/callbacks/test_ema.py | 135 | # Step 0: re-init at 2.0, then update against 2.0 → still 2.0. | COMMENT |
| LOW⚡ | fastvideo/tests/train/callbacks/test_ema.py | 137 | # Step 1: drift transformer to 12.0, expect | COMMENT |
| LOW | fastvideo/models/dits/cosmos2_5.py | 448 | # Step 1: Compute ALL modulation parameters once (matches official model) | COMMENT |
| LOW | fastvideo/models/dits/cosmos2_5.py | 476 | # Step 2: Self-attention block | COMMENT |
| LOW | fastvideo/models/dits/cosmos2_5.py | 487 | # Step 3: Cross-attention block | COMMENT |
| LOW | fastvideo/models/dits/cosmos2_5.py | 500 | # Step 4: MLP block | COMMENT |
| LOW | scripts/checkpoint_conversion/longcat_to_fastvideo.py | 591 | # Step 1: Convert transformer weights | COMMENT |
| LOW⚡ | scripts/checkpoint_conversion/longcat_to_fastvideo.py | 629 | # Step 2: Copy other components | COMMENT |
| LOW⚡ | scripts/checkpoint_conversion/longcat_to_fastvideo.py | 639 | # Step 3: Convert LoRA weights | COMMENT |
| LOW⚡ | scripts/checkpoint_conversion/longcat_to_fastvideo.py | 644 | # Step 4: Update transformer config | COMMENT |
| LOW | scripts/checkpoint_conversion/longcat_to_fastvideo.py | 657 | # Step 5: Create model_index.json | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …stvideo-kernel/tests/test_vsa_triton_backward_scale.py | 89 | # Forward is exact at any scale; this pins the harness itself. | COMMENT |
| LOW | fastvideo/dataset/preprocessing_datasets.py | 212 | # For images, just add sample info | COMMENT |
| MEDIUM | fastvideo/tests/train/methods/test_wan_causal_dfsft.py | 116 | # 5a-ii: device-keyed grad-norm regression on top of the same harness. | COMMENT |
| MEDIUM | fastvideo/tests/train/methods/test_wan_causal_dfsft.py | 118 | # rtol above the harness default: the causal model compiles flex_attention | COMMENT |
| MEDIUM | …video/tests/train/methods/test_matrixgame2_finetune.py | 147 | # 5a-ii: device-keyed grad-norm regression on top of the same harness. | COMMENT |
| MEDIUM | fastvideo/tests/train/methods/test_wan_finetune.py | 133 | # 5a-ii: device-keyed grad-norm regression on top of the same harness. | COMMENT |
| MEDIUM | fastvideo/tests/train/methods/test_ltx2_finetune.py | 189 | # Device-keyed grad-norm regression on top of the same harness. | COMMENT |
| MEDIUM | fastvideo/tests/train/methods/test_cosmos_finetune.py | 115 | # 5a-ii: device-keyed grad-norm regression on top of the same harness. | COMMENT |
| MEDIUM | fastvideo/pipelines/stages/validators.py | 472 | """Get a comprehensive summary of all validation failures.""" | STRING |
| MEDIUM | …tvideo/pipelines/basic/stable_audio/stages/decoding.py | 37 | # so the LatentSimilarityUtils harness can compare on pre-VAE | COMMENT |
| MEDIUM | fastvideo/models/dits/cosmos.py | 548 | # dtype so the model forward is robust regardless of caller. | COMMENT |
| LOW | …eo/third_party/eval/synchformer/hf_src/modeling_ast.py | 556 | # since all values in the D-dimension (latent) will also be nans, we can just use the first el | STRING |
| MEDIUM | examples/inference/basic/mlx_wan_prompt_to_video.py | 87 | # benchmark harness). New code should prefer resolve_model_root(None), which | COMMENT |
| MEDIUM | apps/fastvideo_studio/job_runner.py | 551 | # that might escape (though they shouldn't with our comprehensive handling) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | fastvideo-kernel/build.sh | 5 | # Usage: | COMMENT |
| LOW | fastvideo-kernel/tests/test_sta.py | 75 | # Example usage | COMMENT |
| LOW | .agents/scripts/sync-skills.sh | 11 | # Usage: | COMMENT |
| LOW | fastvideo/dataset/ltx2_precomputed_dataset.py | 4 | # Usage: | COMMENT |
| LOW | …raining/finetune/cosmos2_5/preprocess_cosmos2_5_t2w.sh | 24 | # Usage: | COMMENT |
| LOW | examples/train/run_slurm.sh | 4 | # Usage: | COMMENT |
| LOW | examples/train/run.sh | 4 | # Usage: | COMMENT |
| LOW | …nario/ode_init_self_forcing_wan_causal/step2_export.sh | 4 | # Usage: | COMMENT |
| LOW | …gs/distribution_matching/kandinsky5/distill_dmd_qat.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/inference/run.sh | 4 | # Usage: | COMMENT |
| LOW | apps/dreamverse/scripts/install_native_ffmpeg.sh | 20 | # Usage: | COMMENT |
| LOW | …dreamverse/scripts/launch/launch_backend_dreamverse.sh | 10 | # Usage: | COMMENT |
| LOW | …/dreamverse/scripts/launch/launch_backend_fastvideo.sh | 6 | # Usage: | COMMENT |
| LOW | apps/dreamverse/scripts/launch/launch_frontend.sh | 5 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | collect_env.py | 262 | CODE | |
| MEDIUM | collect_env.py | 264 | CODE | |
| MEDIUM | collect_env.py | 266 | CODE | |
| MEDIUM | collect_env.py | 267 | CODE | |
| MEDIUM | collect_env.py | 278 | CODE | |
| MEDIUM | fastvideo/layers/custom_op.py | 60 | CODE | |
| MEDIUM | fastvideo/layers/custom_op.py | 62 | CODE | |
| MEDIUM | fastvideo/layers/custom_op.py | 65 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …dd-model-09-pipeline/templates/pipeline_parity_test.py | 63 | except Exception as exc: # pragma: no cover - scaffold guard | CODE |
| MEDIUM | fastvideo/hooks/layerwise_offload.py | 101 | # These hook entry points only orchestrate host-side parameter | COMMENT |
| MEDIUM | fastvideo/eval/metrics/videoscore2/metric.py | 52 | # to avoid matching digits inside the chain-of-thought reasoning. | STRING |
| MEDIUM | fastvideo/eval/metrics/videoscore2/metric.py | 118 | # Anchor on the numbered list to skip the chain-of-thought. | COMMENT |
| MEDIUM | fastvideo/eval/metrics/videoscore2/metric.py | 165 | # chain-of-thought outside the regex anchor (yielding score=0). | COMMENT |
| MEDIUM | .github/workflows/infra-build-image.yml | 23 | # metadata/key helper, ABI dependency metadata, and build orchestration. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …_tests/dreamx_world/test_dreamx_world_ar_conversion.py | 21 | raw_tensor.write_bytes(b"placeholder") | CODE |
| LOW⚡ | scripts/checkpoint_conversion/wan_to_diffusers.py | 91 | dummy_key = new_key.replace("norm_added_k", "norm_added_q") | CODE |
| LOW⚡ | scripts/checkpoint_conversion/wan_to_diffusers.py | 92 | dummy_value = torch.zeros_like(v) | CODE |
| LOW⚡ | scripts/checkpoint_conversion/wan_to_diffusers.py | 93 | new_state_dict[dummy_key] = dummy_value | CODE |
| LOW | apps/dreamverse/web/e2e/mock-backed-generation.spec.ts | 38 | await expect(continuation).toHaveAttribute('placeholder', /generating video/i); | CODE |
| LOW | …ps/dreamverse/web/e2e/preset-prompt-generation.spec.ts | 54 | await expect(continuation).toHaveAttribute('placeholder', /generating/i); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | fastvideo/models/hf_transformer_utils.py | 124 | # Special handling for stop token <|eom_id|> generated by llama 3 tool use. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fastvideo/models/vaes/hunyuanvae.py | 168 | # If you are encountering an error here, make sure to try running encoding/decoding with | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fastvideo/entrypoints/video_generator.py | 286 | log_stats=False, # TODO: implement | CODE |