Fix pre-commit issues: remove trailing whitespace and modernize type hints

Co-authored-by: hsliuustc0106 <222337142+hsliuustc0106@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]andhsliuustc0106 committed 2026-01-19 05:07:55 +00:00
1 parent 53a387762e
commit 31187ff519
3 files changed
+31 -32

No files matched your search

+3 -3
View File
@@ -64,7 +64,7 @@ See the [example documentation](examples/offline_inference/ltx2/text_to_video.md
- **num_inference_steps**: Number of denoising steps (default: 40)
- More steps = higher quality but slower generation
- Range: 20-50 steps typically
- **guidance_scale**: Classifier-free guidance strength (default: 4.0)
- Higher values follow prompt more strictly
- Range: 3.0-5.0 recommended
@@ -92,10 +92,10 @@ vllm_omni/diffusion/models/ltx2/
- Handles parameter validation
- Ensures dimension constraints (divisible by 32)
- Manages frame count convention (8*n+1)
2. **Pre-processing**: `get_ltx2_pre_process_func`
- Loads and validates image inputs for I2V mode
3. **Post-processing**: `get_ltx2_post_process_func`
- Converts video tensors to numpy arrays
- Handles different output formats