| [project] |
| name = "ltx-trainer" |
| version = "0.1.0" |
| description = "LTX-2 training, democratized." |
| readme = "README.md" |
| authors = [ |
| { name = "Matan Ben-Yosef", email = "mbyosef@lightricks.com" } |
| ] |
| requires-python = ">=3.12" |
| dependencies = [ |
| "ltx-core", |
| "accelerate>=1.2.1", |
| "av>=14.2.1", |
| "bitsandbytes >=0.45.2; sys_platform == 'linux'", |
| "diffusers>=0.32.1", |
| "huggingface-hub[hf-xet]>=0.31.4", |
| "imageio>=2.37.0", |
| "imageio-ffmpeg>=0.6.0", |
| "opencv-python>=4.11.0.86", |
| "optimum-quanto>=0.2.6", |
| "pandas>=2.2.3", |
| "peft>=0.14.0", |
| "pillow-heif>=0.21.0", |
| "pydantic>=2.10.4", |
| "rich>=13.9.4", |
| "safetensors>=0.5.0", |
| "scenedetect>=0.6.5.2", |
| "sentencepiece>=0.2.0", |
| "torch>=2.6.0", |
| "torchaudio>=2.9.0", |
| "torchcodec>=0.8.1", |
| "torchvision>=0.21.0", |
| "typer>=0.15.1", |
| "wandb>=0.19.11", |
| ] |
|
|
| [dependency-groups] |
| dev = [ |
| "pre-commit>=4.0.1", |
| "ruff>=0.8.6", |
| ] |
|
|
|
|
| [build-system] |
| requires = ["hatchling"] |
| build-backend = "hatchling.build" |
|
|
|
|
|
|
| [tool.ruff] |
| target-version = "py311" |
| line-length = 120 |
|
|
| [tool.ruff.lint] |
| select = [ |
| "E", |
| "F", |
| "W", |
| "I", |
| "N", |
| "ANN", |
| "B", |
| "A", |
| "COM", |
| "C4", |
| "DTZ", |
| "EXE", |
| "PIE", |
| "T20", |
| "PT", |
| "SIM", |
| "ARG", |
| "PTH", |
| "ERA", |
| "RUF", |
| "PL", |
| ] |
| ignore = [ |
| "ANN002", |
| "ANN003", |
| "ANN204", |
| "COM812", |
| "PTH123", |
| "PLR2004", |
| ] |
| [tool.ruff.lint.pylint] |
| max-args = 10 |
| [tool.ruff.lint.isort] |
| known-first-party = ["ltx_trainer", "ltx_core", "ltx_pipelines"] |
|
|