Official Python inference and LoRA trainer package for the LTX-2 audio–video generative model.
This report presents the forensic synthetic code analysis of Lightricks/LTX-2, a Python project with 9,286 GitHub stars. SynthScan v2.0 examined 87,109 lines of code across 387 source files, recording 1863 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 36.1 places this repository in the Strong AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1863 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | packages/ltx-trainer/configs/v2a_lora.yaml | 26 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/v2a_lora.yaml | 28 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/v2a_lora.yaml | 30 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/v2a_lora.yaml | 327 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/v2a_lora.yaml | 329 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/v2a_lora.yaml | 339 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/v2a_lora.yaml | 341 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/v2a_lora.yaml | 351 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/v2a_lora.yaml | 353 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 3 | # ============================================================================= | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 54 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 56 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 112 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 114 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 143 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 145 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 180 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 182 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 203 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 205 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 216 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 218 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 310 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 312 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 371 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/v2a_lora.yaml | 373 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_extend_lora.yaml | 26 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_extend_lora.yaml | 28 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_extend_lora.yaml | 30 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_extend_lora.yaml | 321 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_extend_lora.yaml | 323 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_extend_lora.yaml | 333 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_extend_lora.yaml | 335 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_extend_lora.yaml | 345 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_extend_lora.yaml | 347 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 3 | # ============================================================================= | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 54 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 56 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 107 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 109 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 133 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 135 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 170 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 172 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 193 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 195 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 206 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 208 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 304 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 306 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 365 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/ltx-trainer/configs/audio_extend_lora.yaml | 367 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 26 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 28 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 30 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 321 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 323 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 333 | # ----------------------------------------------------------------------------- | COMMENT |
| 554 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/ltx-trainer/src/ltx_trainer/gemma_8bit.py | 21 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/model_loader.py | 16 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/model_loader.py | 33 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/model_loader.py | 33 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/model_loader.py | 33 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/model_loader.py | 34 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/model_loader.py | 35 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/model_loader.py | 35 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/model_loader.py | 36 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/model_loader.py | 37 | CODE | |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 79 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/training_state.py | 1 | CODE | |
| LOW | …rainer/src/ltx_trainer/training_strategies/__init__.py | 12 | CODE | |
| LOW | …rainer/src/ltx_trainer/training_strategies/__init__.py | 12 | CODE | |
| LOW | …rainer/src/ltx_trainer/training_strategies/__init__.py | 12 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/dfr_layout.py | 3 | CODE | |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/distilled_mgpu.py | 11 | CODE | |
| LOW | …ckages/ltx-pipelines/src/ltx_pipelines/iclora_utils.py | 5 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/retake.py | 1 | CODE | |
| LOW | …-pipelines/src/ltx_pipelines/ti2vid_two_stages_mgpu.py | 10 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/__init__.py | 25 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/__init__.py | 26 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/__init__.py | 27 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/__init__.py | 28 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/__init__.py | 29 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/__init__.py | 30 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/__init__.py | 31 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/__init__.py | 32 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/__init__.py | 33 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/__init__.py | 34 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/__init__.py | 35 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/dubit.py | 3 | CODE | |
| LOW | …ckages/ltx-pipelines/src/ltx_pipelines/dfr_pipeline.py | 3 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/dfr_mgpu.py | 11 | CODE | |
| LOW | …pelines/src/ltx_pipelines/ti2vid_two_stages_hq_mgpu.py | 13 | CODE | |
| LOW | …ges/ltx-pipelines/src/ltx_pipelines/multigpu/runner.py | 7 | CODE | |
| LOW | …ltx-pipelines/src/ltx_pipelines/multigpu/controller.py | 31 | CODE | |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/multigpu/fleet.py | 9 | CODE | |
| LOW | …tx-pipelines/src/ltx_pipelines/multigpu/tdp_builder.py | 5 | CODE | |
| LOW | …s/ltx-pipelines/src/ltx_pipelines/multigpu/__init__.py | 12 | CODE | |
| LOW | …s/ltx-pipelines/src/ltx_pipelines/multigpu/__init__.py | 12 | CODE | |
| LOW | …s/ltx-pipelines/src/ltx_pipelines/multigpu/__init__.py | 12 | CODE | |
| LOW | …s/ltx-pipelines/src/ltx_pipelines/multigpu/__init__.py | 12 | CODE | |
| LOW | …s/ltx-pipelines/src/ltx_pipelines/multigpu/__init__.py | 12 | CODE | |
| LOW | …s/ltx-pipelines/src/ltx_pipelines/multigpu/__init__.py | 19 | CODE | |
| LOW | …s/ltx-pipelines/src/ltx_pipelines/multigpu/__init__.py | 20 | CODE | |
| LOW | …s/ltx-pipelines/src/ltx_pipelines/multigpu/__init__.py | 20 | CODE | |
| LOW | …pipelines/src/ltx_pipelines/multigpu/gemma_builders.py | 15 | CODE | |
| LOW | …ltx-pipelines/src/ltx_pipelines/multigpu/sp_builder.py | 6 | CODE | |
| LOW | …pelines/src/ltx_pipelines/multigpu/bp_gemma_builder.py | 22 | CODE | |
| LOW | …ltx-pipelines/src/ltx_pipelines/multigpu/_broadcast.py | 7 | CODE | |
| LOW | …tx-pipelines/src/ltx_pipelines/multigpu/nccl_groups.py | 3 | CODE | |
| LOW | …x-pipelines/src/ltx_pipelines/multigpu/vae_builders.py | 5 | CODE | |
| LOW | …lines/src/ltx_pipelines/multigpu/delegating_builder.py | 6 | CODE | |
| LOW | …pipelines/src/ltx_pipelines/multigpu/weight_tracker.py | 5 | CODE | |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/utils/__init__.py | 1 | CODE | |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/utils/__init__.py | 1 | CODE | |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/utils/__init__.py | 1 | CODE | |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/utils/__init__.py | 1 | CODE | |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/utils/__init__.py | 1 | CODE | |
| 427 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/ltx-trainer/scripts/compute_reference.py | 169 | def media_path_to_reference_path(media_file: Path) -> Path: | CODE |
| LOW | packages/ltx-trainer/scripts/process_videos.py | 308 | def _get_resolution_bucket_for_item(self, media_tensor: torch.Tensor) -> tuple[int, int, int]: | CODE |
| LOW | packages/ltx-trainer/scripts/process_videos.py | 385 | def _compute_temporal_subsample_indices(num_frames: int, factor: int) -> list[int]: | CODE |
| LOW | packages/ltx-trainer/scripts/process_videos.py | 1318 | def compute_scaled_resolution_buckets( | CODE |
| LOW | packages/ltx-trainer/scripts/process_videos.py | 1377 | def _build_sharded_dataloader( | CODE |
| LOW | packages/ltx-trainer/scripts/process_captions.py | 168 | def _load_caption_data_from_csv(self) -> dict[str, str]: | CODE |
| LOW | packages/ltx-trainer/scripts/process_captions.py | 185 | def _load_caption_data_from_json(self) -> dict[str, str]: | CODE |
| LOW | packages/ltx-trainer/scripts/process_captions.py | 206 | def _load_caption_data_from_jsonl(self) -> dict[str, str]: | CODE |
| LOW | packages/ltx-trainer/scripts/process_captions.py | 233 | def compute_captions_embeddings( # noqa: PLR0913 | CODE |
| LOW | packages/ltx-trainer/scripts/process_captions.py | 376 | def _build_sharded_dataloader( | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/config.py | 60 | def validate_exactly_one_modality(self) -> "PrefixConditionConfig": | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/config.py | 81 | def validate_exactly_one_modality(self) -> "SuffixConditionConfig": | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/config.py | 106 | def validate_exactly_one_modality(self) -> "MaskConditionConfig": | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/config.py | 123 | def validate_exactly_one_modality(self) -> "ReferenceConditionConfig": | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/config.py | 196 | def validate_frozen_modality_conflicts(self) -> "ValidationSample": | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/config.py | 310 | def _get_strategy_discriminator(v: dict | TrainingStrategyConfigBase) -> str: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/config.py | 425 | def validate_preprocessed_data_root(cls, v: str) -> str: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/config.py | 586 | def migrate_deprecated_guidance_fields(cls, data: object) -> object: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/config.py | 640 | def validate_reference_videos(cls, v: list[str] | None, info: ValidationInfo) -> list[str] | None: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/config.py | 677 | def validate_output_modality_requirements(self) -> "ValidationConfig": | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/config.py | 819 | def _validate_data_dirs_exist(self) -> None: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/config.py | 830 | def validate_strategy_compatibility(self) -> "LtxTrainerConfig": | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/gemma_8bit.py | 137 | def _suppress_accelerate_memory_warnings() -> Generator[None, None, None]: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/model_loader.py | 351 | def load_embeddings_processor( | CODE |
| LOW⚡ | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 372 | def _encode_conditioning_media(self) -> list[CachedSampleMedia]: | CODE |
| LOW⚡ | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 378 | def _cond_needs_video_encoder(cond: object) -> bool: | CODE |
| LOW⚡ | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 383 | def _cond_needs_audio_encoder(cond: object) -> bool: | CODE |
| LOW⚡ | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 688 | def _apply_video_conditionings( | CODE |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 184 | def _validate_sample_geometry(self) -> None: | CODE |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 418 | def _encode_sample_conditions( | CODE |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 520 | def _encode_temporal_condition_media( | CODE |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 733 | def _apply_audio_conditionings( | CODE |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 825 | def _apply_reference_side_by_side( | CODE |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 1089 | def _load_and_downsample_mask( | CODE |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 1217 | def _resolve_video_guider_params( | CODE |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 1239 | def _resolve_audio_guider_params( | CODE |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 1261 | def _modality_from_latent_state(state: LatentState, context: Tensor, sigma: Tensor) -> Modality: | CODE |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 1277 | def _build_stg_perturbation_config( | CODE |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 1296 | def _build_modality_perturbation_config( | CODE |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 1422 | def _concatenate_videos_side_by_side(left_video: Tensor, right_video: Tensor) -> Tensor: | CODE |
| LOW | …kages/ltx-trainer/src/ltx_trainer/timestep_samplers.py | 122 | def _get_shift_for_sequence_length( | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/trainer.py | 451 | def _collect_trainable_params(self) -> None: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/trainer.py | 619 | def _prepare_models_for_training(self) -> None: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/trainer.py | 825 | def _offloaded_optimizer_state(self) -> Iterator[None]: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/trainer.py | 1080 | def _build_checkpoint_metadata(self) -> dict[str, str]: | CODE |
| LOW | …r/src/ltx_trainer/training_strategies/base_strategy.py | 201 | def _create_per_token_timesteps(conditioning_mask: Tensor, sampled_sigma: Tensor) -> Tensor: | CODE |
| LOW | …r/src/ltx_trainer/training_strategies/base_strategy.py | 217 | def _create_first_frame_conditioning_mask( | CODE |
| LOW | …rainer/src/ltx_trainer/training_strategies/flexible.py | 166 | def validate_at_least_one_generated(self) -> "FlexibleStrategyConfig": | CODE |
| LOW | …rainer/src/ltx_trainer/training_strategies/flexible.py | 175 | def validate_audio_intrinsic_regions(self) -> "FlexibleStrategyConfig": | CODE |
| LOW | …rainer/src/ltx_trainer/training_strategies/flexible.py | 320 | def _infer_reference_scale_factors_from_config(self) -> tuple[int | None, int | None]: | CODE |
| LOW | …rainer/src/ltx_trainer/training_strategies/flexible.py | 464 | def _apply_intrinsic_condition( | CODE |
| LOW | …rainer/src/ltx_trainer/training_strategies/flexible.py | 544 | def _compute_spatial_crop_mask( | CODE |
| LOW | …rainer/src/ltx_trainer/training_strategies/flexible.py | 597 | def _apply_reference_condition( | CODE |
| LOW | …rainer/src/ltx_trainer/training_strategies/flexible.py | 704 | def _infer_temporal_scale_factor(cond_num_frames: int, target_num_frames: int) -> int: | CODE |
| LOW | …/src/ltx_trainer/training_strategies/video_to_video.py | 261 | def _infer_reference_downscale_factor( | CODE |
| LOW⚡ | …ckages/ltx-pipelines/src/ltx_pipelines/iclora_utils.py | 30 | def read_lora_reference_downscale_factor(lora_path: str) -> int: | CODE |
| LOW⚡ | …ckages/ltx-pipelines/src/ltx_pipelines/iclora_utils.py | 41 | def read_lora_reference_temporal_scale_factor(lora_path: str) -> int: | CODE |
| LOW⚡ | …ckages/ltx-pipelines/src/ltx_pipelines/iclora_utils.py | 52 | def downsample_mask_video_to_latent( | CODE |
| LOW | …ckages/ltx-pipelines/src/ltx_pipelines/iclora_utils.py | 93 | def append_ic_lora_reference_video_conditionings( # noqa: PLR0913 | CODE |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/dubit.py | 147 | def _create_stage_conditionings( | CODE |
| 227 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/ltx-trainer/configs/v2a_lora.yaml | 1 | # ============================================================================= | COMMENT |
| LOW | packages/ltx-trainer/configs/v2a_lora.yaml | 21 | # preprocessed_data_root/ | COMMENT |
| LOW | packages/ltx-trainer/configs/v2a_lora.yaml | 41 | # VAE components. Leave these out for a unified checkpoint — they default to model_path. | COMMENT |
| LOW | packages/ltx-trainer/configs/v2a_lora.yaml | 61 | rank: 32 | COMMENT |
| LOW | packages/ltx-trainer/configs/v2a_lora.yaml | 81 | # - audio_attn2.to_k, audio_attn2.to_q, audio_attn2.to_v, audio_attn2.to_out.0 (audio cross-attention to text) | COMMENT |
| LOW | packages/ltx-trainer/configs/v2a_lora.yaml | 121 | # modality-specific configuration blocks. | COMMENT |
| LOW | packages/ltx-trainer/configs/v2a_lora.yaml | 141 | latents_dir: "audio_latents" | COMMENT |
| LOW | packages/ltx-trainer/configs/v2a_lora.yaml | 181 | # Acceleration Configuration | COMMENT |
| LOW | packages/ltx-trainer/configs/v2a_lora.yaml | 201 | COMMENT | |
| LOW | packages/ltx-trainer/configs/v2a_lora.yaml | 301 | generate_audio: true | COMMENT |
| LOW | packages/ltx-trainer/configs/v2a_lora.yaml | 321 | keep_last_n: -1 | COMMENT |
| LOW | packages/ltx-trainer/configs/v2a_lora.yaml | 341 | # ----------------------------------------------------------------------------- | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_extend_lora.yaml | 1 | # ============================================================================= | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_extend_lora.yaml | 21 | # Dataset structure: | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_extend_lora.yaml | 41 | # VAE components. Leave these out for a unified checkpoint — they default to model_path. | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_extend_lora.yaml | 61 | rank: 32 | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_extend_lora.yaml | 81 | # - audio_attn2.to_k, audio_attn2.to_q, audio_attn2.to_v, audio_attn2.to_out.0 (audio cross-attention to text) | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_extend_lora.yaml | 121 | latents_dir: "audio_latents" | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_extend_lora.yaml | 161 | scheduler_type: "linear" | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_extend_lora.yaml | 181 | quantization: null | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_extend_lora.yaml | 301 | # Skip validation at the beginning of training (step 0) | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_extend_lora.yaml | 321 | # ----------------------------------------------------------------------------- | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 1 | # ============================================================================= | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 21 | # Dataset structure: | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 41 | # VAE components. Leave these out for a unified checkpoint — they default to model_path. | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 61 | rank: 32 | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 81 | # - audio_attn2.to_k, audio_attn2.to_q, audio_attn2.to_v, audio_attn2.to_out.0 (audio cross-attention to text) | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 121 | latents_dir: "audio_latents" | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 161 | scheduler_type: "linear" | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 181 | quantization: null | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 301 | # Skip validation at the beginning of training (step 0) | COMMENT |
| LOW | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 321 | # ----------------------------------------------------------------------------- | COMMENT |
| LOW | packages/ltx-trainer/configs/a2v_lora.yaml | 1 | # ============================================================================= | COMMENT |
| LOW | packages/ltx-trainer/configs/a2v_lora.yaml | 21 | # ├── latents/ # Video latents (VAE-encoded videos) | COMMENT |
| LOW | packages/ltx-trainer/configs/a2v_lora.yaml | 41 | # A split pack's transformer carries no VAE weights, so there they are required: | COMMENT |
| LOW | packages/ltx-trainer/configs/a2v_lora.yaml | 61 | COMMENT | |
| LOW | packages/ltx-trainer/configs/a2v_lora.yaml | 81 | # - audio_ff.net.0.proj, audio_ff.net.2 (audio feed-forward) | COMMENT |
| LOW | packages/ltx-trainer/configs/a2v_lora.yaml | 101 | # - "audio_ff.net.2" | COMMENT |
| LOW | packages/ltx-trainer/configs/a2v_lora.yaml | 121 | latents_dir: "latents" | COMMENT |
| LOW | packages/ltx-trainer/configs/a2v_lora.yaml | 161 | # Options: "constant", "linear", "cosine", "cosine_with_restarts", "polynomial" | COMMENT |
| LOW | packages/ltx-trainer/configs/a2v_lora.yaml | 181 | # Options: null (none), "int8-quanto", "int4-quanto", "int2-quanto", "fp8-quanto", "fp8uz-quanto" | COMMENT |
| LOW | packages/ltx-trainer/configs/a2v_lora.yaml | 201 | preprocessed_data_root: "/path/to/preprocessed/data" | COMMENT |
| LOW | packages/ltx-trainer/configs/a2v_lora.yaml | 301 | COMMENT | |
| LOW | packages/ltx-trainer/configs/a2v_lora.yaml | 321 | COMMENT | |
| LOW | packages/ltx-trainer/configs/t2v_lora.yaml | 1 | # ============================================================================= | COMMENT |
| LOW | packages/ltx-trainer/configs/t2v_lora.yaml | 21 | # ----------------------------------------------------------------------------- | COMMENT |
| LOW | packages/ltx-trainer/configs/t2v_lora.yaml | 41 | training_mode: "lora" | COMMENT |
| LOW | packages/ltx-trainer/configs/t2v_lora.yaml | 61 | # Can help with regularization if overfitting occurs | COMMENT |
| LOW | packages/ltx-trainer/configs/t2v_lora.yaml | 81 | # (Q from audio, K/V from video - allows audio to attend to video features) | COMMENT |
| LOW | packages/ltx-trainer/configs/t2v_lora.yaml | 101 | # This configuration trains both video and audio generation from text prompts. | COMMENT |
| LOW | packages/ltx-trainer/configs/t2v_lora.yaml | 121 | # Directory name (within preprocessed_data_root) containing audio latents | COMMENT |
| LOW | packages/ltx-trainer/configs/t2v_lora.yaml | 161 | # ----------------------------------------------------------------------------- | COMMENT |
| LOW | packages/ltx-trainer/configs/t2v_lora.yaml | 181 | offload_optimizer_during_validation: false | COMMENT |
| LOW | packages/ltx-trainer/configs/t2v_lora.yaml | 281 | # Independent of training_strategy.audio.is_generated - you can generate audio | COMMENT |
| LOW | packages/ltx-trainer/configs/t2v_lora.yaml | 301 | # Precision to use when saving checkpoint weights | COMMENT |
| LOW | packages/ltx-trainer/configs/v2v_ic_lora.yaml | 1 | # ============================================================================= | COMMENT |
| LOW | packages/ltx-trainer/configs/v2v_ic_lora.yaml | 21 | # Dataset metadata columns: video, reference_video, caption | COMMENT |
| LOW | packages/ltx-trainer/configs/v2v_ic_lora.yaml | 41 | # audio_vae_path: "path/to/vae/ltx-2.5-audio-vae-bf16.safetensors" | COMMENT |
| LOW | packages/ltx-trainer/configs/v2v_ic_lora.yaml | 61 | # The effective scaling is alpha/rank, so alpha=rank means scaling of 1.0 | COMMENT |
| LOW | packages/ltx-trainer/configs/v2v_ic_lora.yaml | 81 | # AUDIO-VIDEO CROSS-ATTENTION MODULES (for cross-modal interaction, not used for video-only IC-LoRA): | COMMENT |
| 135 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/ltx-trainer/src/ltx_trainer/trainer.py | 470 | def _setup_lora(self) -> None: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/trainer.py | 777 | def _setup_accelerator(self) -> None: | CODE |
| LOW | …rainer/src/ltx_trainer/training_strategies/__init__.py | 25 | __all__ = [ | CODE |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/distilled_mgpu.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW | …-pipelines/src/ltx_pipelines/ti2vid_two_stages_mgpu.py | 43 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/__init__.py | 52 | __all__ = [ | CODE |
| LOW | …ckages/ltx-pipelines/src/ltx_pipelines/dfr_pipeline.py | 84 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | packages/ltx-pipelines/src/ltx_pipelines/hdr_ic_lora.py | 74 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/dfr_mgpu.py | 46 | logger = logging.getLogger(__name__) | CODE |
| LOW | …pelines/src/ltx_pipelines/ti2vid_two_stages_hq_mgpu.py | 45 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ges/ltx-pipelines/src/ltx_pipelines/a2vid_two_stage.py | 55 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …ltx-pipelines/src/ltx_pipelines/multigpu/controller.py | 48 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …ages/ltx-pipelines/src/ltx_pipelines/multigpu/fleet.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | …s/ltx-pipelines/src/ltx_pipelines/multigpu/__init__.py | 22 | __all__ = [ | CODE |
| LOW | …pipelines/src/ltx_pipelines/multigpu/gemma_builders.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | …pelines/src/ltx_pipelines/multigpu/bp_gemma_builder.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/utils/__init__.py | 31 | __all__ = [ | CODE |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/utils/args.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ckages/ltx-pipelines/src/ltx_pipelines/utils/blocks.py | 119 | logger = logging.getLogger(__name__) | CODE |
| LOW | …kages/ltx-pipelines/src/ltx_pipelines/utils/helpers.py | 54 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/utils/samplers.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | …x-pipelines/src/ltx_pipelines/utils/media_io/encode.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/ltx-pipelines/src/ltx_pipelines/utils/media_io/exr.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | …pipelines/src/ltx_pipelines/utils/media_io/__init__.py | 42 | __all__ = [ | CODE |
| LOW | …x-pipelines/src/ltx_pipelines/utils/media_io/decode.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ltx-core/src/ltx_core/modality_tiling.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ltx-core/src/ltx_core/hdr.py | 20 | __all__ = [ | CODE |
| LOW | packages/ltx-core/src/ltx_core/devices.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ltx-core/src/ltx_core/multigpu/__init__.py | 11 | __all__ = ["DimensionTilingConfig", "ShardedSD", "TileCountConfig", "transformer", "vae"] | CODE |
| LOW | …kages/ltx-core/src/ltx_core/multigpu/gemma/__init__.py | 6 | __all__ = ["AccelerateGemmaWrapper", "load_gemma_with_device_map"] | CODE |
| LOW | packages/ltx-core/src/ltx_core/multigpu/gemma/loader.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | …tx-core/src/ltx_core/multigpu/transformer/attention.py | 62 | def set_seqlen_all2all(self, seqlens: list[int]) -> None: | CODE |
| LOW | …ltx-core/src/ltx_core/multigpu/transformer/__init__.py | 11 | __all__ = [ | CODE |
| LOW | …-core/src/ltx_core/multigpu/vae/distributed_decoder.py | 45 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ltx-core/src/ltx_core/multigpu/vae/__init__.py | 5 | __all__ = ["DistributedVideoDecoder"] | CODE |
| LOW | …/ltx-core/src/ltx_core/text_encoders/gemma/__init__.py | 30 | __all__ = [ | CODE |
| LOW | …-core/src/ltx_core/text_encoders/gemma/gemma_assets.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | …e/text_encoders/gemma/encoders/encoder_configurator.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ltx-core/src/ltx_core/guidance/__init__.py | 10 | __all__ = [ | CODE |
| LOW | packages/ltx-core/src/ltx_core/color/__init__.py | 36 | __all__ = [ | CODE |
| LOW | packages/ltx-core/src/ltx_core/color/hlg.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ltx-core/src/ltx_core/conditioning/__init__.py | 15 | __all__ = [ | CODE |
| LOW | …s/ltx-core/src/ltx_core/conditioning/types/__init__.py | 11 | __all__ = [ | CODE |
| LOW | packages/ltx-core/src/ltx_core/quantization/__init__.py | 10 | __all__ = [ | CODE |
| LOW | …x-core/src/ltx_core/quantization/blockwise/__init__.py | 11 | __all__ = ["build_fp6_policy", "build_fp8_policy"] | CODE |
| LOW | …s/ltx-core/src/ltx_core/quantization/nvfp4/__init__.py | 13 | __all__ = [ | CODE |
| LOW | packages/ltx-core/src/ltx_core/loader/__init__.py | 38 | __all__ = [ | CODE |
| LOW | …ltx-core/src/ltx_core/block_streaming/block_fetcher.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ages/ltx-core/src/ltx_core/block_streaming/__init__.py | 16 | __all__ = [ | CODE |
| LOW | …kages/ltx-core/src/ltx_core/block_streaming/builder.py | 49 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ltx-core/src/ltx_core/model/__init__.py | 6 | __all__ = [ | CODE |
| LOW | …es/ltx-core/src/ltx_core/model/transformer/__init__.py | 13 | __all__ = [ | CODE |
| LOW | …kages/ltx-core/src/ltx_core/model/transformer/model.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | …kages/ltx-core/src/ltx_core/model/transformer/model.py | 420 | def set_gradient_checkpointing(self, enable: bool) -> None: | CODE |
| LOW | …ages/ltx-core/src/ltx_core/model/upsampler/__init__.py | 6 | __all__ = [ | CODE |
| LOW | packages/ltx-core/src/ltx_core/model/common/__init__.py | 5 | __all__ = [ | CODE |
| LOW | …ages/ltx-core/src/ltx_core/model/audio_vae/__init__.py | 15 | __all__ = [ | CODE |
| LOW | …ges/ltx-core/src/ltx_core/model/video_vae/video_vae.py | 678 | __all__ = [ | STRING |
| LOW | …ages/ltx-core/src/ltx_core/model/video_vae/__init__.py | 31 | __all__ = [ | CODE |
| LOW | …ltx-core/src/ltx_core/model/video_vae/normalization.py | 3 | __all__ = ["PixelNorm", "build_normalization_layer"] | CODE |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/ltx-trainer/scripts/split_scenes.py | 153 | CODE | |
| LOW | packages/ltx-trainer/scripts/split_scenes.py | 310 | CODE | |
| LOW | packages/ltx-trainer/scripts/caption_videos.py | 352 | CODE | |
| LOW | packages/ltx-trainer/scripts/process_videos.py | 396 | CODE | |
| LOW | packages/ltx-trainer/scripts/process_videos.py | 837 | CODE | |
| LOW | packages/ltx-trainer/scripts/process_videos.py | 1400 | CODE | |
| LOW | packages/ltx-trainer/scripts/process_dataset.py | 55 | CODE | |
| LOW | packages/ltx-trainer/scripts/process_dataset.py | 315 | CODE | |
| LOW | packages/ltx-trainer/scripts/decode_latents.py | 313 | CODE | |
| LOW | packages/ltx-trainer/scripts/process_captions.py | 233 | CODE | |
| LOW | packages/ltx-trainer/scripts/process_captions.py | 399 | CODE | |
| LOW | packages/ltx-trainer/scripts/serve_captioner.py | 99 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/datasets.py | 18 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/model_loader.py | 408 | CODE | |
| LOW | …-pipelines/src/ltx_pipelines/keyframe_interpolation.py | 64 | CODE | |
| LOW | …-pipelines/src/ltx_pipelines/keyframe_interpolation.py | 146 | CODE | |
| LOW | …es/ltx-pipelines/src/ltx_pipelines/ti2vid_one_stage.py | 68 | CODE | |
| LOW | …es/ltx-pipelines/src/ltx_pipelines/ti2vid_one_stage.py | 134 | CODE | |
| LOW | …tx-pipelines/src/ltx_pipelines/ti2vid_two_stages_hq.py | 71 | CODE | |
| LOW | …tx-pipelines/src/ltx_pipelines/ti2vid_two_stages_hq.py | 174 | CODE | |
| LOW | …s/ltx-pipelines/src/ltx_pipelines/ti2vid_two_stages.py | 70 | CODE | |
| LOW | …s/ltx-pipelines/src/ltx_pipelines/ti2vid_two_stages.py | 159 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/retake.py | 77 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/retake.py | 150 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/ic_lora.py | 70 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/ic_lora.py | 174 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/dubit.py | 69 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/dubit.py | 193 | CODE | |
| LOW | …ckages/ltx-pipelines/src/ltx_pipelines/dfr_pipeline.py | 403 | CODE | |
| LOW | …ckages/ltx-pipelines/src/ltx_pipelines/dfr_pipeline.py | 526 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/distilled.py | 94 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/distilled.py | 187 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/hdr_ic_lora.py | 225 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/dfr_mgpu.py | 133 | CODE | |
| LOW | …ges/ltx-pipelines/src/ltx_pipelines/a2vid_two_stage.py | 69 | CODE | |
| LOW | …ges/ltx-pipelines/src/ltx_pipelines/a2vid_two_stage.py | 151 | CODE | |
| LOW | …ckages/ltx-pipelines/src/ltx_pipelines/utils/blocks.py | 298 | CODE | |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/utils/samplers.py | 208 | CODE | |
| LOW | …tx-core/src/ltx_core/multigpu/transformer/attention.py | 96 | CODE | |
| LOW | …c/ltx_core/text_encoders/gemma/embeddings_connector.py | 95 | CODE | |
| LOW | packages/ltx-core/src/ltx_core/color/hlg.py | 241 | CODE | |
| LOW | …kages/ltx-core/src/ltx_core/block_streaming/builder.py | 84 | CODE | |
| LOW | …s/ltx-core/src/ltx_core/model/transformer/attention.py | 102 | CODE | |
| LOW | …s/ltx-core/src/ltx_core/model/transformer/attention.py | 147 | CODE | |
| LOW | …s/ltx-core/src/ltx_core/model/transformer/attention.py | 172 | CODE | |
| LOW | …s/ltx-core/src/ltx_core/model/transformer/attention.py | 197 | CODE | |
| LOW | …kages/ltx-core/src/ltx_core/model/transformer/model.py | 48 | CODE | |
| LOW | …ckages/ltx-core/src/ltx_core/model/transformer/rope.py | 40 | CODE | |
| LOW | packages/ltx-core/src/ltx_core/model/upsampler/model.py | 25 | CODE | |
| LOW | …kages/ltx-core/src/ltx_core/model/audio_vae/vocoder.py | 317 | CODE | |
| LOW | …ges/ltx-core/src/ltx_core/model/audio_vae/audio_vae.py | 67 | CODE | |
| LOW | …ges/ltx-core/src/ltx_core/model/audio_vae/audio_vae.py | 284 | CODE | |
| LOW | …s/ltx-core/src/ltx_core/model/video_vae/convolution.py | 11 | CODE | |
| LOW | …ore/src/ltx_core/model/video_vae/conv_video_decoder.py | 179 | CODE | |
| LOW | …ges/ltx-core/src/ltx_core/model/video_vae/video_vae.py | 182 | CODE | |
| LOW | …rc/ltx_core/model/video_vae/diffusion_video_decoder.py | 89 | CODE | |
| LOW | …ckages/ltx-core/src/ltx_core/model/video_vae/resnet.py | 24 | CODE | |
| LOW | …ckages/ltx-core/src/ltx_core/model/video_vae/resnet.py | 210 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 2060 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/ltx-trainer/scripts/compute_reference.py | 142 | CODE | |
| LOW | packages/ltx-trainer/scripts/caption_videos.py | 77 | CODE | |
| LOW | packages/ltx-trainer/scripts/caption_videos.py | 284 | CODE | |
| LOW | packages/ltx-trainer/scripts/process_videos.py | 396 | CODE | |
| LOW | packages/ltx-trainer/scripts/process_videos.py | 840 | CODE | |
| LOW | packages/ltx-trainer/scripts/process_videos.py | 1084 | CODE | |
| LOW | packages/ltx-trainer/scripts/process_captions.py | 233 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/hf_hub_utils.py | 15 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/hf_hub_utils.py | 113 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/quantization.py | 171 | CODE | |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 418 | CODE | |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 688 | CODE | |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 733 | CODE | |
| LOW | …kages/ltx-trainer/src/ltx_trainer/validation_runner.py | 825 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/trainer.py | 134 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/trainer.py | 724 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/trainer.py | 825 | CODE | |
| LOW | …rainer/src/ltx_trainer/training_strategies/flexible.py | 187 | CODE | |
| LOW | …rainer/src/ltx_trainer/training_strategies/flexible.py | 464 | CODE | |
| LOW | …ckages/ltx-pipelines/src/ltx_pipelines/dfr_pipeline.py | 526 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/utils/args.py | 384 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/utils/args.py | 202 | CODE | |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/utils/samplers.py | 208 | CODE | |
| LOW | …x-pipelines/src/ltx_pipelines/utils/media_io/encode.py | 32 | CODE | |
| LOW | …x-pipelines/src/ltx_pipelines/utils/media_io/encode.py | 252 | CODE | |
| LOW | …x-pipelines/src/ltx_pipelines/utils/media_io/encode.py | 69 | CODE | |
| LOW | …x-pipelines/src/ltx_pipelines/utils/media_io/encode.py | 268 | CODE | |
| LOW | …x-pipelines/src/ltx_pipelines/utils/media_io/decode.py | 139 | CODE | |
| LOW | …x-pipelines/src/ltx_pipelines/utils/media_io/decode.py | 306 | CODE | |
| LOW | packages/ltx-core/src/ltx_core/multigpu/sharded_sd.py | 123 | CODE | |
| LOW | packages/ltx-core/src/ltx_core/multigpu/gemma/loader.py | 70 | CODE | |
| LOW | …-core/src/ltx_core/text_encoders/gemma/gemma_assets.py | 253 | CODE | |
| LOW | packages/ltx-core/src/ltx_core/loader/sft_loader.py | 20 | CODE | |
| LOW | packages/ltx-core/src/ltx_core/block_streaming/disk.py | 88 | CODE | |
| LOW | …kages/ltx-core/src/ltx_core/block_streaming/builder.py | 471 | CODE | |
| LOW | …ore/src/ltx_core/model/video_vae/model_configurator.py | 519 | CODE | |
| LOW | …ore/src/ltx_core/model/video_vae/conv_video_decoder.py | 64 | CODE | |
| LOW | …ore/src/ltx_core/model/video_vae/conv_video_decoder.py | 386 | CODE | |
| LOW | …ges/ltx-core/src/ltx_core/model/video_vae/video_vae.py | 41 | CODE | |
| LOW | …rc/ltx_core/model/video_vae/diffusion_video_decoder.py | 1004 | CODE | |
| LOW | …rc/ltx_core/model/video_vae/diffusion_video_decoder.py | 1345 | CODE | |
| LOW | …rc/ltx_core/model/video_vae/memory_efficient_decode.py | 541 | CODE | |
| LOW | …-core/src/ltx_core/model/video_vae/diffusion_tiling.py | 261 | CODE | |
| LOW | …e/model/video_vae/transformer/fallback_na/triton_na.py | 21 | CODE | |
| LOW | …model/video_vae/transformer/fallback_na/joint_eager.py | 428 | CODE | |
| LOW | packages/ltx-kernels/setup.py | 153 | CODE | |
| LOW | packages/ltx-kernels/setup.py | 194 | CODE | |
| LOW | packages/ltx-kernels/src/ltx_kernels/vae/na_attn_dsl.py | 90 | CODE | |
| LOW | packages/ltx-kernels/src/ltx_kernels/vae/na_attn_dsl.py | 115 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 396 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 1081 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 1315 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 1521 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 1599 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 1658 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 1685 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 1703 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 2721 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/fna_attn_core.py | 314 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/fna_attn_core.py | 594 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/ltx-trainer/scripts/compute_reference.py | 103 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/scripts/compute_reference.py | 228 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/scripts/split_scenes.py | 283 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/scripts/caption_videos.py | 179 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/scripts/caption_videos.py | 346 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/scripts/process_videos.py | 247 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/scripts/process_videos.py | 1261 | except Exception: | CODE |
| LOW | packages/ltx-trainer/scripts/train.py | 54 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/scripts/decode_latents.py | 137 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/scripts/decode_latents.py | 186 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/hf_hub_utils.py | 41 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/hf_hub_utils.py | 80 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/hf_hub_utils.py | 109 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/hf_hub_utils.py | 173 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/datasets.py | 274 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/captioning.py | 274 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/captioning.py | 376 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/trainer.py | 586 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/trainer.py | 603 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/trainer.py | 1047 | except Exception: | CODE |
| LOW⚡ | …ckages/ltx-pipelines/src/ltx_pipelines/iclora_utils.py | 36 | except Exception as e: | CODE |
| LOW⚡ | …ckages/ltx-pipelines/src/ltx_pipelines/iclora_utils.py | 47 | except Exception as e: | CODE |
| LOW | …ltx-pipelines/src/ltx_pipelines/multigpu/controller.py | 262 | except Exception: | CODE |
| LOW | …ltx-pipelines/src/ltx_pipelines/multigpu/controller.py | 355 | except Exception: | CODE |
| LOW | …ges/ltx-pipelines/src/ltx_pipelines/utils/constants.py | 152 | except Exception: | CODE |
| LOW | …x-pipelines/src/ltx_pipelines/utils/media_io/encode.py | 281 | except Exception as e: | CODE |
| LOW | …x-pipelines/src/ltx_pipelines/utils/media_io/encode.py | 287 | except Exception as e: | CODE |
| LOW | packages/ltx-core/src/ltx_core/devices.py | 149 | except Exception: | CODE |
| LOW | packages/ltx-core/src/ltx_core/color/hlg.py | 198 | except Exception as e: | CODE |
| LOW | packages/ltx-core/src/ltx_core/color/hlg.py | 206 | except Exception as e: | CODE |
| LOW | packages/ltx-core/src/ltx_core/color/hlg.py | 301 | except Exception: | CODE |
| LOW | …ltx-core/src/ltx_core/block_streaming/block_fetcher.py | 80 | except Exception as exc: | CODE |
| LOW | …s/ltx-core/src/ltx_core/model/transformer/attention.py | 42 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ges/ltx-pipelines/src/ltx_pipelines/utils/denoisers.py | 22 | from ltx_pipelines.utils.helpers import modality_from_latent_state | CODE |
| CRITICAL | …ges/ltx-pipelines/src/ltx_pipelines/utils/gpu_model.py | 8 | from ltx_pipelines.utils.helpers import cleanup_memory | CODE |
| CRITICAL | …ages/ltx-pipelines/src/ltx_pipelines/utils/samplers.py | 18 | from ltx_pipelines.utils.helpers import post_process_latent, timesteps_from_mask | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/ltx-trainer/docs/custom-training-strategies.md | 58 | ### Step 1: Plan Your Strategy | COMMENT |
| LOW | packages/ltx-trainer/docs/custom-training-strategies.md | 74 | ### Step 2: Extend Data Preprocessing (If Needed) | COMMENT |
| LOW | packages/ltx-trainer/docs/custom-training-strategies.md | 130 | ### Step 3: Create the Strategy Configuration | COMMENT |
| LOW | packages/ltx-trainer/docs/custom-training-strategies.md | 198 | ### Step 4: Implement the Strategy Class | COMMENT |
| LOW | packages/ltx-trainer/docs/custom-training-strategies.md | 324 | ### Step 5: Register the Strategy | COMMENT |
| LOW | packages/ltx-trainer/docs/custom-training-strategies.md | 369 | ### Step 6: Create a Configuration File | COMMENT |
| LOW⚡ | …rainer/src/ltx_trainer/training_strategies/flexible.py | 361 | # Step 1: Load and patchify latents | COMMENT |
| LOW⚡ | …rainer/src/ltx_trainer/training_strategies/flexible.py | 369 | # Step 2: Get text embeddings | COMMENT |
| LOW⚡ | …rainer/src/ltx_trainer/training_strategies/flexible.py | 374 | # Step 3: Initialize noise, timesteps, and loss mask based on is_generated flag | COMMENT |
| LOW | …rainer/src/ltx_trainer/training_strategies/flexible.py | 387 | # Step 4: Generate positions | COMMENT |
| LOW | …rainer/src/ltx_trainer/training_strategies/flexible.py | 404 | # Step 5: Apply conditions (intrinsic first, then extrinsic) | COMMENT |
| LOW | …rainer/src/ltx_trainer/training_strategies/flexible.py | 431 | # Step 6: Build Modality | COMMENT |
| LOW⚡ | …ges/ltx-core/src/ltx_core/model/audio_vae/audio_vae.py | 448 | # Step 1: Crop first to avoid exceeding target dimensions | COMMENT |
| LOW⚡ | …ges/ltx-core/src/ltx_core/model/audio_vae/audio_vae.py | 453 | # Step 2: Calculate padding needed for time and frequency dimensions | COMMENT |
| LOW⚡ | …ges/ltx-core/src/ltx_core/model/audio_vae/audio_vae.py | 457 | # Step 3: Apply padding if needed | COMMENT |
| LOW | …ges/ltx-core/src/ltx_core/model/audio_vae/audio_vae.py | 469 | # Step 4: Final safety crop to ensure exact target shape | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/ltx-trainer/src/ltx_trainer/gemma_8bit.py | 61 | Quantize a built text encoder's Gemma backbone to 8-bit and move it to ``device``. Args: text_encoder: Encod | STRING |
| HIGH | …kages/ltx-trainer/src/ltx_trainer/timestep_samplers.py | 105 | Sample timesteps for a specific batch tensor. Args: batch: Input tensor of shape (batch_size, seq_le | STRING |
| HIGH | …rainer/src/ltx_trainer/training_strategies/__init__.py | 42 | Factory function to create the appropriate training strategy. The strategy is determined by the `name` field in the | STRING |
| HIGH | …x-pipelines/src/ltx_pipelines/utils/media_io/encode.py | 42 | Stream a VAE decode to half EXR frames plus a BT.2020/HLG master. One pass over ``chunks`` feeds two independent sin | STRING |
| HIGH | …x-pipelines/src/ltx_pipelines/utils/media_io/encode.py | 133 | Encode RGB frames to video; SDR H.264 or HDR EXR+HLG when ``color_space`` is set. Args: video: RGB frames as | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …rainer/src/ltx_trainer/training_strategies/flexible.py | 361 | # Step 1: Load and patchify latents | COMMENT |
| LOW⚡ | …rainer/src/ltx_trainer/training_strategies/flexible.py | 369 | # Step 2: Get text embeddings | COMMENT |
| LOW⚡ | …rainer/src/ltx_trainer/training_strategies/flexible.py | 374 | # Step 3: Initialize noise, timesteps, and loss mask based on is_generated flag | COMMENT |
| LOW | …rainer/src/ltx_trainer/training_strategies/flexible.py | 387 | # Step 4: Generate positions | COMMENT |
| LOW | …rainer/src/ltx_trainer/training_strategies/flexible.py | 404 | # Step 5: Apply conditions (intrinsic first, then extrinsic) | COMMENT |
| LOW | …rainer/src/ltx_trainer/training_strategies/flexible.py | 431 | # Step 6: Build Modality | COMMENT |
| LOW⚡ | …ges/ltx-core/src/ltx_core/model/audio_vae/audio_vae.py | 448 | # Step 1: Crop first to avoid exceeding target dimensions | COMMENT |
| LOW⚡ | …ges/ltx-core/src/ltx_core/model/audio_vae/audio_vae.py | 453 | # Step 2: Calculate padding needed for time and frequency dimensions | COMMENT |
| LOW⚡ | …ges/ltx-core/src/ltx_core/model/audio_vae/audio_vae.py | 457 | # Step 3: Apply padding if needed | COMMENT |
| LOW | …ges/ltx-core/src/ltx_core/model/audio_vae/audio_vae.py | 469 | # Step 4: Final safety crop to ensure exact target shape | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_extend_lora.yaml | 19 | # - Create seamless audio extension models | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/audio_suffix_lora.yaml | 19 | # - Create seamless audio extension models | COMMENT |
| MEDIUM⚡ | packages/ltx-trainer/configs/video_extend_lora.yaml | 17 | # - Create seamless video extension models with optional audio | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/ltx-trainer/src/ltx_trainer/hf_hub_utils.py | 45 | # Create a single temporary directory for all files | COMMENT |
| MEDIUM | …ckages/ltx-core/src/ltx_core/components/patchifiers.py | 108 | # Create a tensor containing the size of a single patch: | COMMENT |
| MEDIUM | …s/ltx-core/src/ltx_core/model/video_vae/convolution.py | 124 | # Define the size of the channels after the first convolution | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/ltx-trainer/AGENTS.md | 58 | │ ├── trainer.py # Main training orchestration with Accelerate | CODE |
| MEDIUM | packages/ltx-trainer/CLAUDE.md | 58 | │ ├── trainer.py # Main training orchestration with Accelerate | CODE |
| MEDIUM | packages/ltx-trainer/scripts/caption_videos.py | 25 | # Enable Qwen3 chain-of-thought (slower, more detail) | STRING |
| MEDIUM | packages/ltx-trainer/src/ltx_trainer/captioning.py | 400 | # Thinking models (e.g. Qwen3-Omni-*-Thinking) emit the reasoning trace | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/ltx-trainer/configs/v2v_ic_lora.yaml | 234 | # Set these to match --reference-downscale-factor / --reference-temporal-scale-factor | COMMENT |
| LOW | packages/ltx-trainer/configs/v2v_ic_lora.yaml | 249 | # Set these to match --reference-downscale-factor / --reference-temporal-scale-factor | COMMENT |
| LOW | packages/ltx-trainer/scripts/decode_latents.py | 152 | # Check if audio VAE is loaded | COMMENT |
| LOW | packages/ltx-trainer/scripts/decode_latents.py | 205 | # Check if latents need reshaping (old patchified format) | COMMENT |
| LOW | packages/ltx-trainer/src/ltx_trainer/quantization.py | 89 | # Check if model has transformer_blocks for block-by-block quantization | COMMENT |
| LOW | packages/ltx-trainer/src/ltx_trainer/datasets.py | 289 | # Check if latents are in legacy patchified format [seq_len, C] | COMMENT |
| LOW | …ore/src/ltx_core/model/video_vae/conv_video_decoder.py | 447 | # Check if current temporal slice overlaps with previous temporal slice | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …rc/ltx_core/model/video_vae/memory_efficient_decode.py | 337 | interior.mul_(1 + scale2).add_(shift2) # type: ignore[possibly-undefined] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/ltx-trainer/src/ltx_trainer/gpu_utils.py | 33 | def my_function(): | STRING |