Repository Analysis

hao-ai-lab/FastVideo

A unified inference and post-training framework for accelerated video generation.

20.3 Moderate AI signal View on GitHub

Analysis Overview

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).

20.3
Adjusted Score
20.3
Raw Score
100%
Time Factor
2026-08-28
Last Push
4.1K
Stars
Python
Language
460.1K
Lines of Code
2.3K
Files
6.8K
Pattern Hits
2026-08-29
Scan Date
0.08
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 173MEDIUM 846LOW 5745

Directory Score Breakdown

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.

Pattern Findings

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.

Hyper-Verbose Identifiers2800 hits · 2870 pts
SeverityFileLineSnippetContext
LOWcollect_env.py129def run_and_parse_first_match(run_lambda, command, regex):CODE
LOWcollect_env.py140def run_and_return_first_line(run_lambda, command):CODE
LOWcollect_env.py172def get_nvidia_driver_version(run_lambda):CODE
LOWcollect_env.py281def summarize_fastvideo_build_flags():CODE
LOWcollect_env.py496def get_cachingallocator_config():CODE
LOWcollect_env.py501def get_cuda_module_loading_config():CODE
LOWcomfyui/video_generator/video_generator.py127 def _monitor_for_interruption(self):CODE
LOWfastvideo-kernel/python/fastvideo_kernel/vsa_utils.py31def get_tile_partition_indices(CODE
LOWfastvideo-kernel/python/fastvideo_kernel/vsa_utils.py57def get_reverse_tile_partition_indices(CODE
LOWfastvideo-kernel/python/fastvideo_kernel/vsa_utils.py67def construct_variable_block_sizes(CODE
LOW…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py447def block_sparse_attn_from_indices(CODE
LOW…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py108def _invert_indices_for_backward(CODE
LOW…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py161def _block_sparse_attn_triton_fake(CODE
LOW…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py183def block_sparse_attn_backward_triton(CODE
LOW…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py218def _block_sparse_attn_backward_triton_fake(CODE
LOW…/python/fastvideo_kernel/block_sparse_attn_cute_fwd.py93def _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.py359def block_sparse_attn_cute_fwd(CODE
LOW…/python/fastvideo_kernel/block_sparse_attn_cute_fwd.py387def block_sparse_attn_cute_fwd_bshd(CODE
LOW…o-kernel/python/fastvideo_kernel/turbodiffusion_ops.py207def _layer_norm_param_fwd_fused(CODE
LOW…o-kernel/python/fastvideo_kernel/turbodiffusion_ops.py307def _layer_norm_noparam_fwd_fused(CODE
LOWfastvideo-kernel/python/fastvideo_kernel/vmoba.py59def _select_threshold_query_head(gate: torch.Tensor, valid_gate_mask: torch.Tensor, gate_self_chunk_mask: torch.Tensor,CODE
LOWfastvideo-kernel/python/fastvideo_kernel/vmoba.py185def _select_threshold_overall(gate: torch.Tensor, valid_gate_mask: torch.Tensor, gate_self_chunk_mask: torch.Tensor,CODE
LOWfastvideo-kernel/python/fastvideo_kernel/vmoba.py264def _select_threshold_head_global(gate: torch.Tensor, valid_gate_mask: torch.Tensor, gate_self_chunk_mask: torch.Tensor,CODE
LOWfastvideo-kernel/python/fastvideo_kernel/vmoba.py806def test_attn_varlen_moba_speed(batch,CODE
LOW…fastvideo_kernel/triton_kernels/fused_compress_topk.py63def _fused_block_mean_bwd_kernel(CODE
LOW…fastvideo_kernel/triton_kernels/fused_compress_topk.py290def _pytorch_topk_mask_fallback(CODE
LOW…thon/fastvideo_kernel/triton_kernels/st_attn_triton.py22def get_common_autotune_config():CODE
LOW…thon/fastvideo_kernel/triton_kernels/st_attn_triton.py241def sliding_tile_attention_triton(q: torch.Tensor,CODE
LOW…ideo_kernel/triton_kernels/block_sparse_attn_triton.py703def 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.py755def 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.py47def _consumer_blackwell_join_qat_pv_enabled():CODE
LOW…thon/fastvideo_kernel/triton_kernels/attn_qat_train.py201def _host_descriptor_pre_hook(nargs):CODE
LOW…thon/fastvideo_kernel/triton_kernels/attn_qat_train.py597def _compute_cross_attn_pointer_offsets(bhid, H, N_CTX_Q, stride_z_q, stride_z_kv, stride_h_q, stride_h_kv):CODE
LOWfastvideo-kernel/tests/test_sta.py76def test_sliding_tile_attention():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py146def test_qat_attention_forward():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py194def test_qat_attention_backward():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py281def test_qat_attention_different_shapes():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py328def test_qat_attention_non_causal():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py370def test_qat_attention_causal():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py412def test_qat_attention_causal_backward():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py479def test_qat_attention_different_seq_lengths():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py531def test_qat_attention_different_seq_lengths_backward():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py621def test_fused_attention_forward():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py668def test_fused_attention_backward():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py754def test_fused_attention_different_shapes():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py802def test_fused_attention_non_causal():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py844def test_fused_attention_causal():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py886def test_fused_attention_causal_backward():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py953def test_fused_vs_qat_attention_forward():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py1002def test_fused_vs_qat_attention_backward():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py1087def test_fused_vs_qat_attention_different_shapes():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py1135def test_fused_vs_qat_attention_non_causal():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py1177def test_fused_vs_qat_attention_causal():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py1219def test_fused_vs_qat_attention_causal_backward():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py1288def test_qat_attention_wan_shape_forward():CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py1339def test_qat_attention_wan_shape_backward():CODE
LOWfastvideo-kernel/tests/test_vsa_forward.py40def block_sparse_forward_test(CODE
LOWfastvideo-kernel/tests/test_vsa_forward.py194def test_video_sparse_attention_forward():CODE
LOWfastvideo-kernel/tests/test_fused_compress_topk.py50 def test_tie_at_boundary_various_topk(self):CODE
LOWfastvideo-kernel/tests/test_fused_compress_topk.py83 def test_random_scores_row_count(self):CODE
2740 more matches not shown…
Decorative Section Separators758 hits · 2518 pts
SeverityFileLineSnippetContext
MEDIUMfastvideo-kernel/CMakeLists.txt32# ---------------------------------------------------------------------------COMMENT
MEDIUMfastvideo-kernel/CMakeLists.txt44# ---------------------------------------------------------------------------COMMENT
MEDIUMfastvideo-kernel/CMakeLists.txt187# ---------------------------COMMENT
MEDIUMfastvideo-kernel/CMakeLists.txt189# ---------------------------COMMENT
MEDIUMfastvideo-kernel/CMakeLists.txt313# ---------------------------------------------------------------------------COMMENT
MEDIUMfastvideo-kernel/CMakeLists.txt315# ---------------------------------------------------------------------------COMMENT
MEDIUMfastvideo-kernel/CMakeLists.txt384 # ---------------------------------------------------------------------------COMMENT
MEDIUMfastvideo-kernel/build.sh14# ---------------------------------------------------------------------------COMMENT
MEDIUMfastvideo-kernel/build.sh24# ---------------------------------------------------------------------------COMMENT
MEDIUM…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py10# ---------------------------------------------------------------------------COMMENT
MEDIUM…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py12# ---------------------------------------------------------------------------COMMENT
MEDIUM…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py442# ---------------------------------------------------------------------------COMMENT
MEDIUM…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py444# ---------------------------------------------------------------------------COMMENT
MEDIUM…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py82# ---------------------------------------------------------------------------COMMENT
MEDIUM…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py84# ---------------------------------------------------------------------------COMMENT
MEDIUM…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py128# ---------------------------------------------------------------------------COMMENT
MEDIUM…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py130# ---------------------------------------------------------------------------COMMENT
MEDIUM…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py249# ---------------------------------------------------------------------------COMMENT
MEDIUM…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py251# ---------------------------------------------------------------------------COMMENT
MEDIUM…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py372# ---------------------------------------------------------------------------COMMENT
MEDIUM…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py379# ---------------------------------------------------------------------------COMMENT
MEDIUM…ideo_kernel/triton_kernels/block_sparse_attn_triton.py15# ──────────────────────────── SPARSE ADDITION BEGIN ───────────────────────────COMMENT
MEDIUM…ideo_kernel/triton_kernels/block_sparse_attn_triton.py17# ──────────────────────────── SPARSE ADDITION END ─────────────────────────────COMMENT
MEDIUM…ideo_kernel/triton_kernels/block_sparse_attn_triton.py38# ──────────────────────────── SPARSE ADDITION BEGIN ───────────────────────────COMMENT
MEDIUM…ideo_kernel/triton_kernels/block_sparse_attn_triton.py169# ──────────────────────────── SPARSE ADDITION END ─────────────────────────────COMMENT
MEDIUM…ideo_kernel/triton_kernels/block_sparse_attn_triton.py702# ──────────────────────────── SPARSE ADDITION BEGIN ───────────────────────────COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_infer.py53# ---------------------------------------------------------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_infer.py55# ---------------------------------------------------------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_infer.py93# ---------------------------------------------------------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_infer.py95# ---------------------------------------------------------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1350 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1352 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1357 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1359 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1364 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1366 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1369 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1371 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1377 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1379 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1390 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1393 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1398 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1400 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1463 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1465 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1470 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1472 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1477 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1479 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1484 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1486 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1497 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1499 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1504 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1506 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1432 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1434 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1538 # -----------------------------COMMENT
MEDIUMfastvideo-kernel/tests/test_attn_qat_train.py1540 # -----------------------------COMMENT
698 more matches not shown…
Unused Imports1524 hits · 1426 pts
SeverityFileLineSnippetContext
LOWcomfyui/__init__.py1CODE
LOWcomfyui/__init__.py1CODE
LOWcomfyui/video_generator/video_generator.py1CODE
LOWfastvideo-kernel/python/fastvideo_kernel/vsa_utils.py9CODE
LOW…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py3CODE
LOW…ernel/python/fastvideo_kernel/block_sparse_attn_256.py19CODE
LOW…/python/fastvideo_kernel/block_sparse_attn_cute_fwd.py18CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py1CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py3CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py3CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py3CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py9CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py9CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py14CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py14CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py14CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py20CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py20CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py20CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py20CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py20CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py28CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py31CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py31CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py31CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py31CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py31CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py31CODE
LOW…el/python/fastvideo_kernel/block_sparse_attn_varlen.py8CODE
LOW…o-kernel/python/fastvideo_kernel/turbodiffusion_ops.py1CODE
LOW…o-kernel/python/fastvideo_kernel/turbodiffusion_ops.py3CODE
LOW…o-kernel/python/fastvideo_kernel/turbodiffusion_ops.py6CODE
LOW…hon/fastvideo_kernel/triton_kernels/fused_attention.py10CODE
LOWfastvideo-kernel/tests/test_vsa256_forward_vbs.py3CODE
LOWfastvideo-kernel/tests/test_vsa_forward.py1CODE
LOWfastvideo-kernel/tests/test_vsa_forward.py2CODE
LOWfastvideo-kernel/tests/test_vsa128_backward.py3CODE
LOWfastvideo-kernel/tests/test_turbodiffusion.py3CODE
LOWfastvideo-kernel/tests/test_turbodiffusion.py4CODE
LOWfastvideo-kernel/tests/test_vsa.py2CODE
LOWfastvideo-kernel/tests/test_vsa.py3CODE
LOWfastvideo-kernel/tests/test_vsa.py4CODE
LOWfastvideo-kernel/tests/test_vsa.py5CODE
LOWfastvideo-kernel/tests/test_vsa.py6CODE
LOWfastvideo-kernel/tests/test_vsa256_backward.py9CODE
LOWfastvideo-kernel/tests/test_vsa256_forward.py3CODE
LOWfastvideo-kernel/tests/test_vsa_utils.py11CODE
LOWfastvideo-kernel/tests/test_vsa256_triton.py7CODE
LOWfastvideo-kernel/tests/test_vsa256_forward_cross.py3CODE
LOWfastvideo-kernel/benchmarks/bench_vsa.py12CODE
LOW…stvideo-kernel/benchmarks/bench_fused_compress_topk.py20CODE
LOWfastvideo-kernel/benchmarks/benchmark_attn_qat_train.py8CODE
LOWfastvideo-kernel/attn_qat_infer/__init__.py16CODE
LOWtests/test_fasth3_packaging.py2CODE
LOWtests/local_tests/test_trainer_managed_optimization.py1CODE
LOWtests/local_tests/test_trainer_managed_optimization.py1CODE
LOWtests/local_tests/ltx2/test_ltx2_pipeline_smoke.py306CODE
LOWtests/local_tests/ltx2/test_ltx2_pipeline_smoke.py315CODE
LOWtests/local_tests/ltx2/test_ltx2_pipeline_smoke.py315CODE
LOWtests/local_tests/ltx2/test_ltx2_pipeline_smoke.py315CODE
1464 more matches not shown…
Cross-File Repetition102 hits · 510 pts
SeverityFileLineSnippetContext
HIGHfastvideo-kernel/attn_qat_infer/__init__.py0copyright (c) 2025 by sageattention team. licensed under the apache license, version 2.0 (the "license"); you may not usSTRING
HIGHfastvideo-kernel/attn_qat_infer/api.py0copyright (c) 2025 by sageattention team. licensed under the apache license, version 2.0 (the "license"); you may not usSTRING
HIGH…nel/attn_qat_infer/quantization/bench/bench_quant_q.py0copyright (c) 2025 by sageattention team. licensed under the apache license, version 2.0 (the "license"); you may not usSTRING
HIGH…ernel/attn_qat_infer/quantization/bench/bench_utils.py0copyright (c) 2025 by sageattention team. licensed under the apache license, version 2.0 (the "license"); you may not usSTRING
HIGH…nel/attn_qat_infer/quantization/bench/bench_quant_k.py0copyright (c) 2025 by sageattention team. licensed under the apache license, version 2.0 (the "license"); you may not usSTRING
HIGH…nel/attn_qat_infer/quantization/bench/bench_quant_v.py0copyright (c) 2025 by sageattention team. licensed under the apache license, version 2.0 (the "license"); you may not usSTRING
HIGHdocs/inference/add_pipeline.md0set up pipeline stages with proper dependency injection.STRING
HIGH…lines/preprocess/preprocess_pipeline_ode_trajectory.py0set up pipeline stages with proper dependency injection.STRING
HIGH…video/pipelines/preprocess/preprocess_pipeline_text.py0set up pipeline stages with proper dependency injection.STRING
HIGH…video/pipelines/preprocess/preprocess_pipeline_base.py0set up pipeline stages with proper dependency injection.STRING
HIGH…ame2/matrixgame2_preprocess_pipeline_ode_trajectory.py0set up pipeline stages with proper dependency injection.STRING
HIGHfastvideo/pipelines/basic/flux_2/flux_2_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGH…deo/pipelines/basic/hunyuan15/hunyuan15_sr_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGH…tvideo/pipelines/basic/hunyuan15/hunyuan15_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGH…eo/pipelines/basic/hunyuan15/hunyuan15_2sr_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGH…eo/pipelines/basic/hunyuan15/hunyuan15_i2v_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGHfastvideo/pipelines/basic/cosmos/cosmos_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGHfastvideo/pipelines/basic/gen3c/gen3c_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGH…elines/basic/turbodiffusion/turbodiffusion_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGH…es/basic/turbodiffusion/turbodiffusion_i2v_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGH…tvideo/pipelines/basic/gamecraft/gamecraft_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGHfastvideo/pipelines/basic/hunyuan/hunyuan_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGHfastvideo/pipelines/basic/wan/wan_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGH…stvideo/pipelines/basic/wan/wan_causal_dmd_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGHfastvideo/pipelines/basic/wan/wan_i2v_dmd_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGHfastvideo/pipelines/basic/wan/wan_v2v_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGHfastvideo/pipelines/basic/wan/wan_i2v_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGHfastvideo/pipelines/basic/wan/wan_dmd_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGHfastvideo/pipelines/basic/longcat/longcat_pipeline.py0set up pipeline stages with proper dependency injection.STRING
HIGHfastvideo/distributed/parallel_state.py0note: we assume that the input tensor is on the same device across all the ranks. note: `dst` is the local rank of the dSTRING
HIGH…o/distributed/device_communicators/cpu_communicator.py0note: we assume that the input tensor is on the same device across all the ranks. note: `dst` is the local rank of the dSTRING
HIGH…buted/device_communicators/base_device_communicator.py0note: we assume that the input tensor is on the same device across all the ranks. note: `dst` is the local rank of the dSTRING
HIGHfastvideo/distributed/parallel_state.py0note: `dst` is the local rank of the destination rank.STRING
HIGH…/distributed/device_communicators/cuda_communicator.py0note: `dst` is the local rank of the destination rank.STRING
HIGH…buted/device_communicators/base_device_communicator.py0note: `dst` is the local rank of the destination rank.STRING
HIGH…o/distributed/device_communicators/npu_communicator.py0note: `dst` is the local rank of the destination rank.STRING
HIGHfastvideo/distributed/parallel_state.py0sends a tensor to the destination rank in a non-blocking waySTRING
HIGH…/distributed/device_communicators/cuda_communicator.py0sends a tensor to the destination rank in a non-blocking waySTRING
HIGH…buted/device_communicators/base_device_communicator.py0sends a tensor to the destination rank in a non-blocking waySTRING
HIGH…o/distributed/device_communicators/npu_communicator.py0sends a tensor to the destination rank in a non-blocking waySTRING
HIGHfastvideo/dataset/dataloader/record_schema.py0create a record for the parquet dataset with clip features.STRING
HIGH…tvideo/pipelines/preprocess/preprocess_pipeline_i2v.py0create a record for the parquet dataset with clip features.STRING
HIGH…process/matrixgame2/matrixgame2_preprocess_pipeline.py0create a record for the parquet dataset with clip features.STRING
HIGHfastvideo/training/training_pipeline.py0add visualization data to tracker logging and save frames to disk.STRING
HIGH…stvideo/training/self_forcing_distillation_pipeline.py0add visualization data to tracker logging and save frames to disk.STRING
HIGHfastvideo/training/distillation_pipeline.py0add visualization data to tracker logging and save frames to disk.STRING
HIGH…ning/matrixgame2_self_forcing_distillation_pipeline.py0override to properly handle i2v concatenation - call parent first, then concatenate image conditioning.STRING
HIGHfastvideo/training/wan_i2v_distillation_pipeline.py0override to properly handle i2v concatenation - call parent first, then concatenate image conditioning.STRING
HIGHfastvideo/training/wan_i2v_training_pipeline.py0override to properly handle i2v concatenation - call parent first, then concatenate image conditioning.STRING
HIGHfastvideo/training/matrixgame2_training_pipeline.py0override to properly handle i2v concatenation - call parent first, then concatenate image conditioning.STRING
HIGHfastvideo/pipelines/composed_pipeline_base.py0generate a video or image using the pipeline. args: batch: the batch to generate from. fastvideo_args: the inference argSTRING
HIGH…deo/pipelines/basic/hunyuan15/hunyuan15_sr_pipeline.py0generate a video or image using the pipeline. args: batch: the batch to generate from. fastvideo_args: the inference argSTRING
HIGH…eo/pipelines/basic/hunyuan15/hunyuan15_2sr_pipeline.py0generate a video or image using the pipeline. args: batch: the batch to generate from. fastvideo_args: the inference argSTRING
HIGH…deo/pipelines/basic/hunyuan15/hunyuan15_sr_pipeline.py0wan video-to-video diffusion pipeline implementation. this module contains an implementation of the wan video-to-video dSTRING
HIGH…tvideo/pipelines/basic/hunyuan15/hunyuan15_pipeline.py0wan video-to-video diffusion pipeline implementation. this module contains an implementation of the wan video-to-video dSTRING
HIGH…eo/pipelines/basic/hunyuan15/hunyuan15_2sr_pipeline.py0wan video-to-video diffusion pipeline implementation. this module contains an implementation of the wan video-to-video dSTRING
HIGH…eo/pipelines/basic/hunyuan15/hunyuan15_i2v_pipeline.py0wan video-to-video diffusion pipeline implementation. this module contains an implementation of the wan video-to-video dSTRING
HIGHfastvideo/pipelines/basic/hunyuan/hunyuan_pipeline.py0wan video-to-video diffusion pipeline implementation. this module contains an implementation of the wan video-to-video dSTRING
HIGHfastvideo/pipelines/basic/cosmos/cosmos_pipeline.py0wan video-to-video diffusion pipeline implementation. this module contains an implementation of the wan video-to-video dSTRING
HIGHfastvideo/pipelines/basic/wan/wan_pipeline.py0wan video-to-video diffusion pipeline implementation. this module contains an implementation of the wan video-to-video dSTRING
42 more matches not shown…
Excessive Try-Catch Wrapping405 hits · 430 pts
SeverityFileLineSnippetContext
LOWcomfyui/video_generator/video_generator.py145 except Exception as e:CODE
MEDIUMcomfyui/video_generator/video_generator.py146 print(f"Error sending interrupt signal: {e}")CODE
LOWcomfyui/video_generator/video_generator.py161 except Exception as e:CODE
MEDIUM…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py15def _get_sm90_ops():CODE
LOW…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py18 except Exception:CODE
LOW…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py69 except Exception:CODE
LOW…eo-kernel/python/fastvideo_kernel/block_sparse_attn.py101 except Exception as e: # pragma: no cover - environment issueCODE
LOWfastvideo-kernel/tests/test_vmoba_correctness.py85 except Exception as e:CODE
LOWfastvideo-kernel/benchmarks/bench_vsa.py24except Exception as e: # pragma: no coverCODE
LOWtests/local_tests/ltx2/test_ltx2_gemma_parity.py147 except Exception:CODE
LOWtests/local_tests/ltx2/test_ltx2_gemma_encoder.py61 except Exception as exc:CODE
LOW…ests/stable_audio/test_stable_audio_pipeline_parity.py62 except Exception:CODE
MEDIUM…ests/stable_audio/test_stable_audio_pipeline_parity.py55def _stable_audio_tools_inference_available() -> bool:CODE
LOW…ts/local_tests/stable_audio/test_oobleck_vae_parity.py49 except Exception:CODE
MEDIUM…ts/local_tests/stable_audio/test_oobleck_vae_parity.py44def _stable_audio_tools_available() -> bool:CODE
LOW…cal_tests/stable_audio/test_stable_audio_a2a_parity.py34 except Exception:CODE
MEDIUM…cal_tests/stable_audio/test_stable_audio_a2a_parity.py29def _stable_audio_tools_inference_available() -> bool:CODE
LOW…tests/stable_audio/test_oobleck_vae_official_parity.py45 except Exception:CODE
MEDIUM…tests/stable_audio/test_oobleck_vae_official_parity.py41def _stable_audio_tools_available() -> bool:CODE
LOWtests/local_tests/stable_audio/_stable_audio_helpers.py39 except Exception:CODE
LOWtests/local_tests/glm_image/test_pipeline_parity.py116 except Exception:CODE
LOWtests/local_tests/glm_image/test_pipeline_parity.py128 except Exception:CODE
MEDIUMtests/local_tests/glm_image/test_pipeline_parity.py27def _upstream_glm_image_available() -> bool:CODE
LOWtests/local_tests/flux2/test_flux2_component_parity.py137 except Exception:CODE
LOWtests/local_tests/flux2/test_flux2_component_parity.py181 except Exception:CODE
LOWtests/local_tests/flux2/test_flux2_component_parity.py188 except Exception:CODE
LOW…sts/local_tests/zimage/test_zimage_scheduler_parity.py61 except Exception as exc:CODE
LOWtests/local_tests/zimage/test_zimage_vae_parity.py67 except Exception as exc:CODE
LOW…_world/test_dreamx_world_camera_conditioning_parity.py39 except Exception as exc: # noqa: BLE001 - local parity should skip missing reference deps.CODE
LOW…reamx_world/test_dreamx_world_ar_transformer_parity.py59 except Exception as exc: # noqa: BLE001CODE
LOW…/dreamx_world/test_dreamx_world_text_encoder_parity.py98 except Exception as exc: # noqa: BLE001CODE
LOW…cal_tests/dreamx_world/test_dreamx_world_vae_parity.py161 except Exception as exc: # noqa: BLE001CODE
LOW…s/dreamx_world/test_dreamx_world_transformer_parity.py114 except Exception as exc: # noqa: BLE001 - local parity should skip missing refs.CODE
LOW…s/dreamx_world/test_dreamx_world_transformer_parity.py209 except Exception as exc: # noqa: BLE001CODE
LOWtests/local_tests/gen3c/test_gen3c.py383 except Exception as e:CODE
LOW…magi_human/test_magi_human_sa_audio_official_parity.py71 except Exception:CODE
LOW…cal_tests/magi_human/test_magi_human_distill_parity.py55 except Exception:CODE
LOWtests/local_tests/magi_human/test_magi_human_parity.py60 except Exception:CODE
LOW…al_tests/magi_human/test_magi_human_sa_audio_parity.py50 except Exception:CODE
LOW…al_tests/magi_human/test_magi_human_pipeline_parity.py84 except Exception:CODE
LOW…al_tests/magi_human/test_magi_human_pipeline_parity.py119 except Exception as exc:CODE
LOW…al_tests/magi_human/test_magi_human_pipeline_parity.py167 except Exception:CODE
LOW…s/local_tests/magi_human/test_magi_human_vae_parity.py64 except Exception as exc:CODE
LOW…cal_tests/magi_human/test_magi_human_pipeline_smoke.py176 except Exception:CODE
LOW…cal_tests/magi_human/test_magi_human_t5gemma_parity.py48 except Exception:CODE
LOW…/magi_human/test_magi_human_sr1080p_pipeline_parity.py60 except Exception:CODE
LOW…s/magi_human/test_magi_human_sr540p_pipeline_parity.py49 except Exception:CODE
LOWtests/local_tests/gamecraft/test_gamecraft_parity.py141 except Exception as e:CODE
LOW…ocal_tests/gamecraft/test_gamecraft_pipeline_parity.py300 except Exception as e:CODE
LOW…sts/local_tests/gamecraft/test_gamecraft_vae_parity.py161 except Exception:CODE
LOW…ocal_tests/gamecraft/test_gamecraft_encoders_parity.py99 except Exception as e:CODE
LOW…ocal_tests/gamecraft/test_gamecraft_encoders_parity.py166 except Exception as e:CODE
LOW…ocal_tests/gamecraft/test_gamecraft_encoders_parity.py237 except Exception as e:CODE
LOWtests/local_tests/sd35/test_sd35_component_parity.py76 except Exception:CODE
LOWtests/local_tests/sd35/test_sd35_component_parity.py120 except Exception:CODE
LOWtests/local_tests/sd35/test_sd35_component_parity.py127 except Exception:CODE
LOW…/kandinsky5/test_kandinsky5_lite_transformer_parity.py42 except Exception as exc:CODE
LOWtests/local_tests/helpers/magi_human_upstream.py137 except Exception:CODE
LOW…dd-model-09-pipeline/templates/pipeline_parity_test.py63 except Exception as exc: # pragma: no cover - scaffold guardCODE
LOW…add-model-02-parity/templates/component_parity_test.py69 except Exception as exc: # noqa: BLE001 - local parity should skip missing refs.CODE
345 more matches not shown…
Deep Nesting357 hits · 338 pts
SeverityFileLineSnippetContext
LOWcollect_env.py180CODE
LOWcollect_env.py394CODE
LOWcomfyui/video_generator/inference_args.py46CODE
LOWcomfyui/video_generator/video_generator.py127CODE
LOWfastvideo-kernel/python/fastvideo_kernel/vmoba.py508CODE
LOW…thon/fastvideo_kernel/triton_kernels/st_attn_triton.py97CODE
LOWfastvideo-kernel/tests/utils.py27CODE
LOW…ernel/attn_qat_infer/quantization/bench/bench_utils.py95CODE
LOWtests/test_block_sparse_sm100a.py61CODE
LOWtests/local_tests/ltx2/test_ltx2_vae.py34CODE
LOWtests/local_tests/ltx2/test_ltx2_gemma_encoder.py23CODE
LOWtests/local_tests/ltx2/test_ltx2_audio_vae.py38CODE
LOWtests/local_tests/flux2/debug_flux2_klein_tp_trace.py209CODE
LOW…ts/local_tests/pipelines/test_flux2_pipeline_parity.py204CODE
LOW…al_tests/magi_human/test_magi_human_pipeline_parity.py311CODE
LOWtests/local_tests/gamecraft/test_gamecraft_parity.py207CODE
LOWtests/local_tests/gamecraft/test_gamecraft_parity.py453CODE
LOW…ts/local_tests/minimax_h3/test_mlx_audio_vae_parity.py58CODE
LOW…ills/add-model-08-trace/templates/block_trace_debug.py86CODE
LOW…ills/add-model-08-trace/templates/block_trace_debug.py242CODE
LOW…d-model-07-conversion/templates/family_to_diffusers.py94CODE
LOWdocs/generate_examples.py375CODE
LOWdocs/generate_examples.py463CODE
LOWdocs/generate_examples.py203CODE
LOWfastvideo/fastvideo_args.py805CODE
LOWfastvideo/fastvideo_args.py1186CODE
LOWfastvideo/logger.py239CODE
LOWfastvideo/utils.py972CODE
LOWfastvideo/utils.py1182CODE
LOWfastvideo/utils.py158CODE
LOWfastvideo/utils.py199CODE
LOWfastvideo/utils.py327CODE
LOWfastvideo/utils.py364CODE
LOWfastvideo/forward_context.py54CODE
LOWfastvideo/attention/backends/bsa_attn.py206CODE
LOWfastvideo/attention/backends/bsa_attn.py485CODE
LOWfastvideo/attention/backends/video_sparse_attn_h3.py554CODE
LOWfastvideo/platforms/rocm.py64CODE
LOWfastvideo/platforms/cuda.py169CODE
LOWfastvideo/platforms/cuda.py408CODE
LOWfastvideo/layers/linear.py526CODE
LOWfastvideo/layers/linear.py830CODE
LOWfastvideo/layers/quantization/nvfp4_config.py480CODE
LOWfastvideo/distributed/parallel_state.py1021CODE
LOWfastvideo/distributed/parallel_state.py444CODE
LOW…tvideo/distributed/device_communicators/ulysses_a2a.py382CODE
LOW…tvideo/distributed/device_communicators/ulysses_a2a.py161CODE
LOWfastvideo/dataset/validation_dataset.py19CODE
LOWfastvideo/dataset/validation_dataset.py99CODE
LOWfastvideo/dataset/utils.py23CODE
LOWfastvideo/dataset/utils.py93CODE
LOWfastvideo/dataset/parquet_dataset_map_style.py113CODE
LOWfastvideo/dataset/parquet_dataset_iterable_style.py124CODE
LOWfastvideo/dataset/parquet_dataset_iterable_style.py31CODE
LOWfastvideo/dataset/dataloader/parquet_io.py102CODE
LOWfastvideo/training/training_pipeline.py515CODE
LOWfastvideo/training/training_pipeline.py703CODE
LOWfastvideo/training/training_pipeline.py868CODE
LOW…stvideo/training/self_forcing_distillation_pipeline.py141CODE
LOW…stvideo/training/self_forcing_distillation_pipeline.py559CODE
297 more matches not shown…
Modern Structural Boilerplate225 hits · 227 pts
SeverityFileLineSnippetContext
LOWcomfyui/__init__.py4__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']CODE
LOWcomfyui/video_generator/video_generator.py32def update_config_from_args(config: Any, args_dict: dict[str, Any]) -> None:CODE
LOWfastvideo-kernel/python/fastvideo_kernel/__init__.py40__all__ = [CODE
LOW…fastvideo_kernel/triton_kernels/fused_compress_topk.py19logger = logging.getLogger(__name__)CODE
LOW…hon/fastvideo_kernel/triton_kernels/fused_attention.py55__all__ = ["attention"]CODE
LOWfastvideo-kernel/benchmarks/bench_vsa.py28def set_seed(seed: int = 42) -> None:CODE
LOW…stvideo-kernel/benchmarks/bench_fused_compress_topk.py36def set_seed(seed: int = 42) -> None:CODE
LOWtests/local_tests/flux2/debug_flux2_klein_tp_trace.py105def _set_submodule(model: torch.nn.Module, name: str, module: torch.nn.Module) -> None:CODE
LOWfastvideo/registry.py1442__all__ = [CODE
LOWfastvideo/__init__.py6__all__ = ["VideoGenerator", "PipelineConfig", "SamplingParam", "__version__"]CODE
LOWfastvideo/utils.py950def set_random_seed(seed: int) -> None:CODE
LOWfastvideo/profiler.py128def set_global_controller(controller: TorchProfilerController | None) -> None:CODE
LOWfastvideo/profiler.py360 def _set_collection(self, enabled: bool) -> None:CODE
LOWfastvideo/attention/__init__.py7__all__ = [CODE
LOWfastvideo/attention/layer.py107 def _set_compile_forward_enabled(self, enabled: bool) -> None:CODE
LOWfastvideo/platforms/__init__.py186__all__ = ['Platform', 'PlatformEnum', 'current_platform', "_init_trace"]CODE
LOWfastvideo/layers/quantization/fp8_qat_train_config.py27logger = logging.getLogger(__name__)CODE
LOWfastvideo/layers/quantization/nvfp4_qat_train_config.py29logger = logging.getLogger(__name__)CODE
LOWfastvideo/layers/quantization/fp8_config.py23logger = logging.getLogger(__name__)CODE
LOWfastvideo/layers/quantization/fp8_config.py245__all__ = [CODE
LOWfastvideo/layers/quantization/nvfp4_config.py35logger = logging.getLogger(__name__)CODE
LOWfastvideo/layers/quantization/nvfp4_config.py550__all__ = [CODE
LOWfastvideo/layers/quantization/nvfp4_qat_config.py46logger = logging.getLogger(__name__)CODE
LOWfastvideo/layers/quantization/nvfp4_qat_config.py236__all__ = [CODE
LOWfastvideo/distributed/__init__.py11__all__ = [CODE
LOW…deo/distributed/device_communicators/pynccl_wrapper.py306__all__ = [CODE
LOW…deo/distributed/device_communicators/pyhccl_wrapper.py192__all__ = [CODE
LOWfastvideo/logging_utils/__init__.py5__all__ = [CODE
LOWfastvideo/dataset/__init__.py42__all__ = [CODE
LOWfastvideo/training/training_pipeline.py89 def set_schemas(self) -> None:CODE
LOWfastvideo/training/__init__.py6__all__ = [CODE
LOWfastvideo/tests/contract/test_dynamo_shape.py318__all__ = [CODE
LOWfastvideo/tests/golden_gate/test_longcat.py23__all__ = ["distributed_runtime"]CODE
LOWfastvideo/tests/golden_gate/test_gamecraft.py22__all__ = ["distributed_runtime"]CODE
LOWfastvideo/tests/golden_gate/test_zimage.py22__all__ = ["distributed_runtime"]CODE
LOWfastvideo/tests/golden_gate/test_wan_t2v.py18__all__ = ["distributed_runtime"]CODE
LOWfastvideo/tests/golden_gate/test_matrixgame.py34__all__ = ["distributed_runtime"]CODE
LOWfastvideo/tests/golden_gate/test_sd35.py23__all__ = ["distributed_runtime"]CODE
LOWfastvideo/tests/golden_gate/test_kandinsky5.py27__all__ = ["distributed_runtime"]CODE
LOWfastvideo/tests/golden_gate/test_lingbot.py23__all__ = ["distributed_runtime"]CODE
LOWfastvideo/tests/golden_gate/test_glm_image.py22__all__ = ["distributed_runtime"]CODE
LOWfastvideo/tests/golden_gate/test_gen3c.py20__all__ = ["distributed_runtime"]CODE
LOWfastvideo/tests/golden_gate/test_flux.py21__all__ = ["distributed_runtime"]CODE
LOWfastvideo/tests/golden_gate/test_flux2_klein.py25__all__ = ["distributed_runtime"]CODE
LOWfastvideo/tests/golden_gate/test_stable_audio.py23__all__ = ["distributed_runtime"]CODE
LOWfastvideo/tests/golden_gate/test_ltx2.py29__all__ = ["distributed_runtime"]CODE
LOWfastvideo/tests/golden_gate/test_dreamx.py25__all__ = ["distributed_runtime"]CODE
LOWfastvideo/tests/train/trainer/test_validation.py50 def set_tracker(self, tracker: Any) -> None:CODE
LOWfastvideo/tests/performance/identity.py411__all__ = [CODE
LOWfastvideo/pipelines/composed_pipeline_base.py117 def set_trainable(self) -> None:CODE
LOWfastvideo/pipelines/__init__.py66__all__ = [CODE
LOWfastvideo/pipelines/lora_pipeline.py226 def set_trainable(self) -> None:CODE
LOWfastvideo/pipelines/stages/__init__.py49__all__ = [CODE
LOWfastvideo/pipelines/basic/flux_2/__init__.py7__all__ = ["Flux2Pipeline", "Flux2KleinPipeline"]CODE
LOWfastvideo/pipelines/basic/matrixgame3/__init__.py4__all__ = ["MatrixGame3I2VPipeline"]CODE
LOWfastvideo/pipelines/basic/ltx2/continuation.py381__all__ = [CODE
LOWfastvideo/pipelines/basic/ltx2/stage_overrides.py53__all__ = [CODE
LOWfastvideo/pipelines/basic/ltx2/stages/ltx2_refine.py390__all__ = [CODE
LOWfastvideo/pipelines/basic/ltx2/stages/__init__.py18__all__ = [CODE
LOW…pipelines/basic/ltx2/stages/ltx2_image_conditioning.py484__all__ = [CODE
165 more matches not shown…
Docstring Block Structure40 hits · 200 pts
SeverityFileLineSnippetContext
HIGHfastvideo/pipelines/stages/validators.py338 Add a validation check for a field. Args: field_name: Name of the field being checSTRING
HIGH…video/pipelines/preprocess/preprocess_pipeline_base.py67Create a record for the Parquet dataset using a generic schema-based approach. Args: preproSTRING
HIGHfastvideo/models/vision_utils.py197 Load frames from a video file using ffmpeg. Args: video_path: Path to the video file Returns: STRING
HIGHfastvideo/models/loader/fsdp_load.py560 Converting full state dict into a sharded state dict and loading it into FSDP model (if training) or normal hugSTRING
HIGHfastvideo/models/encoders/qwen2_5_vl_custom.py1500 Calculate the 3D rope index based on image and video's temporal, height and width in LLM. Explanation:STRING
HIGHfastvideo/models/encoders/qwen2_5_vl_custom.py1939 Calculate the 3D rope index based on image and video's temporal, height and width in LLM. Explanation: STRING
HIGHfastvideo/mlx_runtime/checkpoint.py53Return the manifest name for a supported MLX data type. Parameters: dtype: The MLX data type to convert. STRING
HIGHfastvideo/mlx_runtime/checkpoint.py180 Reconstruct an MLXWanDiT model from a versioned checkpoint. Parameters: checkpoint_dir (str | Path): DSTRING
HIGHfastvideo/mlx_runtime/memory.py60 Convert a positive memory limit from GiB to bytes. Parameters: value (float | None): Memory limit in GSTRING
HIGHfastvideo/mlx_runtime/memory.py101Set a PyTorch MPS watermark environment variable. Parameters: name (str): Name of the environment variable STRING
HIGHfastvideo/mlx_runtime/refine.py255Upsample 5-D latent arrays spatially using nearest-neighbor or bilinear interpolation. Parameters: latents STRING
HIGHfastvideo/mlx_runtime/refine.py340 Upsample clean latents spatially and optionally mix them with Gaussian noise. Parameters: clean_latentSTRING
HIGHfastvideo/mlx_runtime/refine.py374Derive the refinement noise level from the first refinement timestep. Parameters: schedule (MLXDMDSchedule)STRING
HIGHfastvideo/mlx_runtime/refine.py395Derive stage-2 timesteps from the stage-1 DMD grid. The stage-2 pass must start *below* full noise, otherwise the hSTRING
HIGHfastvideo/mlx_runtime/refine.py526 Run base denoising and, when enabled, spatial refinement denoising. Parameters: dit: DiT callable usedSTRING
HIGHfastvideo/mlx_runtime/sampling.py112 Compute one DMD sampling update, optionally re-noising the clean latent prediction. Args: latents: RetSTRING
HIGHfastvideo/mlx_runtime/fast_spatial.py130 Build a plan for reduced-resolution denoising followed by pixel-space upsampling. Parameters: upsampleSTRING
HIGHfastvideo/mlx_runtime/wan_vae.py89 Return a validated TAEHV checkpoint for the specified latent channel count. Parameters: z_dim (int): NSTRING
HIGHfastvideo/mlx_runtime/wan_vae.py411 Decode latent representations with the MLX TAEHV decoder. Parameters: latents_np (np.ndarray): LatentsSTRING
HIGHfastvideo/mlx_runtime/wan_vae.py484Decode latent video frames and export them as an MP4 file. Parameters: latents_np (np.ndarray): Latent videSTRING
HIGHfastvideo/mlx_runtime/prompt_enhance.py104 Normalize a user prompt for enhancement. Parameters: prompt (str): User-provided prompt text. RetSTRING
HIGHfastvideo/mlx_runtime/prompt_enhance.py179 Enhance a user prompt with a locally hosted mlx-lm instruction model. Parameters: prompt (str): The prSTRING
HIGHfastvideo/mlx_runtime/prompt_enhance.py276Enhance a prompt using the selected backend, falling back to a deterministic template when configured for automatic seleSTRING
HIGHfastvideo/mlx_runtime/frame_upsample.py39 Map a pixel upsample mode name onto its OpenCV interpolation flag. Parameters: mode (str): One of :datSTRING
HIGHfastvideo/mlx_runtime/frame_upsample.py92 Resample one decoded RGB frame to the target pixel size. Parameters: frame (np.ndarray): HxWx3 uint8 RSTRING
HIGHfastvideo/mlx_runtime/windowed_attention.py35 Determine the attention scaling factor from an explicit value or head dimension. Parameters: head_dim STRING
HIGHfastvideo/mlx_runtime/windowed_attention.py56 Validate compatible rank-4 query, key, and value tensors. Parameters: q (mx.array): Query tensor shapeSTRING
HIGHfastvideo/mlx_runtime/windowed_attention.py163 Apply symmetric sliding-window self-attention with optional global sink positions. Parameters: q (mx.aSTRING
HIGHfastvideo/mlx_runtime/taehv_decode.py74 Ensure the TAEW2.1 checkpoint is available locally. A caller-provided path is treated as trusted and is only cSTRING
HIGHfastvideo/mlx_runtime/taehv_decode.py132Load the TAEHV class from the vendored implementation or a local source override. Parameters: source_path (STRING
HIGHfastvideo/mlx_runtime/quant_backends.py82Normalize a quantization backend name and validate that it is supported. Parameters: backend (str): BackendSTRING
HIGHfastvideo/mlx_runtime/quant_backends.py168 Quantize a two-dimensional weight matrix using the specified native MLX backend. Parameters: w (mx.arrSTRING
HIGHfastvideo/mlx_runtime/quant_backends.py256 Measure the effective storage cost of a quantized weight. Parameters: backend (str): Quantization backSTRING
HIGHexamples/inference/basic/mlx_wan_quant_benchmark.py23 Parse and validate a comma-separated list of quantization modes. Parameters: raw (str): Comma-separateSTRING
HIGHexamples/inference/basic/mlx_wan_quant_benchmark.py97 Decode latents to a video and collect export timing and PyTorch MPS memory metrics. Parameters: args: STRING
HIGHexamples/inference/basic/mlx_wan_quant_benchmark.py144 Run denoising for one quantization mode and collect performance and memory metrics. Parameters: mode (STRING
HIGHexamples/inference/basic/mlx_wan_video_quality.py13 Read all frames from a video file as an RGB NumPy array. Parameters: path (Path): Path to the video fiSTRING
HIGHexamples/inference/basic/mlx_wan_video_quality.py44 Compute pixel-level comparison metrics between candidate and reference video frames. Parameters: candiSTRING
HIGHexamples/inference/basic/mlx_wan_decode_benchmark.py45 Parse and validate a comma-separated list of decoding backends. Parameters: raw (str): Comma-separatedSTRING
HIGHapps/fastvideo_studio/job_runner.py594Return log lines for a job. Args: job_id: The job ID after: Return only lines aSTRING
Over-Commented Block176 hits · 173 pts
SeverityFileLineSnippetContext
LOWcollect_env.py301# example outputs of CPU infosCOMMENT
LOWcollect_env.py321# pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrandCOMMENT
LOWcollect_env.py341# L1tf: Not affectedCOMMENT
LOWcollect_env.py361# ProcessorType=3COMMENT
LOWpyproject.toml121fastvideo-kernel = [COMMENT
LOWrequirements-mkdocs.txt1# This file was autogenerated by uv via the following command:COMMENT
LOWrequirements-mkdocs.txt21gitdb==4.0.12COMMENT
LOWrequirements-mkdocs.txt41 # mkdocsCOMMENT
LOWrequirements-mkdocs.txt61 # mkdocs-api-autonavCOMMENT
LOWrequirements-mkdocs.txt81 # via -r requirements-mkdocs.inCOMMENT
LOWrequirements-mkdocs.txt101 # via mkdocs-materialCOMMENT
LOWfastvideo-kernel/CMakeLists.txt21else()COMMENT
LOWfastvideo-kernel/CMakeLists.txt381COMMENT
LOWfastvideo-kernel/build.sh1#!/bin/bashCOMMENT
LOW…o-kernel/python/fastvideo_kernel/turbodiffusion_ops.py481 # But ctx.save_for_backward saves the original x (3D if input was 3D).COMMENT
LOW…o-kernel/python/fastvideo_kernel/turbodiffusion_ops.py501 # dy = grad_outputCOMMENT
LOW…o-kernel/python/fastvideo_kernel/turbodiffusion_ops.py521 # Using PyTorch autograd for reference logic:COMMENT
LOW…fastvideo_kernel/triton_kernels/fused_compress_topk.py241 scores_f32 = scores.to(tl.float32)COMMENT
LOW…l/python/fastvideo_kernel/triton_kernels/sla_triton.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWfastvideo-kernel/tests/test_attn_qat_train.py1421 )COMMENT
LOWfastvideo-kernel/tests/test_attn_qat_train.py1521 )COMMENT
LOWfastvideo-kernel/tests/test_attn_qat_train.py1581 # test_fused_attention_non_causal()COMMENT
LOWfastvideo-kernel/attn_qat_infer/blackwell/utils.h21#include <stdlib.h>COMMENT
LOW…ideo-kernel/attn_qat_infer/blackwell/epilogue_tma_ws.h141 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.h161 // #pragma unrollCOMMENT
LOW…tvideo-kernel/attn_qat_infer/blackwell/static_switch.h1// Inspired byCOMMENT
LOWfastvideo-kernel/attn_qat_infer/blackwell/kernel_ws.h21COMMENT
LOW…tvideo-kernel/attn_qat_infer/quantization/cuda_utils.h1#pragma onceCOMMENT
LOWtests/local_tests/zimage/test_zimage_encoder_parity.py221 model = SimpleNamespace(COMMENT
LOWtests/local_tests/dreamx_world/README.md201# decoded: 9 frames, (64, 64, 3), uint8COMMENT
LOWtests/local_tests/magi_human/test_magi_human_parity.py241COMMENT
LOW.agents/scripts/sync-skills.sh1#!/usr/bin/env bashCOMMENT
LOW…add-model-02-parity/templates/component_parity_test.py181 f"diff_max={diff.max().item():.6f} diff_mean={diff.mean().item():.6f}")COMMENT
LOWfastvideo/envs.py201 lambda: os.getenv("FASTVIDEO_LOGGING_PREFIX", ""),COMMENT
LOWfastvideo/envs.py221 # If set (=1), the FLASH_ATTN backend uses FlashAttention-4COMMENT
LOWfastvideo/envs.py301 # costs ~1.5x runtime overhead and ~1.4x trace size.COMMENT
LOWfastvideo/envs.py341 # If set, fastvideo will enable stage logging, which will print the timeCOMMENT
LOWfastvideo/fastvideo_args.py141 # The attention backend requested for this run. Applied per component atCOMMENT
LOWfastvideo/fastvideo_args.py161COMMENT
LOWfastvideo/fastvideo_args.py181 enable_torch_compile_text_encoder: bool = FalseCOMMENT
LOWfastvideo/utils.py661 if not os.path.exists(transformer_dir):COMMENT
LOWfastvideo/attention/backends/sla.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWfastvideo/attention/utils/flash_attn_no_pad.py1# Licensed under the TENCENT HUNYUAN COMMUNITY LICENSE AGREEMENT (the "License");COMMENT
LOWfastvideo/attention/utils/flash_attn_no_pad.py201 return outputCOMMENT
LOWfastvideo/attention/utils/flash_attn_default.py181 setup_context=_flash_attn_default_setup_context,COMMENT
LOWfastvideo/platforms/__init__.py161 if name == 'current_platform':COMMENT
LOWfastvideo/layers/linear.py641COMMENT
LOWfastvideo/layers/rotary_embedding.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOW…deo/distributed/device_communicators/pynccl_wrapper.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOW…deo/distributed/device_communicators/pynccl_wrapper.py141 # is a pointer to a pointerCOMMENT
LOW…deo/distributed/device_communicators/pynccl_wrapper.py161COMMENT
LOW…deo/distributed/device_communicators/pynccl_wrapper.py181 [buffer_type, ctypes.c_size_t, ncclDataType_t, ctypes.c_int, ncclComm_t, cudaStream_t]),COMMENT
LOWfastvideo/training/training_utils.py1141 return num_train_timestep * (shift * t / denominator)COMMENT
LOW…o/tests/nightly/test_e2e_kandinsky5_dmd_t2v_overfit.py81# test-owned root. It must NEVER point at (or contain) the documentedCOMMENT
LOW…o/tests/nightly/test_e2e_kandinsky5_dmd_t2v_overfit.py121# from a broken pipeline AND decorrelates across runs, making the SSIMCOMMENT
LOW…o/tests/nightly/test_e2e_kandinsky5_dmd_t2v_overfit.py141# safe margin (a solid clip scores ~0.92!), so the structural checksCOMMENT
LOWfastvideo/tests/golden_gate/test_kandinsky5.py101 # Pin FA4 off for THIS test only (test_kandinsky5_similarity.py:84). ACOMMENT
LOWfastvideo/tests/vaes/test_wan_vae.py41 model1 = AutoencoderKLWan.from_pretrained(VAE_PATH, torch_dtype=precision).to(device).eval()COMMENT
LOWfastvideo/tests/train/methods/test_wan_causal_dfsft.py121 # observed 3.2562 vs 3.5860 (10.13% apart) with identical code, straddlingCOMMENT
LOW…/train/models/test_kandinsky5_qat_attention_engages.py161 # (head_size, dtype, supported_backends) -- not on the env var -- soCOMMENT
116 more matches not shown…
Cross-Language Confusion30 hits · 140 pts
SeverityFileLineSnippetContext
HIGHfastvideo/tests/performance/dashboard.py249 f"({item['non_null']}/{item['records']} non-null)")CODE
HIGHfastvideo/tests/modal/launch_l40s_job.py331 "source $HOME/.local/bin/env 2>/dev/null || true; "CODE
HIGHfastvideo/tests/modal/launch_l40s_job.py332 "source /opt/venv/bin/activate 2>/dev/null || true; "CODE
HIGHfastvideo/tests/modal/launch_l40s_job.py341 "source $HOME/.local/bin/env 2>/dev/null || true; "CODE
HIGHfastvideo/tests/modal/launch_l40s_job.py342 "source /opt/venv/bin/activate 2>/dev/null || true; "CODE
HIGHfastvideo/tests/modal/pr_test.py62 "nodejs").run_commands("node --version && npm --version"))CODE
HIGHfastvideo/tests/modal/pr_test.py252 "export HF_HOME='/root/data/.cache' && hf auth login --token $HF_API_KEY && bash .buildkite/scripts/lanes/encodeCODE
HIGHfastvideo/tests/modal/pr_test.py263 "export HF_HOME='/root/data/.cache' && hf auth login --token $HF_API_KEY && bash .buildkite/scripts/lanes/vae.shCODE
HIGHfastvideo/tests/modal/pr_test.py277 "export HF_HOME='/root/data/.cache' && hf auth login --token $HF_API_KEY && bash .buildkite/scripts/lanes/goldenCODE
HIGHfastvideo/tests/modal/pr_test.py317 run_test("wandb login $WANDB_API_KEY && FASTVIDEO_FA4=0 pytest ./fastvideo/tests/training/VSA -srP")CODE
HIGHfastvideo/tests/modal/pr_test.py380 trap "kill $MOCK_SERVER_PID 2>/dev/null || true" EXITCODE
HIGHfastvideo/tests/modal/pr_test.py452 "export HF_HOME='/root/data/.cache' && hf auth login --token $HF_API_KEY && bash .buildkite/scripts/lanes/eval.sSTRING
HIGHfastvideo/tests/modal/pr_test.py459 run_test("hf auth login --token $HF_API_KEY && pytest ./fastvideo/tests/lora_extraction/test_lora_extraction.py")STRING
HIGHfastvideo/tests/modal/pr_test.py498 "python ./fastvideo/tests/performance/dashboard.py || true; "STRING
HIGHfastvideo/tests/modal/pr_test.py500 "cat /tmp/gpu_telemetry.csv || true; "STRING
HIGHfastvideo/tests/modal/pr_test.py513 "export HF_HOME='/root/data/.cache' && hf auth login --token $HF_API_KEY && pytest ./fastvideo/tests/entrypointsSTRING
HIGHfastvideo/tests/modal/ssim_test.py457 return f"git fetch --prune origin refs/pull/{pr_id}/head && git checkout FETCH_HEAD"CODE
HIGHfastvideo/tests/modal/ssim_test.py553 command = f"set -euo pipefail && source $HOME/.local/bin/env && source /opt/venv/bin/activate && {pytest_command}"STRING
HIGHfastvideo/models/vaes/minimax_h3_parallel.py282 assembler.push(gathered.narrow(2, slot * segment_frames, segment_frames))CODE
HIGHfastvideo/eval/metrics/audio/kl_divergence/metric.py1"""PaSST KL divergence ``KL(gt || pred)`` on AudioSet-527 logits.STRING
HIGHfastvideo/eval/metrics/audio/kl_divergence/metric.py64 """``KL(gt || pred)`` over class-probability softmax. Matches av-benchmark."""STRING
HIGHfastvideo/eval/metrics/audio/kl_divergence/metric.py75 """``KL(gt || pred)`` over per-class Bernoulli sigmoid (multi-label variant)."""STRING
HIGHfastvideo/eval/metrics/audio/kl_divergence/metric.py86 """PaSST KL divergence ``KL(gt || pred)`` on AudioSet-527 logits.STRING
HIGHfastvideo/eval/metrics/optical_flow/_shared.py76 """KL(P_a || P_b) over a joint (angle, log-magnitude) histogram."""STRING
HIGHexamples/inference/basic/basic_gen3c.py12 sudo apt-get update && sudo apt-get install -y libgl1 libglib2.0-0 libsm6 libxext6 libxrender1STRING
HIGH…/inference/gradio/local/gradio_local_demo_ltx2_3/ui.py1478 if (document.activeElement && document.activeElement !== document.body) return true;CODE
HIGH…/inference/gradio/local/gradio_local_demo_ltx2_3/ui.py1489 let releaseTimer = null;CODE
HIGH…/inference/gradio/local/gradio_local_demo_ltx2_3/ui.py1502 const scroller = document.scrollingElement || document.documentElement;CODE
HIGH…/inference/gradio/local/gradio_local_demo_ltx2_3/ui.py1504 const atTop = scroller.scrollTop <= 0 && event.deltaY < 0;CODE
HIGH…/inference/gradio/local/gradio_local_demo_ltx2_3/ui.py1505 const atBottom = scroller.scrollTop >= maxScroll - 1 && event.deltaY > 0;CODE
AI Structural Patterns138 hits · 129 pts
SeverityFileLineSnippetContext
LOW…thon/fastvideo_kernel/triton_kernels/st_attn_triton.py56CODE
LOW…thon/fastvideo_kernel/triton_kernels/attn_qat_train.py1039CODE
LOWfastvideo-kernel/tests/test_sta.py15CODE
LOWfastvideo-kernel/tests/test_attn_qat_train.py143CODE
LOWfastvideo-kernel/tests/test_vsa_forward.py71CODE
LOWfastvideo/attention/layer.py347CODE
LOWfastvideo/attention/backends/sage_attn3.py82CODE
LOWfastvideo/attention/backends/sdpa.py147CODE
LOWfastvideo/attention/backends/sla.py189CODE
LOWfastvideo/attention/backends/sla.py328CODE
LOWfastvideo/attention/backends/sla.py561CODE
LOWfastvideo/attention/backends/vmoba.py69CODE
LOWfastvideo/attention/backends/sage_attn.py64CODE
LOWfastvideo/attention/utils/flash_attn_no_pad.py100CODE
LOWfastvideo/attention/utils/flash_attn_no_pad.py152CODE
LOWfastvideo/attention/utils/flash_attn_no_pad.py201CODE
LOWfastvideo/attention/utils/flash_attn_cute.py348CODE
LOWfastvideo/layers/linear.py156CODE
LOWfastvideo/layers/visual_embedding.py27CODE
LOWfastvideo/layers/vocab_parallel_embedding.py356CODE
LOWfastvideo/layers/rotary_embedding.py349CODE
LOWfastvideo/layers/quantization/nvfp4_config.py420CODE
LOWfastvideo/layers/quantization/nvfp4_qat_config.py141CODE
LOWfastvideo/dataset/preprocessing_datasets.py667CODE
LOWfastvideo/dataset/parquet_dataset_iterable_style.py62CODE
LOWfastvideo/training/training_utils.py174CODE
LOWfastvideo/training/training_utils.py535CODE
LOWfastvideo/tests/train/callbacks/test_validation.py41CODE
LOWfastvideo/tests/ops/test_rotary_pos_embed_cache.py20CODE
LOWfastvideo/tests/modal/launch_l40s_job.py512CODE
LOWfastvideo/tests/modal/ssim_test.py871CODE
LOWfastvideo/tests/modal/ssim_test.py946CODE
LOWfastvideo/pipelines/stages/text_encoding.py122CODE
LOWfastvideo/pipelines/stages/gamecraft_image_encoding.py168CODE
LOWfastvideo/pipelines/stages/gamecraft_image_encoding.py173CODE
LOWfastvideo/pipelines/basic/dreamx_world/stages.py156CODE
LOWfastvideo/pipelines/basic/gen3c/camera_utils.py83CODE
LOW…stvideo/pipelines/basic/magi_human/stages/denoising.py76CODE
LOW…ipelines/basic/magi_human/stages/latent_preparation.py103CODE
LOW…ideo/pipelines/basic/magi_human/stages/sr_denoising.py27CODE
LOWfastvideo/models/mask_utils.py71CODE
LOWfastvideo/models/upsamplers/ltx2_upsampler.py162CODE
LOWfastvideo/models/dits/wanvideo.py766CODE
LOWfastvideo/models/dits/longcat.py1021CODE
LOWfastvideo/models/dits/dreamx_world_ar.py779CODE
LOWfastvideo/models/dits/sd3.py103CODE
LOWfastvideo/models/dits/flux_2.py181CODE
LOWfastvideo/models/dits/flux_2.py350CODE
LOWfastvideo/models/dits/dreamx_world.py193CODE
LOWfastvideo/models/dits/dreamx_world.py449CODE
LOWfastvideo/models/dits/ltx2.py1782CODE
LOWfastvideo/models/dits/ltx2.py2328CODE
LOWfastvideo/models/dits/ltx2.py2857CODE
LOWfastvideo/models/dits/flux.py463CODE
LOWfastvideo/models/dits/causal_wanvideo.py196CODE
LOWfastvideo/models/dits/matrixgame3/action_module.py70CODE
LOWfastvideo/models/dits/matrixgame3/model.py199CODE
LOWfastvideo/models/dits/matrixgame3/model.py285CODE
LOWfastvideo/models/dits/matrixgame3/model.py555CODE
LOWfastvideo/models/dits/matrixgame2/action_module.py210CODE
78 more matches not shown…
Redundant / Tautological Comments73 hits · 108 pts
SeverityFileLineSnippetContext
LOWfastvideo-kernel/python/fastvideo_kernel/ops.py30 # Check if the specific op is availableCOMMENT
LOWfastvideo-kernel/python/fastvideo_kernel/vmoba.py254 if selected_other_indices.numel() > 0: # Check if any 'other' indices were selectedCODE
LOWtests/local_tests/gen3c/test_gen3c.py82 # Check if distributed is initializedCOMMENT
LOWtests/local_tests/gen3c/test_gen3c.py182 # Check if distributed is initializedCOMMENT
LOWfastvideo/fastvideo_args.py1212 # Check if the attribute is provided in argsCOMMENT
LOWfastvideo/attention/backends/bsa_attn.py265 # Check if all heads share the same mask for this batch elementCOMMENT
LOWfastvideo/attention/backends/sla.py331# Check if spas_sage_attn is available for SageSLACOMMENT
LOWfastvideo/layers/rotary_embedding.py126 # Check if cos/sin are full head_dim (rotate_half style) or half (traditional style)COMMENT
LOWfastvideo/dataset/preprocessing_datasets.py187 # Check if video is too longCOMMENT
LOWfastvideo/dataset/parquet_dataset_map_style.py135 # Check if cached info existsCOMMENT
LOWfastvideo/dataset/parquet_dataset_iterable_style.py92 # Assign files to current rank's SP groupCOMMENT
LOWfastvideo/dataset/parquet_dataset_iterable_style.py145 # Check if sharding plan already existsCOMMENT
LOW…stvideo/training/self_forcing_distillation_pipeline.py49 # Check if FSDP2 auto wrap is enabled - not supported for self-forcing distillationCOMMENT
LOWfastvideo/training/distillation_pipeline.py274 # Set flag to prevent custom weight loading for teacher/critic modelsCOMMENT
LOWfastvideo/tests/training/distill/test_distill_dmd.py88 # Check if the process failedCOMMENT
LOW…video/tests/training/self-forcing/test_self_forcing.py187 # Check if the process failedCOMMENT
LOWfastvideo/tests/training/Vanilla/test_training_loss.py89 # Check if the process failedCOMMENT
LOWfastvideo/tests/training/Vanilla/mfu_calculation.py161 # Check if the process failedCOMMENT
LOWfastvideo/tests/transformers/test_wanvideo.py104 # Check if outputs have the same shapeCOMMENT
LOWfastvideo/tests/transformers/test_wanvideo.py108 # Check if outputs are similar (allowing for small numerical differences)COMMENT
LOWfastvideo/tests/transformers/test_cosmos.py131 # Check if outputs have the same shapeCOMMENT
LOWfastvideo/tests/transformers/test_cosmos.py135 # Check if outputs are similar (allowing for small numerical differences)COMMENT
LOWfastvideo/tests/transformers/test_cosmos2_5.py294 # Set models to eval modeCOMMENT
LOWfastvideo/tests/transformers/test_cosmos2_5.py397 # Check if outputs have the same shapeCOMMENT
LOWfastvideo/tests/transformers/test_cosmos2_5.py403 # Check if outputs are similarCOMMENT
LOWfastvideo/tests/encoders/test_hyt5_encoder.py122 # Check if outputs are similar (allowing for small numerical differences)COMMENT
LOWfastvideo/tests/vaes/test_wan_vae.py63 # Check if latents have the same shapeCOMMENT
LOWfastvideo/tests/vaes/test_wan_vae.py66 # Check if latents are similarCOMMENT
LOWfastvideo/tests/vaes/test_wan_vae.py83 # Check if outputs have the same shapeCOMMENT
LOWfastvideo/tests/vaes/test_wan_vae.py86 # Check if outputs are similarCOMMENT
LOWfastvideo/tests/ssim/test_longcat_similarity.py183 # Check if absolute or already existsCOMMENT
LOW…video/tests/entrypoints/test_openai_api_integration.py98 # Check if the process died.COMMENT
LOWfastvideo/pipelines/composed_pipeline_base.py501 # Check if all required modules were loadedCOMMENT
LOWfastvideo/pipelines/composed_pipeline_base.py545 # Return the outputCOMMENT
LOWfastvideo/pipelines/stages/longcat_kv_cache_init.py41 # Check if KV cache is enabledCOMMENT
LOWfastvideo/pipelines/stages/base.py134 # Check if verification is enabled (simple approach for prototype)COMMENT
LOW…lines/preprocess/preprocess_pipeline_ode_trajectory.py90 if text and text.strip(): # Check if text is not emptyCODE
LOW…video/pipelines/preprocess/preprocess_pipeline_text.py64 if text and text.strip(): # Check if text is not emptyCODE
LOW…video/pipelines/preprocess/preprocess_pipeline_base.py271 if not torch.all(pixel_values == 0): # Check if all values are zeroCODE
LOW…ame2/matrixgame2_preprocess_pipeline_ode_trajectory.py202 if not torch.all(pixel_values == 0): # Check if all values are zeroCODE
LOW…deo/pipelines/basic/hunyuan15/hunyuan15_sr_pipeline.py117 # Return the outputCOMMENT
LOW…eo/pipelines/basic/hunyuan15/hunyuan15_2sr_pipeline.py140 # Return the outputCOMMENT
LOW…stvideo/pipelines/basic/longcat/longcat_vc_pipeline.py147 # Check if we have video_latent (from VC encoding stage)COMMENT
LOW…stvideo/pipelines/basic/longcat/longcat_vc_pipeline.py150 # Set image_latent to video_latent for parent class compatibilityCOMMENT
LOWfastvideo/models/hf_transformer_utils.py91 # Check if the model path existsCOMMENT
LOWfastvideo/models/dits/matrixgame2/action_module.py149 # Check if we need to evict tokensCOMMENT
LOWfastvideo/models/dits/hyworld/retrieval_context.py134 # Check if within FOVCOMMENT
LOWfastvideo/models/loader/component_loader.py1076 # Check if we should use custom initialization weightsCOMMENT
LOWfastvideo/models/loader/component_loader.py1163 # Check if model has nn.ModuleList for layerwise offload compatibilityCOMMENT
LOWfastvideo/models/loader/fsdp_load.py203 # Check if we should use FSDPCOMMENT
LOWfastvideo/models/loader/fsdp_load.py469 # Check if we should use size-based filteringCOMMENT
LOWfastvideo/models/vaes/gamecraftvae.py314 # Check if temporal tiling needed (>64 output frames)COMMENT
LOWfastvideo/models/vaes/gamecraftvae.py317 # Check if spatial tiling needed (large H or W)COMMENT
LOWfastvideo/models/schedulers/base.py14 # Check if subclass has defined all required propertiesCOMMENT
LOWfastvideo/entrypoints/cli/bench_serving.py337 # Check if we need to use multipart (for image edits with input images)COMMENT
LOWfastvideo/entrypoints/cli/bench_serving.py431 # Check if we need to upload images (Multipart) or just send JSONCOMMENT
LOWfastvideo/worker/multiproc_executor.py84 # Check if master_port is provided in fastvideo_argsCOMMENT
LOWfastvideo/worker/multiproc_executor.py326 # Check if workers were initialized (they might not be if initialization failed)COMMENT
LOWexamples/inference/basic/basic_matrixgame2.py59 # Set pin_cpu_memory to false if CPU RAM is limited and there're no frequent CPU-GPU transferCOMMENT
LOWexamples/inference/basic/basic_longcat_vc.py55 # Check if video existsCOMMENT
13 more matches not shown…
Self-Referential Comments33 hits · 91 pts
SeverityFileLineSnippetContext
MEDIUMtests/local_tests/gamecraft/test_gamecraft_parity.py100 # Create a minimal args objectCOMMENT
MEDIUM…ocal_tests/gamecraft/test_gamecraft_pipeline_parity.py196 # Create the samplerCOMMENT
MEDIUMdocs/generate_examples.py525 # Create the main examples index only if requestedCOMMENT
MEDIUMfastvideo/fastvideo_args.py810 # Create a dictionary of attribute values, with defaults for missing attributesCOMMENT
MEDIUMfastvideo/fastvideo_args.py1191 # Create a dictionary of attribute values, with defaults for missing attributesCOMMENT
MEDIUMfastvideo/distributed/parallel_state.py281 # Create a dummy context for non-CUDA platformsCOMMENT
MEDIUM…deo/distributed/device_communicators/pynccl_wrapper.py4# This file is a pure Python wrapper for the NCCL library.COMMENT
MEDIUMfastvideo/dataset/preprocessing_datasets.py166 # Create a seeded random generator for deterministic samplingCOMMENT
MEDIUMfastvideo/dataset/preprocessing_datasets.py317 # Create a seeded random generator for deterministic CFGCOMMENT
MEDIUMfastvideo/dataset/preprocessing_datasets.py605 # Create a text-only batch with dummy pathCOMMENT
MEDIUMfastvideo/dataset/parquet_dataset_map_style.py51 # Create a random permutation of all indicesCOMMENT
MEDIUMfastvideo/dataset/parquet_dataset_map_style.py304 # Create a seeded random generator for deterministic CFGCOMMENT
MEDIUMfastvideo/dataset/latent_datasets.py23 # Create a seeded random generator for deterministic CFGCOMMENT
MEDIUM…stvideo/training/self_forcing_distillation_pipeline.py589 # Create a new batch with detached tensorsCOMMENT
MEDIUM…stvideo/training/self_forcing_distillation_pipeline.py643 # Create a new batch with detached tensorsCOMMENT
MEDIUMfastvideo/tests/hooks/test_hooks_api.py29 # Create a simple modelCOMMENT
MEDIUMfastvideo/pipelines/stages/latent_preparation.py79 # Create a dummy zero-length text embedding to satisfy downstream checks.COMMENT
MEDIUM…lines/preprocess/preprocess_pipeline_ode_trajectory.py275 # Initialize class variables for data sharingCOMMENT
MEDIUM…video/pipelines/preprocess/preprocess_pipeline_text.py168 # Initialize class variables for data sharingCOMMENT
MEDIUM…video/pipelines/preprocess/preprocess_pipeline_base.py46 # Initialize class variables for data sharingCOMMENT
MEDIUM…ame2/matrixgame2_preprocess_pipeline_ode_trajectory.py379 # Initialize class variables for data sharingCOMMENT
MEDIUMfastvideo/models/mask_utils.py120 ## Creating a simple causal mask:STRING
MEDIUMfastvideo/models/mask_utils.py141 ## Creating a sliding window mask:STRING
MEDIUMfastvideo/models/mask_utils.py162 ## Creating a chunked attention maskSTRING
MEDIUMfastvideo/models/vaes/hunyuanvae.py56 # Define the projection layersCOMMENT
MEDIUMfastvideo/models/vaes/wanvae.py524 # Create the componentsSTRING
MEDIUMfastvideo/worker/ray_env.py13# This file contains a list of env vars that should not be copiedCOMMENT
MEDIUMfastvideo/worker/ray_distributed_executor.py89 # Create the workers.COMMENT
MEDIUMfastvideo/worker/ray_utils.py212 # Create a new placement groupCOMMENT
MEDIUMexamples/inference/basic/basic_longcat_vc.py159 # Create a new generator with refinement LoRA and BSA enabledCOMMENT
MEDIUMexamples/inference/basic/basic_longcat_t2v.py134 # Create a new generator with refinement LoRA and BSA enabledCOMMENT
MEDIUMexamples/inference/basic/basic_longcat_i2v.py143 # Create a new generator with refinement LoRA and BSA enabledCOMMENT
MEDIUMscripts/dataset_preparation/generate_validation_json.py33 # Create the final validation structureCOMMENT
Structural Annotation Overuse31 hits · 56 pts
SeverityFileLineSnippetContext
LOWtests/local_tests/lingbot_video/README.md76### Step 1: Clone The Official Reference ImplementationCOMMENT
LOWtests/local_tests/lingbot_video/README.md90### Step 2: Prepare The Virtual EnvironmentCOMMENT
LOWtests/local_tests/lingbot_video/README.md111### Step 3: Configure The Hugging Face CacheCOMMENT
LOWtests/local_tests/lingbot_video/README.md137### Step 4: Understand Checkpoint ConversionCOMMENT
LOWdocs/contributing/developer_env/runpod.md11## Step 1: Create a PodCOMMENT
LOWdocs/contributing/developer_env/runpod.md50## Step 2: Connect via SSHCOMMENT
LOWdocs/contributing/developer_env/runpod.md84## Step 3: Set Up FastVideoCOMMENT
LOWdocs/inference/add_pipeline.md16## Step 1: Pipeline ModulesCOMMENT
LOWdocs/inference/add_pipeline.md181## Step 2: Directory StructureCOMMENT
LOWdocs/inference/add_pipeline.md192## Step 3: Implement Pipeline ClassCOMMENT
LOWdocs/inference/add_pipeline.md333## Step 4: Register Your PipelineCOMMENT
LOW…stvideo/training/self_forcing_distillation_pipeline.py211 # Step 1: Initialize KV cache to all zerosCOMMENT
LOW…stvideo/training/self_forcing_distillation_pipeline.py218 # Step 2: Cache context featureCOMMENT
LOW…stvideo/training/self_forcing_distillation_pipeline.py240 # Step 3: Temporal denoising loopCOMMENT
LOW…ning/matrixgame2_self_forcing_distillation_pipeline.py361 # Step 1: Initialize KV cache to all zerosCOMMENT
LOW…ning/matrixgame2_self_forcing_distillation_pipeline.py365 # Step 2: Temporal denoising loopCOMMENT
LOWfastvideo/training/distillation_pipeline.py530 # Step 1: Randomly sample a target timestep index from denoising_step_listCOMMENT
LOWfastvideo/training/distillation_pipeline.py535 # Step 2: Simulate the multi-step inference process up to the target timestepCOMMENT
LOWfastvideo/training/distillation_pipeline.py571 # Step 3: Use the simulated noisy input for the final training stepCOMMENT
LOWfastvideo/training/distillation_pipeline.py580 # Step 4: Final student prediction (this is what we train on)COMMENT
LOWfastvideo/tests/train/callbacks/test_ema.py135 # Step 0: re-init at 2.0, then update against 2.0 → still 2.0.COMMENT
LOWfastvideo/tests/train/callbacks/test_ema.py137 # Step 1: drift transformer to 12.0, expectCOMMENT
LOWfastvideo/models/dits/cosmos2_5.py448 # Step 1: Compute ALL modulation parameters once (matches official model)COMMENT
LOWfastvideo/models/dits/cosmos2_5.py476 # Step 2: Self-attention blockCOMMENT
LOWfastvideo/models/dits/cosmos2_5.py487 # Step 3: Cross-attention blockCOMMENT
LOWfastvideo/models/dits/cosmos2_5.py500 # Step 4: MLP blockCOMMENT
LOWscripts/checkpoint_conversion/longcat_to_fastvideo.py591 # Step 1: Convert transformer weightsCOMMENT
LOWscripts/checkpoint_conversion/longcat_to_fastvideo.py629 # Step 2: Copy other componentsCOMMENT
LOWscripts/checkpoint_conversion/longcat_to_fastvideo.py639 # Step 3: Convert LoRA weightsCOMMENT
LOWscripts/checkpoint_conversion/longcat_to_fastvideo.py644 # Step 4: Update transformer configCOMMENT
LOWscripts/checkpoint_conversion/longcat_to_fastvideo.py657 # Step 5: Create model_index.jsonCOMMENT
Verbosity Indicators21 hits · 41 pts
SeverityFileLineSnippetContext
LOWfastvideo/platforms/__init__.py26 # we need to check if fastvideo is built with cpu too.COMMENT
LOW…stvideo/training/self_forcing_distillation_pipeline.py211 # Step 1: Initialize KV cache to all zerosCOMMENT
LOW…stvideo/training/self_forcing_distillation_pipeline.py218 # Step 2: Cache context featureCOMMENT
LOW…stvideo/training/self_forcing_distillation_pipeline.py240 # Step 3: Temporal denoising loopCOMMENT
LOW…ning/matrixgame2_self_forcing_distillation_pipeline.py361 # Step 1: Initialize KV cache to all zerosCOMMENT
LOW…ning/matrixgame2_self_forcing_distillation_pipeline.py365 # Step 2: Temporal denoising loopCOMMENT
LOWfastvideo/training/distillation_pipeline.py530 # Step 1: Randomly sample a target timestep index from denoising_step_listCOMMENT
LOWfastvideo/training/distillation_pipeline.py535 # Step 2: Simulate the multi-step inference process up to the target timestepCOMMENT
LOWfastvideo/training/distillation_pipeline.py571 # Step 3: Use the simulated noisy input for the final training stepCOMMENT
LOWfastvideo/training/distillation_pipeline.py580 # Step 4: Final student prediction (this is what we train on)COMMENT
LOWfastvideo/tests/train/callbacks/test_ema.py135 # Step 0: re-init at 2.0, then update against 2.0 → still 2.0.COMMENT
LOWfastvideo/tests/train/callbacks/test_ema.py137 # Step 1: drift transformer to 12.0, expectCOMMENT
LOWfastvideo/models/dits/cosmos2_5.py448 # Step 1: Compute ALL modulation parameters once (matches official model)COMMENT
LOWfastvideo/models/dits/cosmos2_5.py476 # Step 2: Self-attention blockCOMMENT
LOWfastvideo/models/dits/cosmos2_5.py487 # Step 3: Cross-attention blockCOMMENT
LOWfastvideo/models/dits/cosmos2_5.py500 # Step 4: MLP blockCOMMENT
LOWscripts/checkpoint_conversion/longcat_to_fastvideo.py591 # Step 1: Convert transformer weightsCOMMENT
LOWscripts/checkpoint_conversion/longcat_to_fastvideo.py629 # Step 2: Copy other componentsCOMMENT
LOWscripts/checkpoint_conversion/longcat_to_fastvideo.py639 # Step 3: Convert LoRA weightsCOMMENT
LOWscripts/checkpoint_conversion/longcat_to_fastvideo.py644 # Step 4: Update transformer configCOMMENT
LOWscripts/checkpoint_conversion/longcat_to_fastvideo.py657 # Step 5: Create model_index.jsonCOMMENT
AI Slop Vocabulary14 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUM…stvideo-kernel/tests/test_vsa_triton_backward_scale.py89 # Forward is exact at any scale; this pins the harness itself.COMMENT
LOWfastvideo/dataset/preprocessing_datasets.py212 # For images, just add sample infoCOMMENT
MEDIUMfastvideo/tests/train/methods/test_wan_causal_dfsft.py116 # 5a-ii: device-keyed grad-norm regression on top of the same harness.COMMENT
MEDIUMfastvideo/tests/train/methods/test_wan_causal_dfsft.py118 # rtol above the harness default: the causal model compiles flex_attentionCOMMENT
MEDIUM…video/tests/train/methods/test_matrixgame2_finetune.py147 # 5a-ii: device-keyed grad-norm regression on top of the same harness.COMMENT
MEDIUMfastvideo/tests/train/methods/test_wan_finetune.py133 # 5a-ii: device-keyed grad-norm regression on top of the same harness.COMMENT
MEDIUMfastvideo/tests/train/methods/test_ltx2_finetune.py189 # Device-keyed grad-norm regression on top of the same harness.COMMENT
MEDIUMfastvideo/tests/train/methods/test_cosmos_finetune.py115 # 5a-ii: device-keyed grad-norm regression on top of the same harness.COMMENT
MEDIUMfastvideo/pipelines/stages/validators.py472 """Get a comprehensive summary of all validation failures."""STRING
MEDIUM…tvideo/pipelines/basic/stable_audio/stages/decoding.py37 # so the LatentSimilarityUtils harness can compare on pre-VAECOMMENT
MEDIUMfastvideo/models/dits/cosmos.py548 # dtype so the model forward is robust regardless of caller.COMMENT
LOW…eo/third_party/eval/synchformer/hf_src/modeling_ast.py556 # since all values in the D-dimension (latent) will also be nans, we can just use the first elSTRING
MEDIUMexamples/inference/basic/mlx_wan_prompt_to_video.py87# benchmark harness). New code should prefer resolve_model_root(None), whichCOMMENT
MEDIUMapps/fastvideo_studio/job_runner.py551 # that might escape (though they shouldn't with our comprehensive handling)COMMENT
Example Usage Blocks14 hits · 22 pts
SeverityFileLineSnippetContext
LOWfastvideo-kernel/build.sh5# Usage:COMMENT
LOWfastvideo-kernel/tests/test_sta.py75# Example usageCOMMENT
LOW.agents/scripts/sync-skills.sh11# Usage:COMMENT
LOWfastvideo/dataset/ltx2_precomputed_dataset.py4# Usage:COMMENT
LOW…raining/finetune/cosmos2_5/preprocess_cosmos2_5_t2w.sh24# Usage:COMMENT
LOWexamples/train/run_slurm.sh4# Usage:COMMENT
LOWexamples/train/run.sh4# Usage:COMMENT
LOW…nario/ode_init_self_forcing_wan_causal/step2_export.sh4# Usage:COMMENT
LOW…gs/distribution_matching/kandinsky5/distill_dmd_qat.sh4# Usage:COMMENT
LOWscripts/inference/run.sh4# Usage:COMMENT
LOWapps/dreamverse/scripts/install_native_ffmpeg.sh20# Usage:COMMENT
LOW…dreamverse/scripts/launch/launch_backend_dreamverse.sh10# Usage:COMMENT
LOW…/dreamverse/scripts/launch/launch_backend_fastvideo.sh6# Usage:COMMENT
LOWapps/dreamverse/scripts/launch/launch_frontend.sh5# Usage:COMMENT
Dead Code8 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMcollect_env.py262CODE
MEDIUMcollect_env.py264CODE
MEDIUMcollect_env.py266CODE
MEDIUMcollect_env.py267CODE
MEDIUMcollect_env.py278CODE
MEDIUMfastvideo/layers/custom_op.py60CODE
MEDIUMfastvideo/layers/custom_op.py62CODE
MEDIUMfastvideo/layers/custom_op.py65CODE
Modern AI Meta-Vocabulary6 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUM…dd-model-09-pipeline/templates/pipeline_parity_test.py63 except Exception as exc: # pragma: no cover - scaffold guardCODE
MEDIUMfastvideo/hooks/layerwise_offload.py101 # These hook entry points only orchestrate host-side parameterCOMMENT
MEDIUMfastvideo/eval/metrics/videoscore2/metric.py52# to avoid matching digits inside the chain-of-thought reasoning.STRING
MEDIUMfastvideo/eval/metrics/videoscore2/metric.py118 # Anchor on the numbered list to skip the chain-of-thought.COMMENT
MEDIUMfastvideo/eval/metrics/videoscore2/metric.py165 # chain-of-thought outside the regex anchor (yielding score=0).COMMENT
MEDIUM.github/workflows/infra-build-image.yml23 # metadata/key helper, ABI dependency metadata, and build orchestration.COMMENT
Fake / Example Data6 hits · 8 pts
SeverityFileLineSnippetContext
LOW…_tests/dreamx_world/test_dreamx_world_ar_conversion.py21 raw_tensor.write_bytes(b"placeholder")CODE
LOWscripts/checkpoint_conversion/wan_to_diffusers.py91 dummy_key = new_key.replace("norm_added_k", "norm_added_q")CODE
LOWscripts/checkpoint_conversion/wan_to_diffusers.py92 dummy_value = torch.zeros_like(v)CODE
LOWscripts/checkpoint_conversion/wan_to_diffusers.py93 new_state_dict[dummy_key] = dummy_valueCODE
LOWapps/dreamverse/web/e2e/mock-backed-generation.spec.ts38 await expect(continuation).toHaveAttribute('placeholder', /generating video/i);CODE
LOW…ps/dreamverse/web/e2e/preset-prompt-generation.spec.ts54 await expect(continuation).toHaveAttribute('placeholder', /generating/i);CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHfastvideo/models/hf_transformer_utils.py124 # Special handling for stop token <|eom_id|> generated by llama 3 tool use.COMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWfastvideo/models/vaes/hunyuanvae.py168 # If you are encountering an error here, make sure to try running encoding/decoding withCOMMENT
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOWfastvideo/entrypoints/video_generator.py286 log_stats=False, # TODO: implementCODE