Official Python inference and LoRA trainer package for the LTX-2 audio–video generative model.
This report summarizes scanner evidence for Lightricks/LTX-2, a Python project with 9,648 GitHub stars. SynthScan examined 93,263 lines of code across 425 source files, recording 1982 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 35.3 (High pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 690 finding(s).
Are imports declared and package/API names verified? 560 finding(s).
Are wrappers, guards, and repeated structures necessary? 1117 finding(s).
Which changes need focused human review? 1982 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1982 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| 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 |
| 542 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 | …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_stages.py | 12 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/hdr_ic_lora.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 | |
| 488 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_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/process_videos.py | 308 | def _get_resolution_bucket_for_item(self, media_tensor: torch.Tensor) -> tuple[int, int, int]: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/process_videos.py | 385 | def _compute_temporal_subsample_indices(num_frames: int, factor: int) -> list[int]: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/process_videos.py | 1318 | def compute_scaled_resolution_buckets( | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/process_videos.py | 1377 | def _build_sharded_dataloader( | 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 | 32 | def read_lora_reference_downscale_factor(lora_path: str) -> int: | CODE |
| LOW⚡ | …ckages/ltx-pipelines/src/ltx_pipelines/iclora_utils.py | 43 | def read_lora_reference_temporal_scale_factor(lora_path: str) -> int: | CODE |
| LOW⚡ | …ckages/ltx-pipelines/src/ltx_pipelines/iclora_utils.py | 54 | def downsample_mask_video_to_latent( | CODE |
| LOW | …ckages/ltx-pipelines/src/ltx_pipelines/iclora_utils.py | 95 | def _reference_prefix_latent_frames( | CODE |
| LOW | …ckages/ltx-pipelines/src/ltx_pipelines/iclora_utils.py | 109 | def append_ic_lora_reference_video_conditionings( # noqa: PLR0912, PLR0913 | CODE |
| 260 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 | packages/ltx-pipelines/src/ltx_pipelines/alpha_gen.py | 58 | 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 | packages/ltx-pipelines/src/ltx_pipelines/dubit.py | 84 | __all__ = ["DubItPipeline", "main", "patchify_dubit_audio_reference_latent"] | CODE |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/dfr_stages.py | 59 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/hdr_ic_lora.py | 54 | 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 | 80 | 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 | 40 | __all__ = [ | CODE |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/utils/args.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ckages/ltx-pipelines/src/ltx_pipelines/utils/blocks.py | 123 | logger = logging.getLogger(__name__) | CODE |
| LOW | …kages/ltx-pipelines/src/ltx_pipelines/utils/helpers.py | 60 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/utils/samplers.py | 23 | 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 | 46 | __all__ = [ | CODE |
| LOW | …x-pipelines/src/ltx_pipelines/utils/media_io/decode.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/chunks/planner.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | …kages/ltx-pipelines/src/ltx_pipelines/chunks/layout.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ges/ltx-pipelines/src/ltx_pipelines/chunks/__init__.py | 33 | __all__ = [ | CODE |
| LOW | …kages/ltx-pipelines/src/ltx_pipelines/chunks/export.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ges/ltx-pipelines/src/ltx_pipelines/dfr_helpers/ops.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ltx-core/src/ltx_core/modality_tiling.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ltx-core/src/ltx_core/hdr.py | 14 | __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 | …ltx-core/src/ltx_core/multigpu/transformer/__init__.py | 11 | __all__ = [ | CODE |
| LOW | …-core/src/ltx_core/multigpu/vae/distributed_decoder.py | 50 | 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 | 16 | __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 | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | …kages/ltx-core/src/ltx_core/model/transformer/model.py | 416 | def set_gradient_checkpointing(self, enable: bool) -> None: | CODE |
| 27 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_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/process_videos.py | 396 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/process_videos.py | 837 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/process_videos.py | 1400 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/model_loader.py | 408 | CODE | |
| LOW | …-pipelines/src/ltx_pipelines/keyframe_interpolation.py | 70 | CODE | |
| LOW | …-pipelines/src/ltx_pipelines/keyframe_interpolation.py | 152 | CODE | |
| LOW | …es/ltx-pipelines/src/ltx_pipelines/ti2vid_one_stage.py | 77 | CODE | |
| LOW | …es/ltx-pipelines/src/ltx_pipelines/ti2vid_one_stage.py | 143 | CODE | |
| LOW | …tx-pipelines/src/ltx_pipelines/ti2vid_two_stages_hq.py | 82 | CODE | |
| LOW | …tx-pipelines/src/ltx_pipelines/ti2vid_two_stages_hq.py | 185 | CODE | |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/distilled_mgpu.py | 143 | CODE | |
| LOW | …s/ltx-pipelines/src/ltx_pipelines/ti2vid_two_stages.py | 115 | CODE | |
| LOW | …s/ltx-pipelines/src/ltx_pipelines/ti2vid_two_stages.py | 312 | CODE | |
| LOW | …s/ltx-pipelines/src/ltx_pipelines/ti2vid_two_stages.py | 366 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/retake.py | 78 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/retake.py | 151 | CODE | |
| LOW | …-pipelines/src/ltx_pipelines/ti2vid_two_stages_mgpu.py | 163 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/ic_lora.py | 296 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/ic_lora.py | 583 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/ic_lora.py | 669 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/dubit.py | 114 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/dubit.py | 318 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/dubit.py | 359 | CODE | |
| LOW | …ckages/ltx-pipelines/src/ltx_pipelines/dfr_pipeline.py | 113 | CODE | |
| LOW | …ckages/ltx-pipelines/src/ltx_pipelines/dfr_pipeline.py | 244 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/distilled.py | 166 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/distilled.py | 357 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/distilled.py | 403 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/dfr_mgpu.py | 133 | CODE | |
| LOW | …ges/ltx-pipelines/src/ltx_pipelines/a2vid_two_stage.py | 117 | CODE | |
| LOW | …ges/ltx-pipelines/src/ltx_pipelines/a2vid_two_stage.py | 323 | CODE | |
| LOW | …ges/ltx-pipelines/src/ltx_pipelines/a2vid_two_stage.py | 378 | CODE | |
| LOW | …ckages/ltx-pipelines/src/ltx_pipelines/utils/blocks.py | 304 | CODE | |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/utils/samplers.py | 207 | CODE | |
| LOW | …tx-core/src/ltx_core/multigpu/transformer/attention.py | 90 | CODE | |
| LOW | …c/ltx_core/text_encoders/gemma/embeddings_connector.py | 95 | CODE | |
| LOW | packages/ltx-core/src/ltx_core/color/hlg.py | 258 | 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 | 96 | CODE | |
| LOW | …s/ltx-core/src/ltx_core/model/transformer/attention.py | 141 | CODE | |
| LOW | …s/ltx-core/src/ltx_core/model/transformer/attention.py | 166 | CODE | |
| LOW | …s/ltx-core/src/ltx_core/model/transformer/attention.py | 191 | CODE | |
| LOW | …kages/ltx-core/src/ltx_core/model/transformer/model.py | 43 | 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 | |
| 5 more matches not shown… | ||||
| 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 | 19 | from ltx_pipelines.utils.helpers import post_process_latent, timesteps_from_mask | CODE |
| CRITICAL | …tx-pipelines/src/ltx_pipelines/chunks/conditionings.py | 29 | from ltx_pipelines.utils.helpers import combined_image_conditionings | CODE |
| CRITICAL | …kages/ltx-pipelines/src/ltx_pipelines/chunks/layout.py | 11 | from ltx_pipelines.utils.helpers import snap_frames_to_grid | CODE |
| CRITICAL | …es/ltx-pipelines/src/ltx_pipelines/chunks/operators.py | 32 | from ltx_pipelines.utils.helpers import decode_keyframes_from_slots | 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_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 | packages/ltx-trainer/src/ltx_trainer/process_videos.py | 396 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/process_videos.py | 840 | CODE | |
| LOW | packages/ltx-trainer/src/ltx_trainer/process_videos.py | 1084 | 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 | packages/ltx-pipelines/src/ltx_pipelines/ic_lora.py | 669 | CODE | |
| LOW | packages/ltx-pipelines/src/ltx_pipelines/utils/args.py | 215 | CODE | |
| LOW | …ages/ltx-pipelines/src/ltx_pipelines/utils/samplers.py | 207 | 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 | 329 | CODE | |
| LOW | …x-pipelines/src/ltx_pipelines/utils/media_io/encode.py | 76 | CODE | |
| LOW | …x-pipelines/src/ltx_pipelines/utils/media_io/encode.py | 345 | CODE | |
| LOW | …x-pipelines/src/ltx_pipelines/utils/media_io/decode.py | 137 | CODE | |
| LOW | …x-pipelines/src/ltx_pipelines/utils/media_io/decode.py | 304 | 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 | …rnels/src/ltx_kernels/compile/subgraph_rewrite_pass.py | 91 | CODE | |
| LOW | …rnels/src/ltx_kernels/compile/passes/grouped_upcast.py | 43 | CODE | |
| LOW | packages/ltx-kernels/src/ltx_kernels/vae/na_attn_dsl.py | 88 | CODE | |
| LOW | packages/ltx-kernels/src/ltx_kernels/vae/na_attn_dsl.py | 113 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 399 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 1084 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 1318 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 1524 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 1602 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 1661 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 1688 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 1706 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/block_fna_dsl.py | 2715 | CODE | |
| LOW | …kages/ltx-kernels/src/ltx_kernels/vae/fna_attn_core.py | 314 | CODE | |
| 1 more matches not shown… | ||||
| 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/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/process_videos.py | 247 | except Exception as e: | CODE |
| LOW | packages/ltx-trainer/src/ltx_trainer/process_videos.py | 1261 | except Exception: | 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 | 38 | except Exception as e: | CODE |
| LOW⚡ | …ckages/ltx-pipelines/src/ltx_pipelines/iclora_utils.py | 49 | 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 | 358 | except Exception as e: | CODE |
| LOW | …x-pipelines/src/ltx_pipelines/utils/media_io/encode.py | 364 | except Exception as e: | CODE |
| LOW | packages/ltx-core/src/ltx_core/devices.py | 159 | except Exception: | CODE |
| LOW | packages/ltx-core/src/ltx_core/color/hlg.py | 218 | except Exception as e: | CODE |
| LOW | packages/ltx-core/src/ltx_core/color/hlg.py | 223 | except Exception as e: | 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 | 36 | except Exception: | CODE |
| LOW | …rnels/src/ltx_kernels/compile/subgraph_rewrite_pass.py | 81 | except Exception as error: | CODE |
| LOW | …rnels/src/ltx_kernels/compile/subgraph_rewrite_pass.py | 132 | except Exception as error: | CODE |
| LOW | packages/ltx-kernels/src/ltx_kernels/vae/aot.py | 136 | except Exception as exc: | 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 | 43 | Write EXR frames plus a BT.2020/HLG master. One pass over ``video`` feeds two independent sinks: * **HLG** — alw | STRING |
| HIGH | …x-pipelines/src/ltx_pipelines/utils/media_io/encode.py | 241 | 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 |
|---|---|---|---|---|
| HIGH | packages/ltx-trainer/src/ltx_trainer/captioning.py | 414 | except (json.JSONDecodeError, ValueError): | CODE |
| HIGH | packages/ltx-trainer/src/ltx_trainer/captioning.py | 423 | except (json.JSONDecodeError, ValueError): | CODE |
| HIGH | packages/ltx-trainer/src/ltx_trainer/captioning.py | 261 | except subprocess.CalledProcessError: | CODE |
| HIGH | …ltx-pipelines/src/ltx_pipelines/multigpu/controller.py | 137 | except (SymmetricRunnerError, AsymmetricRunnerError): | CODE |
| HIGH | …/src/ltx_core/model/video_vae/transformer/compiling.py | 59 | except ImportError: | CODE |
| 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 |
|---|---|---|---|---|
| HIGH | …s/ltx-pipelines/src/ltx_pipelines/ti2vid_two_stages.py | 0 | validate inputs, encode prompts/reference, and resolve frame count / tiling before chunk planning. | STRING |
| HIGH | packages/ltx-pipelines/src/ltx_pipelines/distilled.py | 0 | validate inputs, encode prompts/reference, and resolve frame count / tiling before chunk planning. | STRING |
| HIGH | packages/ltx-pipelines/src/ltx_pipelines/dubit.py | 0 | validate inputs, encode prompts/reference, and resolve frame count / tiling before chunk planning. | STRING |
| 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 | …rnels/src/ltx_kernels/compile/subgraph_rewrite_pass.py | 106 | pattern_placeholders = {node.target: node for node in pattern_graph.nodes if node.op == "placeholder"} | CODE |
| LOW | …rnels/src/ltx_kernels/compile/subgraph_rewrite_pass.py | 136 | replacement_placeholders = [node for node in replacement_graph.nodes if node.op == "placeholder"] | CODE |
| LOW | …rnels/src/ltx_kernels/compile/subgraph_rewrite_pass.py | 148 | if pattern_node.op not in ("placeholder", "output") and isinstance(graph_node, Node) | CODE |
| LOW | …rnels/src/ltx_kernels/compile/subgraph_rewrite_pass.py | 223 | for placeholder in (node for node in self._pattern_gm.graph.nodes if node.op == "placeholder"): | CODE |
| LOW | …rnels/src/ltx_kernels/compile/passes/grouped_upcast.py | 17 | if dtype is not torch.bfloat16 or not isinstance(source, Node) or source.op != "placeholder": | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/ltx-trainer/src/ltx_trainer/gpu_utils.py | 33 | def my_function(): | STRING |