Repository Analysis

vllm-project/vllm-omni

A framework for efficient model inference with omni-modality models

27.8 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of vllm-project/vllm-omni, a Python project with 5,562 GitHub stars. SynthScan v2.0 examined 653,985 lines of code across 2340 source files, recording 12508 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 27.8 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).

27.8
Adjusted Score
27.8
Raw Score
100%
Time Factor
2026-07-14
Last Push
5.6K
Stars
Python
Language
654.0K
Lines of Code
2.3K
Files
12.5K
Pattern Hits
2026-07-14
Scan Date
0.12
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 6HIGH 281MEDIUM 2063LOW 10158

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

Decorative Section Separators1880 hits · 6288 pts
SeverityFileLineSnippetContext
MEDIUMtests/metrics/test_transfer.py36# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_transfer.py38# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_transfer.py62# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_transfer.py64# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_transfer.py118# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_transfer.py120# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_transfer.py151# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_transfer.py153# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_transfer.py173# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_transfer.py175# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_modality.py32# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_modality.py34# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_modality.py64# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_modality.py66# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_modality.py159# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_modality.py161# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py70# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py72# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py92# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py94# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py219# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py221# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py255# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py257# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py278# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py280# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py305# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py309# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py371# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py378# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py404# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py411# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py35# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/metrics/test_stat_logger.py37# ---------------------------------------------------------------------------COMMENT
MEDIUM…/omni_connectors/test_mooncake_transfer_engine_rdma.py450# ---------------------------------------------------------------------------COMMENT
MEDIUM…/omni_connectors/test_mooncake_transfer_engine_rdma.py452# ---------------------------------------------------------------------------COMMENT
MEDIUM…/omni_connectors/test_mooncake_transfer_engine_rdma.py34# ---------------------------------------------------------------------------COMMENT
MEDIUM…/omni_connectors/test_mooncake_transfer_engine_rdma.py36# ---------------------------------------------------------------------------COMMENT
MEDIUM…/omni_connectors/test_mooncake_transfer_engine_rdma.py197# ---------------------------------------------------------------------------COMMENT
MEDIUM…/omni_connectors/test_mooncake_transfer_engine_rdma.py199# ---------------------------------------------------------------------------COMMENT
MEDIUM…/omni_connectors/test_mooncake_transfer_engine_rdma.py257# ---------------------------------------------------------------------------COMMENT
MEDIUM…/omni_connectors/test_mooncake_transfer_engine_rdma.py259# ---------------------------------------------------------------------------COMMENT
MEDIUM…/omni_connectors/test_mooncake_transfer_engine_rdma.py478# ---------------------------------------------------------------------------COMMENT
MEDIUM…/omni_connectors/test_mooncake_transfer_engine_rdma.py480# ---------------------------------------------------------------------------COMMENT
MEDIUM…/omni_connectors/test_mooncake_transfer_engine_rdma.py526# ---------------------------------------------------------------------------COMMENT
MEDIUM…/omni_connectors/test_mooncake_transfer_engine_rdma.py528# ---------------------------------------------------------------------------COMMENT
MEDIUM…ributed/omni_connectors/test_chunk_transfer_adapter.py949# ---------------------------------------------------------------COMMENT
MEDIUM…ributed/omni_connectors/test_chunk_transfer_adapter.py951# ---------------------------------------------------------------COMMENT
MEDIUM…ributed/omni_connectors/test_chunk_transfer_adapter.py1178# ---------------------------------------------------------------COMMENT
MEDIUM…ributed/omni_connectors/test_chunk_transfer_adapter.py1180# ---------------------------------------------------------------COMMENT
MEDIUM…ributed/omni_connectors/test_chunk_transfer_adapter.py492# ---------------------------------------------------------------COMMENT
MEDIUM…ributed/omni_connectors/test_chunk_transfer_adapter.py494# ---------------------------------------------------------------COMMENT
MEDIUM…ributed/omni_connectors/test_chunk_transfer_adapter.py701# ---------------------------------------------------------------COMMENT
MEDIUM…ributed/omni_connectors/test_chunk_transfer_adapter.py703# ---------------------------------------------------------------COMMENT
MEDIUMtests/distributed/omni_connectors/test_tp_rank_aware.py98# ── Key format helper ────────────────────────────────────────────────COMMENT
MEDIUMtests/distributed/omni_connectors/test_tp_rank_aware.py112# ── Source / target rank mapping ─────────────────────────────────────COMMENT
MEDIUMtests/distributed/omni_connectors/test_tp_rank_aware.py167# ── _build_rank_aware_recv_keys ──────────────────────────────────────COMMENT
MEDIUMtests/distributed/omni_connectors/test_tp_rank_aware.py438# ── Merge / slice hooks ──────────────────────────────────────────────COMMENT
MEDIUMtests/distributed/omni_connectors/test_tp_rank_aware.py226# ── _build_rank_aware_send_keys ──────────────────────────────────────COMMENT
MEDIUMtests/distributed/omni_connectors/test_tp_rank_aware.py247# ── update_sender_info stores base host/port ─────────────────────────COMMENT
1820 more matches not shown…
Hyper-Verbose Identifiers5984 hits · 5786 pts
SeverityFileLineSnippetContext
LOWcollect_env.py135def run_and_parse_first_match(run_lambda, command, regex):CODE
LOWcollect_env.py146def run_and_return_first_line(run_lambda, command):CODE
LOWcollect_env.py179def get_nvidia_driver_version(run_lambda):CODE
LOWcollect_env.py318def summarize_vllm_build_flags():CODE
LOWcollect_env.py473def get_cachingallocator_config():CODE
LOWcollect_env.py478def get_cuda_module_loading_config():CODE
LOWtools/nightly/buildkite_testcase_statistics.py87def extract_pytest_targets_from_line(line: str) -> list[str]:CODE
LOWtools/nightly/buildkite_testcase_statistics.py139def get_pytest_targets_from_step(step: dict) -> list[tuple[str, str]]:CODE
LOWtools/nightly/buildkite_testcase_statistics.py159def _strip_ignore_clauses_from_args_fragment(fragment: str) -> str:CODE
LOWtools/nightly/buildkite_testcase_statistics.py164def _strip_test_config_file_clauses_from_args_fragment(fragment: str) -> str:CODE
LOWtools/nightly/buildkite_testcase_statistics.py169def _pytest_collect_sidecar_args(raw_line: str) -> list[str]:CODE
LOWtools/nightly/buildkite_testcase_statistics.py209def _parse_extra_args_from_line(raw_line: str) -> list[str]:CODE
LOWtools/nightly/buildkite_testcase_statistics.py214def _parse_collect_only_stdout(stdout: str, *, raise_on_empty: bool = True, stderr: str = "") -> list[str]:CODE
LOWtools/nightly/buildkite_testcase_statistics.py354def get_docstring_for_node_id(repo_root: Path, node_id: str) -> str:CODE
LOWtools/nightly/buildkite_testcase_statistics.py397def get_test_file_for_node_id(node_id: str) -> str:CODE
LOWtools/nightly/generate_nightly_perf_excel.py219def _ensure_omni_summary_columns(summary_columns: list[str]) -> list[str]:CODE
LOWtools/nightly/generate_nightly_perf_excel.py262def _default_diffusion_input_dir(input_dir: str) -> str:CODE
LOWtools/nightly/generate_nightly_perf_excel.py456def _parse_diffusion_result_from_filename(filename: str) -> dict[str, Any]:CODE
LOWtools/nightly/generate_nightly_perf_excel.py516def _collect_diffusion_records(diffusion_input_dir: str) -> list[dict[str, Any]]:CODE
LOWtools/nightly/generate_nightly_perf_excel.py545def _process_diffusion_record(record: dict[str, Any]) -> dict[str, Any]:CODE
LOWtools/nightly/generate_nightly_perf_excel.py561def _apply_build_metadata_to_latest_only(CODE
LOWtools/nightly/generate_nightly_perf_excel.py599def _sort_records_for_summary(records: list[dict[str, Any]]) -> list[dict[str, Any]]:CODE
LOWtools/nightly/generate_nightly_perf_excel.py608def _sort_diffusion_records_for_summary(records: list[dict[str, Any]]) -> list[dict[str, Any]]:CODE
LOWtools/nightly/generate_nightly_perf_html.py52def _default_diffusion_input_dir(input_dir: str) -> str:CODE
LOWtools/nightly/generate_nightly_perf_html.py173def _parse_diffusion_from_filename(filename: str) -> dict[str, Any]:CODE
LOWtools/nightly/generate_nightly_perf_html.py192def _iter_diffusion_json_records(input_dir: str) -> Iterable[dict[str, Any]]:CODE
LOWtools/nightly/generate_nightly_perf_html.py248def _collect_diffusion_records(input_dir: str) -> list[dict[str, Any]]:CODE
LOWtools/wan22/assemble_wan22_i2v_diffusers.py62def _load_shard_files_from_index(index_file: Path, role: str) -> tuple[Path, ...]:CODE
LOWtests/test_version.py17def test_version_mismatch_warning():CODE
LOWtests/test_version.py50def test_warning_contains_version_strings():CODE
LOWtests/test_version.py61def test_omni_plugin_loader_invokes_vllm_general_plugins_first(monkeypatch):CODE
LOWtests/test_speaker_cache.py43 def test_make_cache_key_namespaces_model_type(self):CODE
LOWtests/test_speaker_cache.py50 def test_make_cache_key_created_at_isolation(self):CODE
LOWtests/test_speaker_cache.py55 def test_make_cache_key_requires_fields(self):CODE
LOWtests/test_speaker_cache.py67 def test_clear_matches_speaker_across_model_types(self, cache):CODE
LOWtests/test_speaker_cache.py76 def test_stale_cache_on_reupload(self, cache):CODE
LOWtests/test_speaker_cache.py86 def test_memory_bytes_ignores_non_tensors(self, cache):CODE
LOWtests/test_speaker_cache.py100 def test_oversize_entry_skipped(self):CODE
LOWtests/test_speaker_cache.py135 def test_empty_speaker_name_raises_error(self, cache):CODE
LOWtests/test_speaker_cache.py139 def test_cpu_storage_verification(self, cache):CODE
LOWtests/test_arg_utils.py22def test_no_ambiguous_overlap_with_real_engine():CODE
LOWtests/test_arg_utils.py43def test_internal_blacklist_keys_derived_from_orchestrator():CODE
LOWtests/test_generate_nightly_perf_excel.py28def test_generate_excel_report_with_perf_templates(tmp_path: Path):CODE
LOWtests/test_diffusion_config_fields.py26def test_diffusion_stage_configs_only_contain_valid_fields():CODE
LOWtests/test_speaker_cache_integration.py12 def test_delete_propagates_across_model_types(self):CODE
LOWtests/test_speaker_cache_integration.py29 def test_singleton_shared_across_call_sites(self, fresh_speaker_cache):CODE
LOWtests/test_speaker_cache_integration.py39 def test_shutdown_clears_all_entries(self):CODE
LOWtests/test_speaker_cache_integration.py48 def test_stale_cache_protection_delete_then_reupload(self):CODE
LOWtests/test_omni_request.py28def test_omni_params_are_keyword_only():CODE
LOWtests/test_omni_request.py39def test_positional_construction_matches_base_request():CODE
LOWtests/test_omni_request.py52def test_positional_prompt_embeds_does_not_collide():CODE
LOWtests/test_omni_request.py72def test_keyword_omni_params_round_trip():CODE
LOWtests/test_tts_custom_voice_profiles.py123def test_custom_voice_profile_file_must_stay_under_manifest_dir(tmp_path):CODE
LOWtests/test_tts_custom_voice_profiles.py135def test_custom_voice_profiles_drop_stale_provenance_metadata(tmp_path):CODE
LOWtests/test_generate_nightly_perf_html.py21def test_generate_html_report_with_perf_templates(tmp_path: Path):CODE
LOWtests/test_config_factory.py1953 def test_typed_kwarg_overrides_yaml(self):CODE
LOWtests/test_config_factory.py1957 def test_none_value_skipped_yaml_wins(self):CODE
LOWtests/test_config_factory.py1962 def test_empty_kwargs_yaml_only(self):CODE
LOWtests/test_config_factory.py1967 def test_typed_kwarg_equal_to_dataclass_default_still_overrides(self):CODE
LOWtests/test_config_factory.py1972 def test_per_stage_kwarg_routed_to_correct_stage(self):CODE
5924 more matches not shown…
Excessive Try-Catch Wrapping1111 hits · 1158 pts
SeverityFileLineSnippetContext
LOWsetup.py39 except Exception as e:CODE
LOWsetup.py94 except Exception:CODE
LOWsetup.py103 except Exception:CODE
LOWsetup.py112 except Exception:CODE
LOWsetup.py150 except Exception as e:CODE
LOWtools/configure_stage_memory.py39 except Exception:CODE
LOWtools/configure_stage_memory.py65 except Exception as e:CODE
MEDIUMtools/configure_stage_memory.py317 print(f"Error: {config_path} not found", file=sys.stderr)STRING
LOWtools/nightly/send_nightly_email.py277 except Exception as e:CODE
LOWtools/nightly/buildkite_testcase_statistics.py373 except Exception:CODE
LOWtools/wan22/assemble_wan22_i2v_diffusers.py66 except Exception as exc:CODE
LOWtests/test_speaker_cache.py124 except Exception as e:CODE
MEDIUMtests/test_speaker_cache.py119def worker(tid):CODE
LOWtests/test_diffusion_config_fields.py18except Exception:CODE
LOWtests/core/sched/test_generation_scheduler_restore.py60 except Exception:CODE
LOWtests/core/sched/test_generation_scheduler_restore.py83 except Exception:CODE
LOWtests/comfyui/test_comfyui_integration.py458 except Exception:CODE
MEDIUMtests/comfyui/test_comfyui_integration.py455def run_server():CODE
LOWtests/ar_diffusion/test_paged_attention.py62 except Exception:CODE
LOWtests/ar_diffusion/test_paged_attention.py73 except Exception:CODE
MEDIUM…/omni_connectors/test_mooncake_transfer_engine_rdma.py409def worker(rid, data):CODE
MEDIUM…/omni_connectors/test_mooncake_transfer_engine_rdma.py620def producer_worker(rid, tensor):CODE
LOW…/omni_connectors/test_mooncake_transfer_engine_rdma.py74 except Exception:CODE
LOW…/omni_connectors/test_mooncake_transfer_engine_rdma.py123 except Exception as exc:CODE
LOW…/omni_connectors/test_mooncake_transfer_engine_rdma.py156 except Exception as exc:CODE
LOW…/omni_connectors/test_mooncake_transfer_engine_rdma.py415 except Exception as e:CODE
LOW…/omni_connectors/test_mooncake_transfer_engine_rdma.py569 except Exception as e:CODE
LOW…/omni_connectors/test_mooncake_transfer_engine_rdma.py631 except Exception as e:CODE
LOW…/omni_connectors/test_mooncake_transfer_engine_rdma.py664 except Exception as e:CODE
LOW…ributed/omni_connectors/test_chunk_transfer_adapter.py552 except Exception as e:CODE
LOW…ributed/omni_connectors/test_chunk_transfer_adapter.py561 except Exception as e:CODE
LOW…mni_connectors/test_mooncake_transfer_engine_buffer.py78 except Exception as e:CODE
MEDIUM…mni_connectors/test_mooncake_transfer_engine_buffer.py72def worker(worker_id):CODE
LOW…ributed/omni_connectors/test_omni_connector_configs.py65 except Exception as e:CODE
LOWtests/model_executor/helpers.py54 except Exception:CODE
LOW…s/model_executor/models/glm_image/test_glm_image_ar.py146 except Exception:CODE
LOW…l_executor/models/qwen3_tts/test_cuda_graph_decoder.py32except Exception:CODE
LOWtests/diffusion/test_diffusion_streaming_output.py86 except Exception as exc:CODE
LOWtests/diffusion/test_diffusion_streaming_output.py204 except Exception:CODE
MEDIUMtests/diffusion/test_diffusion_streaming_output.py83def step_streaming(self, request):CODE
LOW…iffusion/offloader/test_diffusion_layerwise_offload.py124 except Exception:CODE
LOWtests/diffusion/offloader/test_diffusion_cpu_offload.py124 except Exception:CODE
LOWtests/diffusion/attention/test_flash_attn.py309 except Exception as e:CODE
LOWtests/diffusion/attention/test_flash_attn.py318 except Exception as e:CODE
LOWtests/diffusion/distributed/test_comm.py399 except Exception as e:CODE
LOW…s/diffusion/distributed/test_vae_decode_parallelism.py68 except Exception:CODE
LOW…s/hunyuan_image3/test_hunyuan_image3_it2i_ar_format.py114 except Exception:CODE
LOWtests/diffusion/batching/test_diffusion_batching.py514 except Exception as e:CODE
LOWtests/diffusion/batching/test_diffusion_batching.py338 except Exception as e:CODE
LOWtests/diffusion/batching/test_diffusion_batching.py378 except Exception as e:CODE
LOWtests/diffusion/batching/test_diffusion_batching.py480 except Exception as e:CODE
LOW…ts/dreamzero/upstream/test_openpi_e2e_source_parity.py51except Exception: # pragma: no cover - guarded by pytest skip belowCODE
LOW…ts/dreamzero/upstream/test_openpi_e2e_source_parity.py258 except Exception as exc: # pragma: no cover - retry pathCODE
LOWtests/dreamzero/upstream/openpi_test_client_ar.py256 except Exception as e:CODE
LOWtests/dfx/conftest.py31 except Exception as e:CODE
LOWtests/dfx/conftest.py218 except Exception as exc: # noqa: BLE001CODE
MEDIUMtests/dfx/reliability/test_reliability_voxcpm2.py270def test_reliability_fault_process_kill_request_failure(CODE
LOWtests/dfx/reliability/test_reliability_voxcpm2.py173 except Exception: # noqa: BLE001CODE
LOWtests/dfx/reliability/test_reliability_voxcpm2.py187 except Exception as exc: # noqa: BLE001CODE
LOWtests/dfx/reliability/test_reliability_voxcpm2.py215 except Exception as exc:CODE
1051 more matches not shown…
Unused Imports1209 hits · 1157 pts
SeverityFileLineSnippetContext
LOWtools/configure_stage_memory.py19CODE
LOWtools/nightly/send_nightly_email.py9CODE
LOWtools/nightly/buildkite_testcase_statistics.py19CODE
LOWtools/nightly/generate_nightly_perf_excel.py7CODE
LOWtools/nightly/generate_nightly_perf_html.py7CODE
LOWtools/wan22/assemble_wan22_i2v_diffusers.py22CODE
LOWtests/conftest.py9CODE
LOWtests/test_arg_utils.py6CODE
LOWtests/metrics/test_stats.py1CODE
LOWtests/metrics/test_prometheus.py1CODE
LOWtests/metrics/test_transfer.py1CODE
LOWtests/metrics/test_modality.py1CODE
LOWtests/metrics/test_stat_logger.py1CODE
LOWtests/platforms/npu/test_310p_patches.py9CODE
LOWtests/platforms/npu/quant/test_kv_quant_npu.py10CODE
LOWtests/platforms/npu/quant/test_kv_quant_npu.py55CODE
LOW…sched/test_omni_scheduler_input_coordinator_cleanup.py1CODE
LOW…sched/test_omni_generation_scheduler_update_session.py9CODE
LOW…sched/test_omni_generation_scheduler_update_session.py18CODE
LOWtests/core/sched/test_omni_scheduling_coordinator.py9CODE
LOWtests/core/sched/test_omni_scheduler_mixin_timeouts.py13CODE
LOW…ched/test_omni_ar_scheduler_unified_decode_deferral.py1CODE
LOWtests/core/sched/test_omni_ar_scheduler_streaming.py3CODE
LOWtests/core/sched/test_omni_ar_scheduler_streaming.py12CODE
LOW…ore/sched/test_omni_scheduler_finish_requests_purge.py17CODE
LOWtests/ar_diffusion/test_paged_attention.py4CODE
LOWtests/config/test_omni_config.py5CODE
LOWtests/config/composable_parallel/test_translator.py5CODE
LOW…config/composable_parallel/test_factory_integration.py5CODE
LOW…sts/config/composable_parallel/test_strategy_loader.py5CODE
LOWtests/config/composable_parallel/test_spec_types.py5CODE
LOWtests/config/composable_parallel/test_apply.py5CODE
LOWtests/model_executor/helpers.py27CODE
LOWtests/model_executor/models/registry.py10CODE
LOW…sts/model_executor/models/test_encoder_quant_config.py18CODE
LOW…_executor/models/voxcpm2/test_talker_state_eviction.py5CODE
LOW…tor/models/cosyvoice3/test_cosyvoice3_model_helpers.py4CODE
LOW…model_executor/models/omnivoice/test_triton_kernels.py11CODE
LOW…executor/models/omnivoice/test_cuda_graph_generator.py17CODE
LOWtests/model_executor/models/omnivoice/test_decoder.py15CODE
LOW…cutor/models/omnivoice/test_nonverbal_tags_tokenize.py1CODE
LOW…del_executor/models/ming_flash_omni/test_talker_cfm.py3CODE
LOW…executor/models/ming_flash_omni/test_talker_modules.py3CODE
LOW…cutor/models/dynin_omni/test_dynin_omni_token2audio.py1CODE
LOW…executor/models/qwen3_tts/test_code_predictor_dtype.py12CODE
LOW…ecutor/models/moss_tts/test_talker_logits_processor.py5CODE
LOW…del_executor/models/moss_tts/test_per_request_codes.py20CODE
LOW…sts/model_executor/models/minicpmo_4_5/test_llm2tts.py20CODE
LOW…ts/model_executor/models/minicpmo_4_5/test_pipeline.py16CODE
LOW…del_executor/models/voxtral_tts/test_tts_preprocess.py18CODE
LOW…tor/models/voxtral_tts/test_audio_tokenizer_parsing.py28CODE
LOW…executor/quantization/test_modelopt_nvfp4_nan_clamp.py31CODE
LOW…_input_processors/test_qwen3_omni_streaming_helpers.py5CODE
LOW…e_input_processors/test_qwen2_5_omni_thinker2talker.py12CODE
LOWtests/plugin/test_gguf_diffusion.py14CODE
LOWtests/diffusion/test_inline_stage_diffusion_client.py1CODE
LOWtests/diffusion/test_diffusion_engine_metrics.py10CODE
LOWtests/diffusion/test_diffusion_engine_rpc_routing.py20CODE
LOWtests/diffusion/test_diffusion_output_metadata.py4CODE
LOWtests/diffusion/test_diffusion_output_formatter.py4CODE
1149 more matches not shown…
Deep Nesting721 hits · 612 pts
SeverityFileLineSnippetContext
LOWcollect_env.py187CODE
LOWcollect_env.py356CODE
LOWsetup.py43CODE
LOWsetup.py123CODE
LOWtools/configure_stage_memory.py192CODE
LOWtools/nightly/send_nightly_email.py211CODE
LOWtools/nightly/buildkite_testcase_statistics.py295CODE
LOWtools/nightly/buildkite_testcase_statistics.py354CODE
LOWtools/nightly/buildkite_testcase_statistics.py408CODE
LOWtools/nightly/generate_nightly_perf_excel.py727CODE
LOWtools/nightly/generate_nightly_perf_html.py192CODE
LOWtests/test_data_entry_keys.py135CODE
LOWtests/comfyui/test_comfyui_integration.py302CODE
LOWtests/comfyui/test_comfyui_integration.py303CODE
LOW…/omni_connectors/test_mooncake_transfer_engine_rdma.py39CODE
LOW…/omni_connectors/test_mooncake_transfer_engine_rdma.py79CODE
LOW…/omni_connectors/test_mooncake_transfer_engine_rdma.py367CODE
LOW…/omni_connectors/test_mooncake_transfer_engine_rdma.py604CODE
LOW…/omni_connectors/test_mooncake_transfer_engine_rdma.py637CODE
LOWtests/model_executor/models/test_omni_processing.py162CODE
LOW…el_executor/models/qwen2_5_omni/test_weight_loading.py7CODE
LOWtests/model_tests/diffusion/test_common_online.py32CODE
LOWtests/model_tests/diffusion/test_common_offline.py25CODE
LOWtests/diffusion/test_multiproc_engine_concurrency.py100CODE
LOWtests/diffusion/test_multiproc_engine_concurrency.py105CODE
LOWtests/diffusion/test_diffusion_engine_metrics.py42CODE
LOWtests/diffusion/test_diffusion_step_pipeline.py414CODE
LOWtests/diffusion/attention/test_ulysses_uaa.py40CODE
LOWtests/diffusion/quantization/test_fp8_config.py336CODE
LOWtests/diffusion/quantization/test_quantization_fp8.py191CODE
LOWtests/diffusion/batching/test_diffusion_batching.py284CODE
LOW…/diffusion/diffusion_backend/test_diffusers_backend.py147CODE
LOWtests/dfx/conftest.py296CODE
LOWtests/dfx/stability/helpers.py32CODE
LOWtests/dfx/stability/helpers.py65CODE
LOWtests/dfx/stability/helpers.py145CODE
LOWtests/dfx/stability/helpers.py168CODE
LOWtests/dfx/stability/helpers.py221CODE
LOWtests/dfx/reliability/test_reliability_qwen3_omni.py780CODE
LOWtests/dfx/reliability/test_reliability_wan22.py395CODE
LOWtests/dfx/reliability/helpers.py245CODE
LOW…bility/invalid_param_test/test_invalid_audio_speech.py668CODE
LOW…liability/invalid_param_test/test_invalid_omni_chat.py42CODE
LOWtests/dfx/perf/tests/test_runner_metadata.py10CODE
LOWtests/dfx/perf/scripts/run_benchmark.py158CODE
LOWtests/dfx/perf/scripts/run_diffusion_benchmark.py48CODE
LOWtests/dfx/perf/scripts/run_diffusion_benchmark.py154CODE
LOWtests/dfx/perf/scripts/run_diffusion_benchmark.py226CODE
LOWtests/dfx/perf/scripts/run_diffusion_benchmark.py249CODE
LOWtests/dfx/perf/scripts/run_diffusion_benchmark.py743CODE
LOW…sts/entrypoints/openai_api/test_qwen3_tts_websocket.py36CODE
LOW…/e2e/offline_inference/test_mammoth_moda2_expansion.py110CODE
LOW…sts/e2e/offline_inference/test_dynin_omni_expansion.py207CODE
LOW…/e2e/offline_inference/rlhf_test/test_verl_omni_e2e.py150CODE
LOW…ce/custom_pipeline/qwen_image_pipeline_with_logprob.py113CODE
LOWtests/e2e/accuracy/test_hunyuan_image3.py283CODE
LOW…2e/online_serving/test_qwen_image_layered_expansion.py126CODE
LOWtests/engine/test_async_omni_engine_abort.py68CODE
LOWtests/helpers/mark.py106CODE
LOWtests/helpers/assertions.py64CODE
661 more matches not shown…
Cross-Language Confusion108 hits · 605 pts
SeverityFileLineSnippetContext
HIGHtools/nightly/buildkite_testcase_statistics.py848 const fileName = (fileDetail.dataset.testFile || fileDetail.textContent || "").toLowerCase();CODE
HIGHtools/nightly/buildkite_testcase_statistics.py849 const pathOk = !query || fileName.includes(query);CODE
HIGHtools/nightly/buildkite_testcase_statistics.py854 const matched = pathOk && anyRowVisible;CODE
HIGHtools/nightly/generate_nightly_perf_excel.py120# and max_concurrency (null); leave those as-is. If they become float in the future, they areCOMMENT
HIGHtools/nightly/generate_nightly_perf_html.py648 if (value === null || value === undefined) return "";CODE
HIGHtools/nightly/generate_nightly_perf_html.py648 if (value === null || value === undefined) return "";CODE
HIGHtools/nightly/generate_nightly_perf_html.py658 const items = new Set(arr.filter(v => v !== null && v !== undefined && String(v).trim() !== ""));CODE
HIGHtools/nightly/generate_nightly_perf_html.py663 if (v === null || v === undefined) return null;CODE
HIGHtools/nightly/generate_nightly_perf_html.py663 if (v === null || v === undefined) return null;CODE
HIGHtools/nightly/generate_nightly_perf_html.py664 if (typeof v === "number") return Number.isFinite(v) ? v : null;CODE
HIGHtools/nightly/generate_nightly_perf_html.py666 if (!s || s.toLowerCase() === "inf") return null;CODE
HIGHtools/nightly/generate_nightly_perf_html.py666 if (!s || s.toLowerCase() === "inf") return null;CODE
HIGHtools/nightly/generate_nightly_perf_html.py668 return Number.isFinite(n) ? n : null;CODE
HIGHtools/nightly/generate_nightly_perf_html.py1005 if (x < padLeft || x > padLeft + innerW || y < padTop || y > padTop + innerH) {{CODE
HIGHtools/nightly/generate_nightly_perf_html.py1012 let best = null;CODE
HIGHtools/nightly/generate_nightly_perf_html.py1018 if (!best || dist < best.dist) {{CODE
HIGHtools/nightly/generate_nightly_perf_html.py1027 .filter(([, value]) => value !== null && value !== undefined && String(value).trim() !== "")CODE
HIGHtools/nightly/generate_nightly_perf_html.py1179 if (filters.model && String(row[filters.modelKey] || "") !== filters.model) return false;CODE
HIGHtools/nightly/generate_nightly_perf_html.py1180 if (filters.testName && String(row.test_name || "") !== filters.testName) return false;CODE
HIGHtools/nightly/generate_nightly_perf_html.py1181 if (filters.datasetName && String(row[filters.datasetKey] || "") !== filters.datasetName) return false;CODE
HIGHtools/nightly/generate_nightly_perf_html.py704 row.max_concurrency !== undefined && row.max_concurrency !== null ? `c${{row.max_concurrency}}` : "",CODE
HIGHtools/nightly/generate_nightly_perf_html.py705 row.num_prompts !== undefined && row.num_prompts !== null ? `p${{row.num_prompts}}` : "",CODE
HIGHtools/nightly/generate_nightly_perf_html.py720 row.max_concurrency !== undefined && row.max_concurrency !== null ? `c${{row.max_concurrency}}` : "",CODE
HIGHtools/nightly/generate_nightly_perf_html.py721 row.num_prompts !== undefined && row.num_prompts !== null ? `p${{row.num_prompts}}` : "",CODE
HIGHtools/nightly/generate_nightly_perf_html.py733 const raw = value === null || value === undefined ? "" : String(value);CODE
HIGHtools/nightly/generate_nightly_perf_html.py786 if (previous && values.map((v) => String(v)).includes(String(previous))) {{CODE
HIGHtools/nightly/generate_nightly_perf_html.py871 if (display.title && display.title !== display.text) {{CODE
HIGHtools/nightly/generate_nightly_perf_html.py890 const dpr = window.devicePixelRatio || 1;CODE
HIGHtools/nightly/generate_nightly_perf_html.py912 xLabels.push(p.x);CODE
HIGHtools/nightly/generate_nightly_perf_html.py1057 .filter((value) => value !== null && value !== undefined && String(value).trim() !== "")CODE
HIGHtools/nightly/generate_nightly_perf_html.py1062 if (y === null) return;CODE
HIGHtools/nightly/generate_nightly_perf_html.py1074 seriesByKey.get(key).points.push({{ x: dateStr, y, meta }});CODE
HIGHtools/nightly/generate_nightly_perf_html.py1100 if (latest && latest.date) {{CODE
HIGHtools/nightly/generate_nightly_perf_html.py1101 lines.push(`date: <code>${{escapeHtml(formatDate(latest.date))}}</code>`);CODE
HIGHtools/nightly/generate_nightly_perf_html.py1112 lines.push(`${{escapeHtml(keyName)}}: <code>${{escapeHtml(String(latest[keyName]))}}</code>`);CODE
HIGHtools/nightly/generate_nightly_perf_html.py1116 if (value) lines.push(`${{escapeHtml(metric)}}: <code>${{value}}</code>`);CODE
HIGHtools/nightly/generate_nightly_perf_html.py1134 if (!r || r.width < 10 || r.height < 10) return;CODE
HIGHtools/nightly/generate_nightly_perf_html.py1194 if (filters.backend && String(row[filters.backendKey] || "") !== filters.backend) return false;CODE
HIGHtools/nightly/generate_nightly_perf_html.py1211 const values = rows.map((row) => toNumber(row[key])).filter((v) => v !== null);CODE
HIGHtools/nightly/generate_nightly_perf_html.py1400 if (extraKey && extraInput && !extraInput.value.trim()) {{CODE
HIGHtools/nightly/generate_nightly_perf_html.py1412 const latest = filteredAsc[filteredAsc.length - 1] || null;CODE
HIGHtests/ar_diffusion/test_slot_mapping.py58 Every slot for the in-flight chunk must land inside a real (non-null) blockSTRING
HIGHtests/dfx/stability/scripts/generate_report.py305 charts.push(new Chart(canvas, {{CODE
HIGHtests/entrypoints/test_stream_finish_reason.py235 """text+audio: text finish sends finish_reason=null, audio sends stop."""STRING
HIGHtests/entrypoints/openai_api/test_serving_speech.py2756 '{"error":{"message":"engine dead","type":"InternalServerError","param":null,'CODE
HIGH…s/entrypoints/openai_api/test_serving_speech_stream.py287 # Real-time audio chunk (timestamps null), then the timestamp frame.COMMENT
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py55 this.buf = null;CODE
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py60 if (e.data && e.data.type === 'clear') {CODE
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py61 this.queue = []; this.buf = null; this.pos = 0; this.played = 0;CODE
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py182 if (mTtfp && st.ttfp != null) mTtfp.textContent = st.ttfp.toFixed(0) + 'ms';CODE
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py182 if (mTtfp && st.ttfp != null) mTtfp.textContent = st.ttfp.toFixed(0) + 'ms';CODE
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py185 if (dur > 0 && elapsed > 0) {{CODE
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py73 this.queue.push(mono);CODE
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py79 if (!this.buf || this.pos >= this.buf.length) {CODE
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py141 let ctx = null, node = null, abort = null, gen = false, st = {{}};CODE
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py171 const elapsed = (fin && st.streamEnd ? (st.streamEnd - st.t0) : (performance.now() - st.t0)) / 1000;CODE
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py228 st = {{ t0: null, chunks: 0, samples: 0, ttfp: null }};CODE
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py274 if (st.ttfp == null) st.ttfp = performance.now() - st.t0;CODE
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py623 js="(p) => { if (p && p.trim()) { const d = JSON.parse(p); delete d._nonce; window.ttsGenerate(d); } return STRING
HIGH…s/online_serving/text_to_speech/voxcpm2/gradio_demo.py42 this.buf = null;CODE
48 more matches not shown…
Cross-File Repetition120 hits · 600 pts
SeverityFileLineSnippetContext
HIGH…buted/omni_connectors/test_bagel_mooncake_connector.py0validate that image pixels match expected reference values. args: image: the pil image to validate. reference_pixels: liSTRING
HIGH…/omni_connectors/test_bagel_shared_memory_connector.py0validate that image pixels match expected reference values. args: image: the pil image to validate. reference_pixels: liSTRING
HIGH…line_inference/test_sensenova_u1_text2img_expansion.py0validate that image pixels match expected reference values. args: image: the pil image to validate. reference_pixels: liSTRING
HIGH…fline_inference/test_sensenova_u1_img2img_expansion.py0validate that image pixels match expected reference values. args: image: the pil image to validate. reference_pixels: liSTRING
HIGH…s/e2e/offline_inference/test_qwen2_5_omni_expansion.py0test audio and text input processing and text/audio output generation via openai api. deploy setting: default yaml inputSTRING
HIGHtests/e2e/online_serving/test_qwen3_tts_customvoice.py0test audio and text input processing and text/audio output generation via openai api. deploy setting: default yaml inputSTRING
HIGHtests/e2e/online_serving/test_qwen3_tts_base.py0test audio and text input processing and text/audio output generation via openai api. deploy setting: default yaml inputSTRING
HIGHtests/e2e/online_serving/test_qwen2_5_omni_expansion.py0test audio and text input processing and text/audio output generation via openai api. deploy setting: default yaml inputSTRING
HIGHtests/e2e/online_serving/test_qwen3_omni.py0test audio and text input processing and text/audio output generation via openai api. deploy setting: default yaml inputSTRING
HIGHdocs/contributing/ci/CI_5levels.md0test audio and text input processing and text/audio output generation via openai api. deploy setting: default yaml inputSTRING
HIGHdocs/contributing/ci/tests_style.md0test audio and text input processing and text/audio output generation via openai api. deploy setting: default yaml inputSTRING
HIGHtests/e2e/online_serving/test_mimo_audio_expansion.py0test audio and text input processing and text/audio output generation via openai api. deploy setting: default yaml inputSTRING
HIGHtests/e2e/online_serving/test_wan22_t2v.py0return a single default ``omniserverparams`` row (no extra ``server_args``).STRING
HIGHtests/e2e/online_serving/test_qwen_image.py0return a single default ``omniserverparams`` row (no extra ``server_args``).STRING
HIGHtests/e2e/online_serving/test_qwen_image_layered.py0return a single default ``omniserverparams`` row (no extra ``server_args``).STRING
HIGH…ts/e2e/online_serving/test_qwen3_tts_base_expansion.py0e2e online tests for qwen3-tts model with text input and audio output. these tests verify the /v1/audio/speech endpoint STRING
HIGH…online_serving/test_qwen3_tts_customvoice_expansion.py0e2e online tests for qwen3-tts model with text input and audio output. these tests verify the /v1/audio/speech endpoint STRING
HIGHtests/e2e/online_serving/test_qwen3_tts_customvoice.py0e2e online tests for qwen3-tts model with text input and audio output. these tests verify the /v1/audio/speech endpoint STRING
HIGHtests/e2e/online_serving/test_qwen3_tts_base.py0e2e online tests for qwen3-tts model with text input and audio output. these tests verify the /v1/audio/speech endpoint STRING
HIGH…ts/e2e/online_serving/test_qwen3_tts_base_expansion.py0text prompt for text-to-audio tests (same as test_qwen3_omni - beijing test case).STRING
HIGH…online_serving/test_qwen3_tts_customvoice_expansion.py0text prompt for text-to-audio tests (same as test_qwen3_omni - beijing test case).STRING
HIGHtests/e2e/online_serving/test_qwen3_tts_customvoice.py0text prompt for text-to-audio tests (same as test_qwen3_omni - beijing test case).STRING
HIGHtests/e2e/online_serving/test_qwen3_tts_base.py0text prompt for text-to-audio tests (same as test_qwen3_omni - beijing test case).STRING
HIGH…ts/e2e/online_serving/test_qwen3_tts_base_expansion.py0batch size for concurrent requests (same as test_qwen3_omni).STRING
HIGH…online_serving/test_qwen3_tts_customvoice_expansion.py0batch size for concurrent requests (same as test_qwen3_omni).STRING
HIGHtests/e2e/online_serving/test_qwen3_tts_customvoice.py0batch size for concurrent requests (same as test_qwen3_omni).STRING
HIGHtests/e2e/online_serving/test_qwen3_tts_base.py0batch size for concurrent requests (same as test_qwen3_omni).STRING
HIGH…ts/e2e/online_serving/test_qwen3_tts_base_expansion.py0test text input processing and audio output via openai api. deploy setting: default yaml input modal: text output modal:STRING
HIGH…online_serving/test_qwen3_tts_customvoice_expansion.py0test text input processing and audio output via openai api. deploy setting: default yaml input modal: text output modal:STRING
HIGHtests/e2e/online_serving/test_qwen3_tts_customvoice.py0test text input processing and audio output via openai api. deploy setting: default yaml input modal: text output modal:STRING
HIGHtests/e2e/online_serving/test_qwen3_tts_base.py0test text input processing and audio output via openai api. deploy setting: default yaml input modal: text output modal:STRING
HIGHtests/e2e/online_serving/test_qwen2_5_omni_expansion.py0test text input processing and text-only output generation via openai api. deploy setting: default yaml input modal: texSTRING
HIGHtests/e2e/online_serving/test_qwen3_omni.py0test text input processing and text-only output generation via openai api. deploy setting: default yaml input modal: texSTRING
HIGHtests/e2e/online_serving/test_mimo_audio_expansion.py0test text input processing and text-only output generation via openai api. deploy setting: default yaml input modal: texSTRING
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py0<div id="tts-player"> <div style="display:flex; align-items:center; gap:10px;"> <div id="tts-status-dot" style="width:10STRING
HIGH…online_serving/text_to_speech/qwen3_tts/gradio_demo.py0<div id="tts-player"> <div style="display:flex; align-items:center; gap:10px;"> <div id="tts-status-dot" style="width:10STRING
HIGH…s/online_serving/text_to_speech/voxcpm2/gradio_demo.py0<div id="tts-player"> <div style="display:flex; align-items:center; gap:10px;"> <div id="tts-status-dot" style="width:10STRING
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py0<script> const sr = {sample_rate}; const wc = {json.dumps(worklet_js)}; let ctx = null, node = null, abort = null, gen =STRING
HIGH…s/online_serving/text_to_speech/voxcpm2/gradio_demo.py0<script> const sr = {sample_rate}; const wc = {json.dumps(worklet_js)}; let ctx = null, node = null, abort = null, gen =STRING
HIGH…online_serving/text_to_speech/qwen3_tts/gradio_demo.py0<script> const sr = {sample_rate}; const wc = {json.dumps(worklet_js)}; let ctx = null, node = null, abort = null, gen =STRING
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py0encode gradio audio input (sample_rate, numpy_array) to base64 data url.STRING
HIGH…s/online_serving/text_to_speech/glm_tts/gradio_demo.py0encode gradio audio input (sample_rate, numpy_array) to base64 data url.STRING
HIGH…line_serving/text_to_speech/fish_speech/gradio_demo.py0encode gradio audio input (sample_rate, numpy_array) to base64 data url.STRING
HIGH…/online_serving/text_to_speech/qwen3_tts/tts_common.py0encode gradio audio input (sample_rate, numpy_array) to base64 data url.STRING
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py0#generate-btn button { width: 100%; } #streaming-player { border: 1px solid var(--border-color-primary) !important; bordSTRING
HIGH…s/online_serving/text_to_speech/voxcpm2/gradio_demo.py0#generate-btn button { width: 100%; } #streaming-player { border: 1px solid var(--border-color-primary) !important; bordSTRING
HIGH…online_serving/text_to_speech/qwen3_tts/gradio_demo.py0#generate-btn button { width: 100%; } #streaming-player { border: 1px solid var(--border-color-primary) !important; bordSTRING
HIGH…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py0<div style="text-align:center; padding:8px 0; margin-top:4px;"> <a href="https://github.com/vllm-project/vllm-omni" targSTRING
HIGH…s/online_serving/text_to_speech/voxcpm2/gradio_demo.py0<div style="text-align:center; padding:8px 0; margin-top:4px;"> <a href="https://github.com/vllm-project/vllm-omni" targSTRING
HIGH…online_serving/text_to_speech/qwen3_tts/gradio_demo.py0<div style="text-align:center; padding:8px 0; margin-top:4px;"> <a href="https://github.com/vllm-project/vllm-omni" targSTRING
HIGHbenchmarks/glm_image/benchmark_glm_image.py0return path to prompt.json, downloading from huggingface if needed.STRING
HIGHbenchmarks/glm_image/vllm-omni/inference.py0return path to prompt.json, downloading from huggingface if needed.STRING
HIGHbenchmarks/glm_image/huggingface/inference.py0return path to prompt.json, downloading from huggingface if needed.STRING
HIGH…model_executor/models/hunyuan_image3/hunyuan_image3.py0embeds scalar timesteps into vector representations.STRING
HIGH…odels/indextts2/s2mel/modules/diffusion_transformer.py0embeds scalar timesteps into vector representations.STRING
HIGH…on/models/hunyuan_image3/hunyuan_image3_transformer.py0embeds scalar timesteps into vector representations.STRING
HIGHvllm_omni/diffusion/models/bagel/bagel_transformer.py0embeds scalar timesteps into vector representations.STRING
HIGH…m_omni/diffusion/models/cosmos3/transformer_cosmos3.py0embeds scalar timesteps into vector representations.STRING
HIGH…lm_omni/model_executor/models/cosyvoice3/cosyvoice3.py0return the language model for upstream moe detection.STRING
HIGH…del_executor/models/ming_flash_omni/ming_flash_omni.py0return the language model for upstream moe detection.STRING
60 more matches not shown…
Modern Structural Boilerplate349 hits · 350 pts
SeverityFileLineSnippetContext
LOWtools/nightly/generate_nightly_perf_excel.py753def _set_column_width(ws, columns: Sequence[str], col_name: str, width: int) -> None:CODE
LOWtests/model_tests/diffusion/utils.py10logger = logging.getLogger(__name__)CODE
LOWtests/diffusion/test_diffusion_step_pipeline.py64def _update_environment_variables(envs_dict: dict[str, str]) -> None:CODE
LOWtests/diffusion/test_diffusion_step_pipeline.py729 def set_active_adapter(self, adapter, scale: float = 1.0) -> None:CODE
LOWtests/diffusion/offloader/test_layerwise_backend.py48def _set_dist_env(*, rank: int, world_size: int, master_port: int) -> None:CODE
LOWtests/diffusion/attention/test_ulysses_uaa.py32def _set_dist_env(*, rank: int, world_size: int, master_port: int) -> None:CODE
LOWtests/diffusion/distributed/test_ulysses_uaa_perf.py42def _set_dist_env(*, rank: int, world_size: int, master_port: int) -> None:CODE
LOWtests/diffusion/distributed/test_pipeline_parallel.py34def update_environment_variables(envs_dict: dict[str, str]) -> None:CODE
LOWtests/diffusion/distributed/test_pipeline_parallel.py303 def _set_rank(monkeypatch, world_size: int, first_stage: bool) -> None:CODE
LOWtests/diffusion/models/wan2_2/conftest.py36 def set_timesteps(self, num_steps: int, device: torch.device) -> None:CODE
LOW…diffusion/models/wan2_2/test_wan22_pipeline_diffuse.py35 def set_timesteps(self, num_steps: int, device: torch.device) -> None:CODE
LOWtests/diffusion/models/cosmos3/test_cosmos3_pipeline.py50 def set_timesteps(self, num_steps: int, device: torch.device) -> None:CODE
LOWtests/dfx/reliability/helpers.py34logger = logging.getLogger(__name__)CODE
LOW…/entrypoints/openai_api/test_serving_audio_generate.py26logger = logging.getLogger(__name__)CODE
LOWtests/entrypoints/openai_api/test_serving_speech.py52logger = logging.getLogger(__name__)CODE
LOW…/e2e/offline_inference/rlhf_test/test_verl_omni_e2e.py61logger = logging.getLogger(__name__)CODE
LOWtests/e2e/offline_inference/custom_pipeline/__init__.py11__all__ = [CODE
LOW…/offline_inference/custom_pipeline/worker_extension.py35logger = logging.getLogger(__name__)CODE
LOW…/offline_inference/custom_pipeline/worker_extension.py43def set_death_signal() -> None:CODE
LOWtests/engine/test_orchestrator_stage_input_bridge.py58 def set_engine_outputs(self, _outputs) -> None:CODE
LOWtests/engine/test_orchestrator.py99 def set_engine_outputs(self, outputs) -> None:CODE
LOWtests/engine/test_orchestrator.py195 def update_scheduler_stats(self, _scheduler_stats) -> None:CODE
LOWtests/helpers/media.py26logger = logging.getLogger(__name__)CODE
LOWtests/helpers/media.py696__all__ = [CODE
LOWtests/helpers/env.py264__all__ = [CODE
LOWtests/helpers/assertions.py880__all__ = [CODE
LOWtests/helpers/runtime.py585 def _set_stage_device_env(self, stage_id: int, env: dict[str, str], devices: str, replica_id: int = 0) -> None:CODE
LOWtests/helpers/runtime.py2930__all__ = [CODE
LOWtests/helpers/stage_config.py720__all__ = [CODE
LOW…ence/custom_pipeline/image_to_image/custom_pipeline.py12logger = logging.getLogger(__name__)CODE
LOW…es/offline_inference/qwen3_omni/end2end_async_chunk.py46logger = logging.getLogger(__name__)CODE
LOW…es/offline_inference/text_to_speech/glm_tts/end2end.py48logger = logging.getLogger(__name__)CODE
LOW…ffline_inference/text_to_speech/fish_speech/end2end.py38logger = logging.getLogger(__name__)CODE
LOW…/offline_inference/text_to_speech/qwen3_tts/end2end.py21logger = logging.getLogger(__name__)CODE
LOW…ffline_inference/text_to_speech/voxtral_tts/end2end.py35logger = logging.getLogger(__name__)CODE
LOW…e_serving/step_audio2/openai_chat_completion_client.py34logger = logging.getLogger(__name__)CODE
LOW…ne_serving/text_to_speech/moss_tts_nano/gradio_demo.py38logger = logging.getLogger(__name__)CODE
LOW…s/online_serving/text_to_speech/voxcpm2/gradio_demo.py32logger = logging.getLogger(__name__)CODE
LOW…rving/text_to_speech/qwen3_tts/word_timestamps_demo.py47logger = logging.getLogger(__name__)CODE
LOW…online_serving/text_to_speech/qwen3_tts/gradio_demo.py45logger = logging.getLogger(__name__)CODE
LOWbenchmarks/kernels/mot_linear_benchmarks.py56logger = logging.getLogger(__name__)CODE
LOWbenchmarks/diffusion/diffusion_benchmark_serving.py112logger = logging.getLogger(__name__)CODE
LOWbenchmarks/accuracy/image_to_image/gedit_bench.py41logger = logging.getLogger(__name__)CODE
LOWvllm_omni/version.py51__all__ = ["__version__", "__version_tuple__"]CODE
LOWvllm_omni/__init__.py53__all__ = [CODE
LOWvllm_omni/metrics/definitions.py21logger = logging.getLogger(__name__)CODE
LOWvllm_omni/metrics/__init__.py5__all__ = [CODE
LOWvllm_omni/metrics/prometheus.py58 def set_running(self, n: int) -> None:CODE
LOWvllm_omni/metrics/prometheus.py63 def set_waiting(self, n: int) -> None:CODE
LOWvllm_omni/experimental/fullduplex/__init__.py8__all__ = [CODE
LOWvllm_omni/experimental/fullduplex/joyvl/__init__.py12__all__ = [CODE
LOWvllm_omni/experimental/ar_diffusion/__init__.py12__all__ = ["ARDiffusionEngine"]CODE
LOW…lm_omni/experimental/ar_diffusion/kv_cache/__init__.py38__all__ = [CODE
LOW…/experimental/ar_diffusion/kv_cache/paged_attention.py21def set_current_paged_kv_cache(kv_cache: Any) -> None:CODE
LOWvllm_omni/platforms/interface.py194 def set_device_control_env_var(cls, devices: str | int | None) -> None:CODE
LOWvllm_omni/platforms/__init__.py17logger = logging.getLogger(__name__)CODE
LOWvllm_omni/platforms/__init__.py200__all__ = [CODE
LOWvllm_omni/platforms/cuda/__init__.py6__all__ = ["CudaOmniPlatform"]CODE
LOWvllm_omni/platforms/xpu/__init__.py6__all__ = ["XPUOmniPlatform"]CODE
LOWvllm_omni/platforms/npu/__init__.py6__all__ = ["NPUOmniPlatform"]CODE
289 more matches not shown…
Over-Commented Block281 hits · 266 pts
SeverityFileLineSnippetContext
LOWtools/nightly/run_nightly_jobs.sh1#!/usr/bin/env bashCOMMENT
LOWtools/nightly/run_nightly_jobs.sh21# function — label has neither "Perf Test" nor "Accuracy Test" (incl. Doc, Multi-Replica, etc.)COMMENT
LOWtools/nightly/run_nightly_jobs.sh41# From repo root: pytest -s -v tests/dfx/stability/scripts/test_stability_*.pyCOMMENT
LOWtools/pre_commit/check_pickle_imports.py1#!/usr/bin/env python3COMMENT
LOWtests/attention/test_fish_kvcache_attn.py261COMMENT
LOWtests/model_executor/models/voxcpm2/__init__.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWtests/model_executor/models/minicpmo_4_5/__init__.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWtests/model_tests/diffusion/model_settings.py1from tests.model_tests.diffusion import diff_model_buildersCOMMENT
LOW…s/hunyuan_image3/test_hunyuan_image3_it2i_ar_format.py61# it kept skipping because instantiatingCOMMENT
LOWtests/diffusion/models/hunyuan_video/__init__.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWtests/diffusion/models/cosmos3/__init__.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWtests/diffusion/quantization/__init__.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWtests/diffusion/quantization/test_mxfp4_config.py361# Row-parallel (to_out, ffn.net_2): input is sharded (K/TP), output is full (N).COMMENT
LOWtests/gr00t/__init__.py1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWtests/dfx/stability/scripts/resource_monitor.sh1#!/bin/bashCOMMENT
LOWtests/e2e/offline_inference/run_quantization_e2e.sh1#!/bin/bashCOMMENT
LOWrequirements/common.txt1# Common dependencies for all platformsCOMMENT
LOWdocs/contributing/ci/tests_style.md301COMMENT
LOWdocs/contributing/ci/tests_style.md321 Test multi-modal input processing and text/audio output generation via OpenAI API.COMMENT
LOWdocs/contributing/ci/tests_style.md341 # IMAGE DATA - Generate synthetic image for testingCOMMENT
LOWexamples/offline_inference/lance/gradio_demo.py41# canonical (W, H) via:COMMENT
LOWexamples/offline_inference/lance/gradio_demo.py1021 )COMMENT
LOW…_inference/qwen3_omni/run_single_prompt_async_chunk.sh1#!/bin/bashCOMMENT
LOW…ine_inference/qwen2_5_omni/strategy_stage_replica.yaml1# Composable-parallel strategy for Qwen2.5-Omni.COMMENT
LOW…mples/offline_inference/qwen2_5_omni/strategy_tp2.yaml1# Composable-parallel strategy for Qwen2.5-Omni: tensor-parallel the thinker.COMMENT
LOW…s/offline_inference/text_to_speech/moss_tts/end2end.py161 gc.collect()COMMENT
LOW…ples/online_serving/dreamzero/droid_sim_eval_client.py61 except ImportError as exc: # pragma: no cover - runtime dependency guardCOMMENT
LOW…/online_serving/joyvl_interaction/scripts/start_all.sh1#!/bin/bashCOMMENT
LOW…amples/online_serving/text_to_video/run_server_ltx2.sh1#!/bin/bashCOMMENT
LOW…ne_serving/text_to_speech/higgs_audio_v2/run_server.sh1#!/bin/bashCOMMENT
LOW…ne_serving/text_to_speech/qwen3_tts/run_gradio_demo.sh1#!/bin/bashCOMMENT
LOWbenchmarks/kernels/mot_linear_benchmarks.py321 # Mask predicate calculation, TMA state machine, etc.COMMENT
LOW.buildkite/pipeline-npu-a3.yaml1# steps:COMMENT
LOW.buildkite/pipeline-npu-a3.yaml21# vault.hashicorp.com/agent-inject-template-ca.pem: "{{- with secret \"internal/data/ascend/buildkitd\" -}COMMENT
LOW.buildkite/pipeline-npu-a3.yaml41# path: tokenCOMMENT
LOW.buildkite/pipeline-npu-a3.yaml61# tar -xzf /tmp/buildkit.tar.gz -C /tmp/buildkitCOMMENT
LOW.buildkite/pipeline-npu-a3.yaml81# echo "$${IMAGE_REGISTRY}/$${IMAGE_NAME}:$${VLLM_IMAGE_TAG}"COMMENT
LOW.buildkite/pipeline-npu-a3.yaml101 # build.pull_request.labels includes "omni-test" ||COMMENT
LOW.buildkite/test-nightly.yml401 # commands:COMMENT
LOW.buildkite/test-nightly.yml421 # value: /root/.cache/huggingfaceCOMMENT
LOW.buildkite/test-amd-merge.yml121COMMENT
LOW.buildkite/test-amd-merge.yml201# mirror_hardwares: [amdproduction]COMMENT
LOW.buildkite/test-amd-merge.yml221COMMENT
LOW.buildkite/test-amd-ready.yaml121 timeout 40m bash -c "COMMENT
LOW.buildkite/test-amd-ready.yaml181 - |COMMENT
LOW.buildkite/test-amd-ready.yaml201# agent_pool: mi325_1COMMENT
LOW.buildkite/test-amd-ready.yaml221# - export VLLM_WORKER_MULTIPROC_METHOD=spawnCOMMENT
LOW.buildkite/scripts/docker_login_ecr_public.sh1#!/bin/bashCOMMENT
LOW.buildkite/scripts/hardware_ci/run-amd-test.sh41COMMENT
LOWvllm_omni/patch.py21from vllm_omni.engine import OmniEngineCoreOutput, OmniEngineCoreOutputs, OmniEngineCoreRequestCOMMENT
LOWvllm_omni/patch.py41# original vLLM implementation unchanged.COMMENT
LOWvllm_omni/patch.py81# =============================================================================COMMENT
LOWvllm_omni/patch.py101# vLLM's own PWAL contains an in-place `masked_fill_` against `weight_scale`COMMENT
LOWvllm_omni/patch.py141 # weight_scale may have been cast to bf16/fp16 by the Marlin path, inCOMMENT
LOWvllm_omni/patch.py181# without guarding for the import-failure / escape-hatch branches below.COMMENT
LOWvllm_omni/patch.py221 # collisions aside, future PWALs may legitimately reference `weight_scale`COMMENT
LOWvllm_omni/patch.py421COMMENT
LOWvllm_omni/metrics/stat_logger.py101 self._engine_label_index = -1COMMENT
LOWvllm_omni/metrics/stat_logger.py141COMMENT
LOWvllm_omni/tokenizers/mammoth_moda2_tokenizer.py1# Copyright (c) 2025 Bytedance Ltd. and/or its affiliatesCOMMENT
221 more matches not shown…
AI Structural Patterns283 hits · 262 pts
SeverityFileLineSnippetContext
LOWtests/distributed/omni_connectors/test_tp_rank_aware.py41CODE
LOW…stage_input_processors/test_fish_speech_async_chunk.py14CODE
LOWtests/diffusion/attention/test_attention_sp.py115CODE
LOW…ffusion/models/hunyuan_image3/test_multi_resolution.py564CODE
LOWtests/diffusion/quantization/test_quantization_fp8.py112CODE
LOW…/diffusion/diffusion_backend/test_diffusers_backend.py379CODE
LOWtests/profile/test_omni_torch_profiler.py40CODE
LOW…ce/custom_pipeline/qwen_image_pipeline_with_logprob.py214CODE
LOW…_inference/custom_pipeline/flow_match_sde_scheduler.py45CODE
LOWtests/engine/test_orchestrator.py51CODE
LOW…les/offline_inference/mimo_audio/process_speechdata.py131CODE
LOW…line_inference/text_to_speech/moss_tts_nano/end2end.py52CODE
LOWexamples/online_serving/lance/openai_chat_client.py17CODE
LOW…es/online_serving/image_to_image/openai_chat_client.py31CODE
LOW…les/online_serving/text_to_image/openai_chat_client.py17CODE
LOWbenchmarks/accuracy/common.py141CODE
LOWbenchmarks/accuracy/image_to_image/gedit_bench.py419CODE
LOWvllm_omni/tokenizers/mammoth_moda2_tokenizer.py103CODE
LOWvllm_omni/experimental/fullduplex/joyvl/memory/brain.py21CODE
LOW…_omni/experimental/fullduplex/joyvl/decision/policy.py26CODE
LOWvllm_omni/platforms/npu/worker/npu_model_runner.py51CODE
LOW…ni/platforms/npu/worker/npu_generation_model_runner.py591CODE
LOW…m_omni/model_executor/models/voxcpm2/minicpm4_paged.py123CODE
LOW…model_executor/models/hunyuan_image3/hunyuan_image3.py2189CODE
LOWvllm_omni/model_executor/models/cosyvoice3/utils.py23CODE
LOW…/model_executor/models/cosyvoice3/code2wav_core/cfm.py228CODE
LOW…el_executor/models/cosyvoice3/code2wav_core/hifigan.py378CODE
LOW…el_executor/models/cosyvoice3/code2wav_core/hifigan.py578CODE
LOW…el_executor/models/cosyvoice3/code2wav_core/hifigan.py821CODE
LOWvllm_omni/model_executor/models/glm_tts/glm_tts_dit.py436CODE
LOWvllm_omni/model_executor/models/glm_tts/glm_tts_dit.py646CODE
LOW…i/model_executor/models/glm_tts/glm_tts_dit_wrapper.py565CODE
LOW…m_omni/model_executor/models/glm_image/glm_image_ar.py1800CODE
LOW…ecutor/models/fish_speech/configuration_fish_speech.py23CODE
LOW…ecutor/models/fish_speech/configuration_fish_speech.py77CODE
LOW…odel_executor/models/mimo_audio/mimo_audio_code2wav.py997CODE
LOW…executor/models/mimo_audio/modeling_audio_tokenizer.py1135CODE
LOW…executor/models/mimo_audio/modeling_audio_tokenizer.py1176CODE
LOW…lm_omni/model_executor/models/mimo_audio/mimo_audio.py766CODE
LOW…/model_executor/models/mimo_audio/config_mimo_audio.py17CODE
LOW…/model_executor/models/mimo_audio/config_mimo_audio.py122CODE
LOW…omni/model_executor/models/ming_tts/config_ming_tts.py110CODE
LOW…omni/model_executor/models/ming_tts/prompt_assembly.py257CODE
LOW…/model_executor/models/dynin_omni/dynin_omni_common.py1139CODE
LOW…/models/higgs_audio_v2/configuration_higgs_audio_v2.py42CODE
LOW…lm_omni/model_executor/models/common/ming/audio_vae.py19CODE
LOWvllm_omni/model_executor/models/covo_audio/token2wav.py160CODE
LOWvllm_omni/model_executor/models/covo_audio/token2wav.py219CODE
LOWvllm_omni/model_executor/models/covo_audio/token2wav.py326CODE
LOWvllm_omni/model_executor/models/covo_audio/token2wav.py410CODE
LOW…del_executor/models/indextts2/gpt/conformer_encoder.py277CODE
LOW…del_executor/models/indextts2/gpt/conformer_encoder.py351CODE
LOW…cutor/models/indextts2/utils/maskgct/repcodec_model.py26CODE
LOW…odel_executor/models/indextts2/utils/campplus/dtdnn.py54CODE
LOW…del_executor/models/indextts2/utils/campplus/layers.py221CODE
LOW…del_executor/models/indextts2/s2mel/modules/encodec.py72CODE
LOW…tor/models/indextts2/s2mel/modules/length_regulator.py32CODE
LOW…cutor/models/indextts2/s2mel/modules/gpt_fast/model.py178CODE
LOW…l_executor/models/qwen3_tts/configuration_qwen3_tts.py49CODE
LOW…l_executor/models/qwen3_tts/configuration_qwen3_tts.py192CODE
223 more matches not shown…
Docstring Block Structure52 hits · 260 pts
SeverityFileLineSnippetContext
HIGH…buted/omni_connectors/test_bagel_mooncake_connector.py130Generate an image using Bagel model with configured parameters. Args: omni: The Omni instance to use for geSTRING
HIGH…/omni_connectors/test_bagel_shared_memory_connector.py158Generate an image using Bagel model with img2img pipeline. Args: omni: The Omni instance to use for generatSTRING
HIGH…line_inference/test_sensenova_u1_text2img_expansion.py118Generate an image using SenseNova-U1 model with configured parameters. Args: omni: The Omni instance to useSTRING
HIGH…fline_inference/test_sensenova_u1_img2img_expansion.py123Generate an edited image using SenseNova-U1 model with img2img pipeline. Args: omni: The Omni instance to uSTRING
HIGHvllm_omni/distributed/omni_coordinator/load_balancer.py47Route a task to one of the available replicas. Args: task: The task to route. Not used by the randoSTRING
HIGHvllm_omni/config/composable_parallel/apply.py220Overlay per-role strategy specs onto a merged stage list. Args: stages: the ``list[StageConfig]`` returned STRING
HIGHvllm_omni/model_executor/models/cosyvoice3/utils.py253Make mask tensor containing indices of padded part. See description of make_non_pad_mask. Args: lengthSTRING
HIGH…m_omni/model_executor/models/indextts2/utils/common.py66Make mask tensor containing indices of padded part. See description of make_non_pad_mask. Args: lengthSTRING
HIGH…model_executor/models/qwen3_tts/qwen3_tts_tokenizer.py68 Initialize tokenizer with HuggingFace `from_pretrained` style. Args: pretrained_model_nameSTRING
HIGHvllm_omni/utils/forced_aligner.py120Run one forced-alignment pass. Args: audio: Signed-int16 little-endian mono PCM bytes. text: GroundSTRING
HIGHvllm_omni/diffusion/registry.py353Initialize a diffusion model from the registry. This function: 1. Loads the model class from the registry 2STRING
HIGHvllm_omni/diffusion/data.py830 Find an available port with retry logic. Args: port: Initial port to check porSTRING
HIGHvllm_omni/diffusion/attention/backends/registry.py121Register or override a diffusion backend implementation. Args: backend: The DiffusionAttentionBackendEnum mSTRING
HIGHvllm_omni/diffusion/cache/selector.py12Get cache backend instance based on cache_backend string. This is a selector function that routes to the appropriatSTRING
HIGHvllm_omni/diffusion/cache/teacache/extractors.py1307 Get extractor function for given transformer class. This function looks up the extractor based on the exact trSTRING
HIGH…omni/diffusion/cache/teacache/coefficient_estimator.py221Estimate polynomial coefficients from collected data. Args: poly_order: Order of polynomial fit (deSTRING
HIGHvllm_omni/diffusion/cache/magcache/strategy.py473Get strategy function for given transformer class. This function looks up the strategy based on the exact transformSTRING
HIGHvllm_omni/diffusion/distributed/sp_sharding.py32Shard a tensor along the specified dimension for sequence parallelism. The tensor is split into world_size chunks aSTRING
HIGHvllm_omni/diffusion/distributed/parallel_state.py552 Initialize sequence-parallel Ulysses and Ring process groups. This builds sequence-parallel (SP) subgroups insSTRING
HIGH…on/models/hunyuan_image3/hunyuan_image3_transformer.py2980 The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`): STRING
HIGH…ni/diffusion/models/glm_image/glm_image_transformer.py64Validate GLM-Image TP constraints without requiring a distributed context. Args: dim: Model hidden dimensioSTRING
HIGH…ni/diffusion/models/glm_image/glm_image_transformer.py428Get cache for a specific layer. Args: layer_idx: Index of the layer (0-indexed). Returns: STRING
HIGH…lm_omni/diffusion/models/omnigen2/pipeline_omnigen2.py817 Get prompt embeddings from the Qwen2 text encoder. Args: prompt: The prompt or list of proSTRING
HIGH…on/models/gr00t/dataio/state_action/action_chunking.py131 Convert a relative action chunking to an absolute action chunking by applying the relative poses on topSTRING
HIGH…on/models/gr00t/dataio/state_action/action_chunking.py168 Convert action chunking to the specified action format. Must be implemented by subclasses. ArgSTRING
HIGH…on/models/gr00t/dataio/state_action/action_chunking.py259 Interpolate the joint action chunking to generate intermediate configurations. Uses linear interpolatiSTRING
HIGH…on/models/gr00t/dataio/state_action/action_chunking.py338 Convert a relative joint action chunking to an absolute action chunking by adding the relative joint poSTRING
HIGH…on/models/gr00t/dataio/state_action/action_chunking.py373 Convert trajectory to the desired format. Args: action_format: The desired output format STRING
HIGH…on/models/gr00t/dataio/state_action/action_chunking.py479 Interpolate the action chunking to generate intermediate poses. Uses linear interpolation for translatSTRING
HIGH…on/models/gr00t/dataio/state_action/action_chunking.py635 Convert trajectory to the desired format. Args: action_format: The desired output format STRING
HIGH…mni/diffusion/models/gr00t/dataio/state_action/pose.py101 Compute relative transformation between two poses. For EndEffectorPose: Computes the relative transforSTRING
HIGH…mni/diffusion/models/gr00t/dataio/state_action/pose.py243 Compute relative joint displacement. Args: other: Reference joint pose Returns: STRING
HIGH…ls/gr00t/dataio/state_action/state_action_processor.py227 Reverse state processing (denormalization). Args: state: Dict mapping joint_group -> proceSTRING
HIGH…ls/gr00t/dataio/state_action/state_action_processor.py286 Apply action processing (absolute->relative conversion, normalization). Processing order: 1. CSTRING
HIGH…ls/gr00t/dataio/state_action/state_action_processor.py373 Reverse action processing (denormalization, relative->absolute conversion). Processing order: STRING
HIGH…iffusion/models/ernie_image/ernie_image_transformer.py60Validate ErnieImage TP constraints without requiring a distributed context. Args: heads: Number of attentioSTRING
HIGHvllm_omni/diffusion/hooks/sequence_parallel.py80Get a parameter value from args or kwargs by name. Args: identifier: The parameter name to look up.STRING
HIGHvllm_omni/diffusion/hooks/sequence_parallel.py538Get a submodule by dotted name, supporting wildcards. Args: model: The root module. name: Dotted paSTRING
HIGHvllm_omni/diffusion/worker/diffusion_worker.py1227 Execute a method on the worker. Args: method: Method name (str) or serialized callable (bySTRING
HIGHvllm_omni/entrypoints/async_omni.py277Generate outputs for the given prompt(s) asynchronously. Coordinates multi-stage pipeline execution. Processes STRING
HIGHvllm_omni/entrypoints/utils.py84Filter dict-like object by removing callables and recursively converting values. Converts dict-like objects to reguSTRING
HIGHvllm_omni/entrypoints/utils.py235Resolve the stage config file path from the model name. Resolves stage configuration path based on the model type aSTRING
HIGHvllm_omni/entrypoints/openai/image_api_utils.py21Parse size string to width and height tuple. Args: size_str: Size in format "WIDTHxHEIGHT" (e.g., "1024x102STRING
HIGHvllm_omni/entrypoints/openai/api_server.py1239Generate speech audio from text using the loaded TTS model. Args: request: Speech synthesis request in OpenSTRING
HIGHvllm_omni/entrypoints/openai/api_server.py1713Generate images from text prompts using diffusion models. OpenAI DALL-E compatible endpoint for text-to-image generSTRING
HIGHvllm_omni/entrypoints/openai/api_server.py3197Retrieve metadata for a previously created video job. Args: video_id: Identifier returned by ``POST /v1/vidSTRING
HIGHvllm_omni/entrypoints/openai/api_server.py3225Delete a stored video job and any generated output. If the job is still queued or running, this endpoint first atteSTRING
HIGHvllm_omni/entrypoints/openai/api_server.py3277Download the generated file for a completed video job. Args: video_id: Identifier of the video job whose ouSTRING
HIGHvllm_omni/outputs/__init__.py355Unwrap result from omni.generate() to get the final OmniRequestOutput. This static helper handles the full unwrSTRING
HIGH…ps/ComfyUI-vLLM-Omni/comfyui_vllm_omni/utils/format.py29 Convert base64-encoded image to ComfyUI image tensor. Args: base64_str: Base64-encoded image string STRING
HIGH…ps/ComfyUI-vLLM-Omni/comfyui_vllm_omni/utils/format.py67 Convert ComfyUI image tensor to PNG BytesIO for multipart upload. This function converts a ComfyUI IMAGE tensoSTRING
HIGH…ps/ComfyUI-vLLM-Omni/comfyui_vllm_omni/utils/format.py107 Convert ComfyUI image tensor to base64-encoded image string. Args: tensor: ComfyUI IMAGE tensor with sSTRING
Structural Annotation Overuse133 hits · 218 pts
SeverityFileLineSnippetContext
LOWtests/core/sched/test_generation_scheduler_restore.py52 # Step 1: process_pending_chunks moves req-B outCOMMENT
LOWtests/core/sched/test_generation_scheduler_restore.py57 # Step 2: simulate the try/except/finally patternCOMMENT
LOWtests/core/sched/test_generation_scheduler_restore.py66 # Step 3: verify request is restoredCOMMENT
LOWtests/diffusion/attention/test_attention_sp.py208 # Step 1: Run without SP (baseline with ulysses_degree=1, ring_degree=1)COMMENT
LOWtests/diffusion/attention/test_attention_sp.py235 # Step 2: Run with SP enabledCOMMENT
LOWtests/diffusion/attention/test_attention_sp.py262 # Step 3: Verify input consistency and compare outputsCOMMENT
LOWtests/dreamzero/upstream/openpi_test_client_ar.py305 # Step 0: initial single frameCOMMENT
LOWtests/e2e/offline_inference/test_moss_tts_realtime.py162 # Step 1: locate the realtime processor module in the snapshot.COMMENT
LOWtests/e2e/offline_inference/test_moss_tts_realtime.py187 # Step 2: encode the reference audio clip via MOSS-Audio-Tokenizer.COMMENT
LOWtests/e2e/offline_inference/test_moss_tts_realtime.py205 # Step 3: build the (L, 17) prefill grid.COMMENT
LOW…ence/custom_pipeline/test_async_omni_collective_rpc.py130 # Step 1: list_loras (the call that was crashing)COMMENT
LOW…ence/custom_pipeline/test_async_omni_collective_rpc.py134 # Step 2: generate (should still work after list_loras)COMMENT
LOW.claude/skills/vllm-omni-test/SKILL.md31### Step 1: Classify Test GoalCOMMENT
LOW.claude/skills/vllm-omni-test/SKILL.md37### Step 2: Select Test LevelCOMMENT
LOW.claude/skills/vllm-omni-test/SKILL.md45### Step 3: Pick MarkersCOMMENT
LOW.claude/skills/vllm-omni-test/SKILL.md91### Step 4: Generate Test Case SkeletonCOMMENT
LOW.claude/skills/vllm-omni-test/SKILL.md622### Step 5: Wire Buildkite (when CI must run the new test)COMMENT
LOW.claude/skills/vllm-omni-test/SKILL.md824### Step 6: Run TestsCOMMENT
LOW.claude/skills/vllm-omni-test/SKILL.md851### Step 7: Validate Result QualityCOMMENT
LOW.claude/skills/precheck-pr/SKILL.md21### Step 1: Detect Base BranchCOMMENT
LOW.claude/skills/precheck-pr/SKILL.md31### Step 2: Validate PR TitleCOMMENT
LOW.claude/skills/precheck-pr/SKILL.md50### Step 3: Categorize the PRCOMMENT
LOW.claude/skills/precheck-pr/SKILL.md62### Step 4: Run ChecklistCOMMENT
LOW.claude/skills/precheck-pr/SKILL.md68### Step 5: Print ReportCOMMENT
LOW.claude/skills/add-diffusion-model/SKILL.md21## Step 0: Classify the Migration PathCOMMENT
LOW.claude/skills/add-diffusion-model/SKILL.md263### Step 4: Register Model in registry.pyCOMMENT
LOW.claude/skills/add-diffusion-model/SKILL.md283### Step 5: Run, Test, DebugCOMMENT
LOW.claude/skills/add-diffusion-model/SKILL.md301### Step 6: Add Example ScriptsCOMMENT
LOW.claude/skills/add-diffusion-model/SKILL.md308### Step 7: Update DocumentationCOMMENT
LOW.claude/skills/add-diffusion-model/SKILL.md318### Step 8: Add E2E TestsCOMMENT
LOW.claude/skills/add-diffusion-model/SKILL.md349### Step 9: Add Cache-DiT AccelerationCOMMENT
LOW.claude/skills/add-diffusion-model/SKILL.md452### Step 10: Add Parallelism SupportCOMMENT
LOW.claude/skills/add-diffusion-model/SKILL.md570### Step 11: Add CPU Offload SupportCOMMENT
LOW.claude/skills/add-diffusion-model/SKILL.md601### Step 12: Performance ProfilingCOMMENT
LOW…add-diffusion-model/references/parallelism-patterns.md186#### Step 1: Identify module boundariesCOMMENT
LOW…add-diffusion-model/references/parallelism-patterns.md208#### Step 2: Handle inline operationsCOMMENT
LOW…add-diffusion-model/references/parallelism-patterns.md227#### Step 3: Write `_sp_plan`COMMENT
LOW.claude/skills/vllm-omni-npu-upgrade/SKILL.md120### Step 1: PreparationCOMMENT
LOW.claude/skills/vllm-omni-npu-upgrade/SKILL.md137### Step 2: Analyze Omni-Specific LogicCOMMENT
LOW.claude/skills/vllm-omni-npu-upgrade/SKILL.md151### Step 3: Update Base Class (OmniNPUModelRunner)COMMENT
LOW.claude/skills/vllm-omni-npu-upgrade/SKILL.md173### Step 4: Update AR Model RunnerCOMMENT
LOW.claude/skills/vllm-omni-npu-upgrade/SKILL.md188### Step 5: Update Generation Model RunnerCOMMENT
LOW.claude/skills/vllm-omni-npu-upgrade/SKILL.md205### Step 6: Update ImportsCOMMENT
LOW.claude/skills/vllm-omni-npu-upgrade/SKILL.md226### Step 7: Sync GPU-Side Omni ChangesCOMMENT
LOW.claude/skills/vllm-omni-npu-upgrade/SKILL.md238### Step 8: ValidationCOMMENT
LOWdocs/design/feature/cfg_parallel.md84### Step 1: Inherit `CFGParallelMixin`COMMENT
LOWdocs/design/feature/cfg_parallel.md123### Step 2: Call `diffuse`COMMENT
LOWdocs/design/feature/tensor_parallel.md46### Step 1: Identify Linear LayersCOMMENT
LOWdocs/design/feature/tensor_parallel.md54### Step 2: Replace Linear Layers with Parallel EquivalentsCOMMENT
LOWdocs/design/feature/tensor_parallel.md148### Step 3: Validate TP ConstraintsCOMMENT
LOWdocs/design/feature/pipeline_parallel.md97### Step 1: Inherit `PipelineParallelMixin` and `CFGParallelMixin`COMMENT
LOWdocs/design/feature/pipeline_parallel.md123### Step 2: Make model forward and `predict_noise()` PP-awareCOMMENT
LOWdocs/design/feature/pipeline_parallel.md159### Step 3: Partition the transformer layersCOMMENT
LOWdocs/design/feature/pipeline_parallel.md235### Step 4: Use the standard denoising contractCOMMENT
LOWdocs/design/feature/hsdp.md44### Step 1: Identify Modules to ShardCOMMENT
LOWdocs/design/feature/hsdp.md55### Step 2: Define Shard ConditionsCOMMENT
LOWdocs/design/feature/sequence_parallel.md122### Step 1: Understand Module BoundariesCOMMENT
LOWdocs/design/feature/sequence_parallel.md145### Step 2: Handle Inline OperationsCOMMENT
LOWdocs/design/feature/sequence_parallel.md191### Step 3: Write `_sp_plan` for Your ModelCOMMENT
LOWdocs/design/feature/expert_parallel.md59### Step 1: Configure Expert Parallelism SettingsCOMMENT
73 more matches not shown…
Self-Referential Comments51 hits · 145 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_config_factory.py624 # Create the modelCOMMENT
MEDIUMtests/test_config_factory.py657 # Create the modelCOMMENT
MEDIUMtests/test_config_factory.py693 # Create a config with the autodetected type, and write theCOMMENT
MEDIUM…ributed/omni_connectors/test_omni_connector_configs.py18 # This file is 4 levels deep from root if we count from tests?COMMENT
MEDIUM…s/model_executor/models/glm_image/test_glm_image_ar.py133 # Create a mock for the parent parse_mm_dataCOMMENT
MEDIUMtests/diffusion/test_worker_wrapper_base.py469 # Create a mock worker class with re_init_pipelineCOMMENT
MEDIUMtests/diffusion/cache/test_cache_backends.py247 # Create a cache config with an scm policy & enable itCOMMENT
MEDIUM…iffusion/distributed/test_autoencoder_kl_wan_encode.py220 # Create a simple task with 2 temporal chunksCOMMENT
MEDIUMtests/diffusion/distributed/test_sp_plan_hooks.py517 # Create a test tensorCOMMENT
MEDIUMtests/diffusion/distributed/test_sp_plan_hooks.py534 # Create a test tensor with [text, image] concatenatedCOMMENT
MEDIUM…n/models/wan2_2/test_wan22_quant_config_propagation.py202 # Create a fake module that has WanRMS_normCOMMENT
MEDIUMtests/diffusion/models/ltx2/test_ltx2_3_pipeline.py515 # Create a minimal od_config mockCOMMENT
MEDIUM…fusion/models/glm_image/test_glm_image_quantization.py544 # Create a minimal mock od_configCOMMENT
MEDIUMtests/diffusion/quantization/test_hsdp_fp8.py45 # Create the quant-method instance without calling __init__ (avoidsCOMMENT
MEDIUMtests/entrypoints/openai_api/test_serving_speech.py744 # Create a TTS stageCOMMENT
MEDIUMtests/entrypoints/openai_api/test_serving_speech.py488 # Create a file larger than 10MBCOMMENT
MEDIUMtests/entrypoints/openai_api/test_image_server.py97 # Create a simple test imageCOMMENT
MEDIUMtests/worker/test_omni_gpu_model_runner.py140 # Create an instance without calling OmniGPUModelRunner.__init__COMMENT
MEDIUMtests/engine/test_arg_utils.py111 # Create a vLLM ModelConfigCOMMENT
MEDIUMtests/engine/test_arg_utils.py114 # Create a mock talking config with a dummy value for position_id_per_secondsCOMMENT
MEDIUMdocs/mkdocs/hooks/generate_examples.py376 # Create the EXAMPLE_DOC_DIR if it doesn't existCOMMENT
MEDIUM.buildkite/scripts/hardware_ci/run-amd-test.sh28 # Define the thresholdCOMMENT
MEDIUM…ctors/connectors/mooncake_transfer_engine_connector.py303 # Create a socket to determine the local IP used for external communicationCOMMENT
MEDIUM…del_executor/models/fish_speech/fish_speech_fast_ar.py532 # Create a seeded generator for deterministic residual codebook sampling.COMMENT
MEDIUM…odel_executor/models/mimo_audio/mimo_audio_code2wav.py1019 # Create an all-zero logits tensor (sampler will choose the first token, usually pad token)COMMENT
MEDIUM…_tts/tokenizer_25hz/modeling_qwen3_tts_tokenizer_v1.py210 """This class implements an attentive statistic pooling layer for each channel.STRING
MEDIUM…_tts/tokenizer_12hz/modeling_qwen3_tts_tokenizer_v2.py591 # Create the masksSTRING
MEDIUM…lm_omni/model_executor/models/qwen3_omni/qwen3_omni.py136 # Create a new vllm_config with thinker_config as the hf_configCOMMENT
MEDIUM…lm_omni/model_executor/models/qwen3_omni/qwen3_omni.py169 # Create a new vllm_config with talker_config as the hf_configCOMMENT
MEDIUM…lm_omni/model_executor/models/qwen3_omni/qwen3_omni.py204 # Create a new vllm_config with code2wav_config as the hf_configCOMMENT
MEDIUM…el_executor/models/qwen3_omni/qwen3_omni_moe_talker.py359 # Create a vllm_config for the talker's text modelCOMMENT
MEDIUM…executor/models/qwen2_5_omni/qwen2_5_omni_token2wav.py168 """This class implements an attentive statistic pooling layer for each channel.STRING
MEDIUM…_executor/models/minicpmo_4_5/minicpmo_4_5_omni_llm.py4147 # Create a sequence tensor of shape (batch_size, max_seq_len)COMMENT
MEDIUMvllm_omni/diffusion/layers/mot/ops/mot_gemm.py228 # Initialize VAE variables first and overwrite for TextCOMMENT
MEDIUMvllm_omni/diffusion/cache/cache_dit_backend.py1054 # Initialize base class with normalized configCOMMENT
MEDIUMvllm_omni/diffusion/distributed/comm.py251 # Create a contiguous buffer for receivingCOMMENT
MEDIUMvllm_omni/diffusion/utils/kv_utils.py32 # Create the boolean mask for the input sequencesCOMMENT
MEDIUM…on/models/hunyuan_image3/hunyuan_image3_transformer.py730 # This class is just for type hinting purposes. Attribute `i` should be definedCOMMENT
MEDIUM…diffusion/models/dreamid_omni/pipeline_dreamid_omni.py206 # Create a new image with the target size and place the resized image in the centerCOMMENT
MEDIUM…iffusion/models/qwen_image/autoencoder_kl_qwenimage.py347 # Create the componentsSTRING
MEDIUM…mni/diffusion/models/nextstep_1_1/modeling_flux_vae.py295 # Create a config-like object for compatibilityCOMMENT
MEDIUM…on/models/gr00t/dataio/state_action/action_chunking.py203 # Create a joint action chunkingSTRING
MEDIUM…on/models/gr00t/dataio/state_action/action_chunking.py399 # Create an end-effector action chunkingSTRING
MEDIUM…mni/diffusion/models/gr00t/dataio/state_action/pose.py172 # Create a 6-DOF joint configurationSTRING
MEDIUMvllm_omni/diffusion/hooks/sequence_parallel.py5# This module is adapted from HuggingFace diffusers library:COMMENT
MEDIUMvllm_omni/diffusion/worker/diffusion_worker.py1071 # Create the actual worker instanceCOMMENT
MEDIUMvllm_omni/benchmarks/data_modules/daily_omni_dataset.py396 # Create an iterator-like wrapper for compatibilityCOMMENT
MEDIUMvllm_omni/entrypoints/utils.py752# The following code detects if the process is running in a container and ifCOMMENT
MEDIUMvllm_omni/engine/arg_utils.py234 # Create a temp dir with a patched config.jsonCOMMENT
MEDIUMvllm_omni/inputs/data.py323 # This class is changed to only represent a single prompt requestCOMMENT
MEDIUM…ps/ComfyUI-vLLM-Omni/comfyui_vllm_omni/utils/logger.py57 # Create a copy with redacted valuesCOMMENT
Redundant / Tautological Comments92 hits · 140 pts
SeverityFileLineSnippetContext
LOWtests/unit/higgs_audio_v3/test_higgs_audio_v3.py112 # Set weights to identity-like pattern so we can verify offsetsCOMMENT
LOWtests/distributed/omni_connectors/test_kv_flow.py126 # Check if data was put into connectorCOMMENT
LOW…ts/diffusion/models/flux2/test_flux2_transformer_tp.py243 # Check if to_out related weights are loadedCOMMENT
LOWtests/benchmarks/patch/test_patch.py312 # Check if attribute exists and has a value (should be 0.0 or similar default)COMMENT
LOWtests/e2e/offline_inference/compute_lpips.py95 # Print results tableCOMMENT
LOW…ce/custom_pipeline/qwen_image_pipeline_with_logprob.py42 # Check if model is a local pathCOMMENT
LOWtests/helpers/stage_config.py85 # Check if next key is a digit (list index) or string (dict key)COMMENT
LOWtests/helpers/stage_config.py227 # Check if this is a simple key (not dot-separated)COMMENT
LOWexamples/offline_inference/step_audio2/end2end.py203 # Check if it's a local pathCOMMENT
LOWexamples/offline_inference/image_to_image/image_edit.py640 # Check if this is a layered output (list of images)COMMENT
LOWexamples/offline_inference/image_to_image/image_edit.py651 # Check if this is a layered output (list of images)COMMENT
LOW…ai_chat_completion_client_for_multimodal_generation.py57 # Check if it's a URL (starts with http:// or https://)COMMENT
LOW…ai_chat_completion_client_for_multimodal_generation.py96 # Check if it's a URL (starts with http:// or https://)COMMENT
LOW…ai_chat_completion_client_for_multimodal_generation.py133 # Check if it's a URL (starts with http:// or https://)COMMENT
LOW…ai_chat_completion_client_for_multimodal_generation.py64 # Check if it's a URL (starts with http:// or https://)COMMENT
LOW…ai_chat_completion_client_for_multimodal_generation.py103 # Check if it's a URL (starts with http:// or https://)COMMENT
LOW…ai_chat_completion_client_for_multimodal_generation.py141 # Check if it's already a base64 data URLCOMMENT
LOW…ai_chat_completion_client_for_multimodal_generation.py145 # Check if it's a URL (starts with http:// or https://)COMMENT
LOWexamples/online_serving/lance/openai_chat_client.py49 # Check if local fileCOMMENT
LOWexamples/online_serving/qwen3_omni/run_gradio_demo.sh154 # Check if startup flag file exists (startup complete)COMMENT
LOWexamples/online_serving/qwen3_omni/run_gradio_demo.sh163 # Check if server process is still runningCOMMENT
LOWexamples/online_serving/qwen2_5_omni/run_gradio_demo.sh154 # Check if startup flag file exists (startup complete)COMMENT
LOWexamples/online_serving/qwen2_5_omni/run_gradio_demo.sh163 # Check if server process is still runningCOMMENT
LOW…online_serving/text_to_speech/qwen3_tts/gradio_demo.py365 # Check if this is a request ID referencing a stored payloadCOMMENT
LOWbenchmarks/build_dataset/extract_tts_prompts.py45 # Print result statsCOMMENT
LOWbenchmarks/build_dataset/extract_tts_prompts.py64 # Check if input file existsCOMMENT
LOW.buildkite/scripts/docker_login_ecr_public.sh31 # Check if already authenticated to the given registryCOMMENT
LOW.buildkite/scripts/docker_login_ecr_public.sh35 # Check if credentials exist in the isolated configCOMMENT
LOW.buildkite/scripts/docker_login_ecr_public.sh37 # Check if registry is present in configCOMMENT
LOW.buildkite/scripts/docker_login_ecr_public.sh52 # Check if already authenticated (within this job)COMMENT
LOWvllm_omni/platforms/cuda/platform.py90 # Check if FA packages are availableCOMMENT
LOWvllm_omni/platforms/musa/platform.py72 # Check if FA packages are availableCOMMENT
LOWvllm_omni/platforms/rocm/platform.py81 # Check if aiter is available for Flash Attention supportCOMMENT
LOW…ctors/connectors/mooncake_transfer_engine_connector.py1051 # Check if this is a query requestCOMMENT
LOW…mni/distributed/omni_connectors/utils/serialization.py208 # Check if this looks like an OmniRequestOutput (check before RequestOutputCOMMENT
LOW…mni/distributed/omni_connectors/utils/serialization.py213 # Check if this looks like a RequestOutputCOMMENT
LOW…mni/distributed/omni_connectors/utils/serialization.py217 # Check if this looks like a CompletionOutputCOMMENT
LOWvllm_omni/plugins/__init__.py34 # Check if the only discovered plugin is the default one.COMMENT
LOW…model_executor/models/hunyuan_image3/hunyuan_image3.py1813 # Check if T dimension is 1, then squeeze itCOMMENT
LOW…m_omni/model_executor/models/glm_image/glm_image_ar.py178 # Check if we're in a subdirectory (vision_language_encoder)COMMENT
LOW…m_omni/model_executor/models/glm_image/glm_image_ar.py891 # Check if we have images (i2i mode)COMMENT
LOW…m_omni/model_executor/models/glm_image/glm_image_ar.py945 # Check if there are any images to processCOMMENT
LOW…m_omni/model_executor/models/glm_image/glm_image_ar.py2803 # Check if this is a text-to-image request:COMMENT
LOW…m_omni/model_executor/models/glm_image/glm_image_ar.py2835 # Check if there's a token after this start and it's an image tokenCOMMENT
LOW…odel_executor/models/mimo_audio/mimo_audio_code2wav.py955 # Check if in CUDA graph capture phaseCOMMENT
LOW…lm_omni/model_executor/models/mimo_audio/mimo_audio.py867 # Check if in CUDA graph capture phaseCOMMENT
LOW…_executor/models/minicpmo_4_5/minicpmo_4_5_omni_llm.py455 # Check if the args are a device or a dtypeSTRING
LOW…mni/model_executor/stage_input_processors/glm_image.py338 # Check if elements are tensors or Python listsCOMMENT
LOW…_omni/model_executor/stage_input_processors/glm_tts.py340 # Check if enough tokens accumulated for next chunkCOMMENT
LOWvllm_omni/diffusion/compile.py56 # Check if we have modules with the specified class namesCOMMENT
LOWvllm_omni/diffusion/attention/parallel/ulysses.py348 # Check if Ring Attention is also active (Hybrid mode)COMMENT
LOWvllm_omni/diffusion/cache/cache_dit_backend.py225 # Set timesteps to calculate the splitCOMMENT
LOWvllm_omni/diffusion/cache/cache_dit_backend.py1111 # Check if this model has a custom cache-dit enablerCOMMENT
LOWvllm_omni/diffusion/distributed/sp_plan.py403 # Check if it's an output specification (SequenceParallelOutput or list/tuple thereof)COMMENT
LOWvllm_omni/diffusion/distributed/cfg_parallel.py305 # Assign branches to ranks via round-robinCOMMENT
LOW…lm_omni/diffusion/models/wan2_2/pipeline_wan2_2_i2v.py192 # Check if this is a two-stage model (MoE with transformer_2)COMMENT
LOWvllm_omni/diffusion/models/wan2_2/pipeline_wan2_2.py298 # Check if this is a two-stage model (MoE with transformer_2)COMMENT
LOWvllm_omni/diffusion/models/soulx_singer/utils.py73 # Check if there is a base configuration specified and merge if necessaryCOMMENT
LOWvllm_omni/diffusion/models/flux/pipeline_flux.py106 # Check if model is a local pathCOMMENT
LOW…_omni/diffusion/models/glm_image/pipeline_glm_image.py753 # Check if prior_token_ids are provided externally (from AR stage in multistage mode)COMMENT
32 more matches not shown…
Modern AI Meta-Vocabulary29 hits · 86 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md24- [2026/03] **[vllm-omni-skills](https://github.com/hsliuustc0106/vllm-omni-skills)** is a community-driven collection oCODE
MEDIUM…ts/e2e/online_serving/test_cosyvoice3_tts_expansion.py25# Official CosyVoice zero-shot prompt audio and its transcript. Vendored underCOMMENT
MEDIUMtests/helpers/assertions.py593 # may hallucinate extra context around the short utterance. UseCOMMENT
MEDIUMdocs/contributing/model/adding_tts_model.md612 # Build context window: left_context + chunkCOMMENT
MEDIUMdocs/user_guide/examples/offline_inference/bagel.md119# Think + text2text: chain-of-thought reasoningCOMMENT
MEDIUM…mples/offline_inference/text_to_image/text_to_image.py444 # Cosmos3 loads its (gated) guardrail models at build time, so the guardrailsCOMMENT
MEDIUM…mples/offline_inference/text_to_image/text_to_image.py445 # gate is an engine-level config (offline analog of the server's --no-guardrails).COMMENT
MEDIUM…mples/offline_inference/text_to_video/text_to_video.py389 # Cosmos3 loads its (gated) guardrail models at build time, so the guardrailsCOMMENT
MEDIUM…mples/offline_inference/text_to_video/text_to_video.py390 # gate is an engine-level config (offline analog of the server's --no-guardrails).COMMENT
MEDIUM…offline_inference/text_to_speech/cosyvoice3/end2end.py18# Upstream zero-shot reference clipCOMMENT
MEDIUM…les/offline_inference/image_to_video/image_to_video.py458 # Cosmos3 loads its (gated) guardrail models at build time, so the guardrailsCOMMENT
MEDIUM…les/offline_inference/image_to_video/image_to_video.py459 # gate is an engine-level config (offline analog of the server's --no-guardrails).COMMENT
MEDIUM…ine_serving/text_to_speech/cosyvoice3/speech_client.py30# Official CosyVoice zero-shot prompt and its transcript.COMMENT
MEDIUM…ctors/connectors/mooncake_transfer_engine_connector.py167 # The orchestration layer (get_connectors_config_for_stage /COMMENT
MEDIUMvllm_omni/deploy/lance.yaml6# stage orchestration.COMMENT
MEDIUM…model_executor/models/hunyuan_image3/hunyuan_image3.py1972 # The <timestep> slot at the head of each per-image scaffold is NOTCOMMENT
MEDIUMvllm_omni/utils/forced_aligner.py308# the generic vLLM orchestration.COMMENT
MEDIUM…_omni/diffusion/models/hunyuan_image3/system_prompt.py195 # Think task: use chain-of-thought recaption promptSTRING
MEDIUMvllm_omni/diffusion/models/lance/pipeline_lance.py1854 # the chat scaffolding.COMMENT
MEDIUM…iffusion/models/qwen_image/pipeline_qwen_image_edit.py444 # The edit template contains fixed multimodal scaffolding around theCOMMENT
MEDIUMvllm_omni/diffusion/models/cosmos3/guardrails.py65 # ``model_config["guardrails"]`` is False.COMMENT
MEDIUMvllm_omni/diffusion/models/cosmos3/guardrails.py134 # caller has opted in to guardrails.COMMENT
MEDIUM…quantization/tools/merge_mxfp4_dualscale_checkpoint.py331 # BF16 base: provides the scaffold for non-MXFP4 tensors (norms, embeddings,COMMENT
MEDIUM…quantization/tools/merge_mxfp4_dualscale_checkpoint.py378 # Merge: base_state provides BF16 scaffold; MXFP4 tensors override their BF16 counterpartsCOMMENT
MEDIUMvllm_omni/entrypoints/cli/serve.py710 # Disable safety guardrails for this server (currently only applicable for Cosmos3)COMMENT
MEDIUMvllm_omni/entrypoints/openai/serving_chat.py508 # scaffold.COMMENT
MEDIUMvllm_omni/entrypoints/openai/serving_speech.py561 # VoxCPM2 has no predefined speaker presets — "default" means zero-shotCOMMENT
MEDIUMvllm_omni/engine/orchestrator.py430 # orchestration loop observes _shutdown_event and exits.COMMENT
MEDIUMvllm_omni/inputs/preprocess.py67 # defaults and scaffold).COMMENT
Verbosity Indicators34 hits · 65 pts
SeverityFileLineSnippetContext
LOWtests/core/sched/test_generation_scheduler_restore.py52 # Step 1: process_pending_chunks moves req-B outCOMMENT
LOWtests/core/sched/test_generation_scheduler_restore.py57 # Step 2: simulate the try/except/finally patternCOMMENT
LOWtests/core/sched/test_generation_scheduler_restore.py66 # Step 3: verify request is restoredCOMMENT
LOWtests/diffusion/attention/test_attention_sp.py208 # Step 1: Run without SP (baseline with ulysses_degree=1, ring_degree=1)COMMENT
LOWtests/diffusion/attention/test_attention_sp.py235 # Step 2: Run with SP enabledCOMMENT
LOWtests/diffusion/attention/test_attention_sp.py262 # Step 3: Verify input consistency and compare outputsCOMMENT
LOWtests/dreamzero/upstream/openpi_test_client_ar.py305 # Step 0: initial single frameCOMMENT
LOWtests/e2e/offline_inference/test_moss_tts_realtime.py162 # Step 1: locate the realtime processor module in the snapshot.COMMENT
LOWtests/e2e/offline_inference/test_moss_tts_realtime.py187 # Step 2: encode the reference audio clip via MOSS-Audio-Tokenizer.COMMENT
LOWtests/e2e/offline_inference/test_moss_tts_realtime.py205 # Step 3: build the (L, 17) prefill grid.COMMENT
LOW…ence/custom_pipeline/test_async_omni_collective_rpc.py130 # Step 1: list_loras (the call that was crashing)COMMENT
LOW…ence/custom_pipeline/test_async_omni_collective_rpc.py134 # Step 2: generate (should still work after list_loras)COMMENT
LOWvllm_omni/core/prefix_cache.py211 # Step 1: consume the previous step's write FIRST. The previousCOMMENT
LOWvllm_omni/core/prefix_cache.py220 # Step 2: schedule the D2H on the copy stream. PyTorch implicitlyCOMMENT
LOWvllm_omni/core/prefix_cache.py243 # Step 3: stash for next step's consume.COMMENT
LOW…utor/models/ming_flash_omni/ming_flash_omni_thinker.py937 # Step 1: if vision/audio features were extracted, merge them intoCOMMENT
LOW…utor/models/ming_flash_omni/ming_flash_omni_thinker.py948 # Step 2: image-gen query tokens are appended at the tail of the promptCOMMENT
LOW…odel_executor/stage_input_processors/higgs_audio_v3.py139 # Step 1: Revert delay patternCOMMENT
LOW…odel_executor/stage_input_processors/higgs_audio_v3.py147 # Step 2: Replace out-of-range codes (BOC=1024, EOC=1025, -1) with 0.COMMENT
LOW…odel_executor/stage_input_processors/higgs_audio_v3.py157 # Step 3: Trim the last frame. After de-delay, the final frameCOMMENT
LOWvllm_omni/diffusion/layers/mot/ops/mot_rms_norm.py25 # Step 0: MoT RoutingCOMMENT
LOWvllm_omni/diffusion/layers/mot/ops/mot_rms_norm.py45 # Step 1: Compute sum of squares in float32 to avoid overflowCOMMENT
LOWvllm_omni/diffusion/layers/mot/ops/mot_rms_norm.py57 # Step 2: Compute RMS (root mean square) in float32COMMENT
LOWvllm_omni/diffusion/layers/mot/ops/mot_rms_norm.py62 # Step 3: Normalize and apply weightCOMMENT
LOWvllm_omni/diffusion/models/gr00t/policy.py336 # Step 1: Split batched observation into individual observationsCOMMENT
LOWvllm_omni/diffusion/models/gr00t/policy.py340 # Step 2: Process each observation through the VLA processorCOMMENT
LOWvllm_omni/diffusion/models/gr00t/policy.py348 # Step 3: Collate processed inputs into a single batch for modelCOMMENT
LOWvllm_omni/diffusion/models/gr00t/policy.py352 # Step 4: Run model inference to predict actionsCOMMENT
LOWvllm_omni/diffusion/models/gr00t/policy.py357 # Step 5: Decode actions from normalized space back to physical unitsCOMMENT
LOW…ls/gr00t/dataio/state_action/state_action_processor.py310 # Step 1: Convert absolute actions to relative (if needed)COMMENT
LOW…ls/gr00t/dataio/state_action/state_action_processor.py343 # Step 2: Normalize actionsCOMMENT
LOW…ls/gr00t/dataio/state_action/state_action_processor.py395 # Step 1: Unnormalize actionsCOMMENT
LOW…ls/gr00t/dataio/state_action/state_action_processor.py418 # Step 2: Convert relative actions to absolute (if needed)COMMENT
LOWvllm_omni/quantization/tools/merge_mxfp8_checkpoint.py231 # Step 1: Copy original model, skipping transformer dirs (will be replaced).COMMENT
Hallucination Indicators6 hits · 62 pts
SeverityFileLineSnippetContext
CRITICALtests/helpers/runtime.py1824 with self.client.audio.speech.with_streaming_response.create(CODE
CRITICALtests/helpers/runtime.py1863 with self.client.audio.speech.with_streaming_response.create(CODE
CRITICALtests/helpers/runtime.py1903 with self.client.audio.speech.with_streaming_response.create(CODE
CRITICALexamples/offline_inference/hunyuan_image3/README.md154The shared `vllm_omni.diffusion.models.hunyuan_image3.prompt_utils.build_prompt_tokens()`CODE
CRITICAL…executor/models/qwen2_5_omni/qwen2_5_omni_token2wav.py1231 self.codec_embed_size = self.code2wav_dit_model.text_embed.codec_embed.weight.size(0)STRING
CRITICALvllm_omni/diffusion/models/gr00t/modeling/gr00t_n1d7.py326 self.model.model.language_model.layers.pop(-1)CODE
AI Slop Vocabulary24 hits · 57 pts
SeverityFileLineSnippetContext
MEDIUMtests/diffusion/kernels/mot/test_mot_linear.py270 # Cosine similarity is the primary correctness gate: robust to scaleCOMMENT
LOW…iffusion/distributed/test_autoencoder_kl_wan_encode.py47 # Simple mock: just return the inputCOMMENT
MEDIUM…s/e2e/offline_inference/test_sensenova_u1_expansion.py48# regardless of GQA, so this is the robust LoRA target. Verify against config.json.COMMENT
MEDIUM…line_serving/text_to_speech/voxtral_tts/gradio_demo.py43# Default fallback voices - comprehensive listCOMMENT
MEDIUM.buildkite/scripts/hardware_ci/run_npu_test.sh119# This test checks whether the OOT platform interface is functioning properly in conjunction withCOMMENT
LOWvllm_omni/metrics/stat_logger.py114 # rewritten label set already, so just pass through.COMMENT
LOWvllm_omni/platforms/cuda/platform.py257 # users can just use IR op priority directlyCOMMENT
MEDIUM…ni/platforms/npu/worker/npu_generation_model_runner.py225 # We simply utilize the implementation in vLLM.COMMENT
MEDIUMvllm_omni/platforms/npu/worker/npu_ar_model_runner.py541 # We simply utilize the implementation in vLLM.COMMENT
LOW…ctors/connectors/mooncake_transfer_engine_connector.py304 # We don't actually connect, just use the socket to get routing infoCOMMENT
LOWvllm_omni/config/model.py64 # would just use itself as prefix — safe but worthCOMMENT
MEDIUMvllm_omni/model_executor/models/utils.py10 """Make ``trust_remote_code`` weight loading robust to the transformers 5.9STRING
LOW…m_omni/model_executor/models/glm_image/glm_image_ar.py3135 # For intermediate tensors (PP), just return hidden statesCOMMENT
LOW…lm_omni/model_executor/models/mimo_audio/mimo_audio.py475 # If no bos/eos tokens, just use audio tokensCOMMENT
LOW…del_executor/models/indextts2/gpt/conformer_encoder.py141 # It's better we just return None if no cache is required,COMMENT
MEDIUMvllm_omni/utils/forced_aligner.py317 # robust against off-by-one chunk boundaries.COMMENT
MEDIUMvllm_omni/diffusion/diffusion_engine.py795 # Keep warmup path minimal and robust across text encoders.COMMENT
MEDIUM…m_omni/diffusion/attention/backends/ring/ring_utils.py107 # Initialize LSE with robust logic (same as _update)COMMENT
LOWvllm_omni/diffusion/hooks/base.py316 # Otherwise just call the original forward.COMMENT
MEDIUMvllm_omni/diffusion/lora/layers/base_linear.py35 # `__dict__` for robust lookups in `__getattr__`.COMMENT
MEDIUMvllm_omni/benchmarks/data_modules/daily_omni_eval.py133 # ``\b`` after the letter avoids "Because"/"Definitely" false positivesCOMMENT
MEDIUMvllm_omni/entrypoints/openai/serving_chat.py1258 # Always track previous_texts for comprehensive output loggingCOMMENT
MEDIUMvllm_omni/entrypoints/openai/serving_chat.py1724 # Update for comprehensive logging even in simple caseCOMMENT
LOWvllm_omni/worker/gpu_ar_model_runner.py1963 # just use zeros for the draft tokens.COMMENT
Example Usage Blocks27 hits · 40 pts
SeverityFileLineSnippetContext
LOWtools/nightly/run_nightly_jobs.sh47# Usage:COMMENT
LOWtests/e2e/offline_inference/run_quantization_e2e.sh10# Usage:COMMENT
LOW…_inference/qwen3_omni/run_single_prompt_async_chunk.sh12# Usage:COMMENT
LOW…ference/qwen3_omni/run_multiple_prompts_async_chunk.sh8# Usage:COMMENT
LOW…ine_inference/qwen2_5_omni/strategy_stage_replica.yaml14# Usage:COMMENT
LOW…mples/offline_inference/qwen2_5_omni/strategy_tp2.yaml12# Usage:COMMENT
LOW…amples/online_serving/text_to_video/run_server_ltx2.sh7# Usage:COMMENT
LOWexamples/online_serving/qwen3_omni/run_gradio_demo.sh4# Usage:COMMENT
LOWexamples/online_serving/qwen2_5_omni/run_gradio_demo.sh4# Usage:COMMENT
LOW…erving/text_to_speech/moss_tts_nano/run_gradio_demo.sh4# Usage:COMMENT
LOW…ine_serving/text_to_speech/moss_tts_nano/run_server.sh4# Usage:COMMENT
LOW…nline_serving/text_to_speech/soulxsinger/run_server.sh4# Usage:COMMENT
LOW…rving/text_to_speech/ming_flash_omni_tts/run_server.sh4# Usage:COMMENT
LOW…online_serving/text_to_speech/cosyvoice3/run_server.sh4# Usage:COMMENT
LOW…line_serving/text_to_speech/glm_tts/run_gradio_demo.sh4# Usage:COMMENT
LOW…es/online_serving/text_to_speech/glm_tts/run_server.sh4# Usage:COMMENT
LOW…/online_serving/text_to_speech/omnivoice/run_server.sh4# Usage:COMMENT
LOW…_serving/text_to_speech/fish_speech/run_gradio_demo.sh4# Usage:COMMENT
LOW…nline_serving/text_to_speech/fish_speech/run_server.sh4# Usage:COMMENT
LOW…s/online_serving/text_to_speech/ming_tts/run_server.sh4# Usage:COMMENT
LOW…ne_serving/text_to_speech/higgs_audio_v2/run_server.sh8# Usage:COMMENT
LOW…ne_serving/text_to_speech/higgs_audio_v3/run_server.sh6# Usage:COMMENT
LOW…ne_serving/text_to_speech/qwen3_tts/run_gradio_demo.sh4# Usage:COMMENT
LOW…/online_serving/text_to_speech/qwen3_tts/run_server.sh4# Usage:COMMENT
LOW.buildkite/scripts/docker_login_ecr_public.sh8# Usage:COMMENT
LOWvllm_omni/deploy/qwen3_omni_moe_mori_intranode.yaml26# Usage:COMMENT
LOWvllm_omni/deploy/indextts2_low_latency.yaml8# Usage:COMMENT
Dead Code7 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUM…/entrypoints/openai_api/test_serving_audio_generate.py418CODE
MEDIUM…/entrypoints/openai_api/test_serving_audio_generate.py477CODE
MEDIUM…/entrypoints/openai_api/test_serving_audio_generate.py492CODE
MEDIUMtests/entrypoints/openai_api/test_serving_speech.py2165CODE
MEDIUMtests/entrypoints/openai_api/test_serving_speech.py3696CODE
MEDIUMtests/entrypoints/openai_api/test_image_server.py595CODE
MEDIUMtests/entrypoints/openai_api/test_image_server.py917CODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH.github/ISSUE_TEMPLATE/400-bug-report.yml20 Consider redacting or replacing sensitive values with placeholders like `<YOUR_TOKEN_HERE>` when sharing configuraCODE
Overly Generic Function Names3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/diffusion/test_stage_diffusion_proc.py100 async def run_task(req_data):CODE
LOWtests/diffusion/test_diffusion_engine.py512 async def run_task(rid):CODE
LOWexamples/offline_inference/lance/gradio_demo.py794def run_task(CODE
Slop Phrases3 hits · 2 pts
SeverityFileLineSnippetContext
LOW…_executor/models/minicpmo_4_5/minicpmo_4_5_omni_llm.py1806 # When lifting this restriction, don't forget to eitherSTRING
LOW…_executor/models/minicpmo_4_5/minicpmo_4_5_omni_llm.py1806 # When lifting this restriction, don't forget to eitherSTRING
MEDIUMvllm_omni/diffusion/models/bagel/bagel_transformer.py369 although it's worth noting that this is currently only usedSTRING