Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.25.0
LTX-2
https://github.com/user-attachments/assets/1922e7f0-cc5d-430c-9e1a-93c589e85fb4
Setup
To set up ltx-2 repository for development:
uv synccreates and installs the virtual environment. To activate the environment, runsource .venv/bin/activate.- Set up pre-commit:
$ PIP_NO_INPUT=1 pre-commit install-hooks --config .pre-commit-config.yaml
$ pre-commit install
pytestruns all tests in the repository.pytest --pyargs packages/ltx-coreruns only tests specific toltx-core.uv build --package ltx-corebuilds only the ltx-core package.- Dependencies declared in the main
pyproject.tomlfile apply to the entire repository. Always prefer specifying dependencies for specific packages.
Folder structure
βββ README.md
βββ packages
β βββ ltx-core
β βββ README.md
β βββ pyproject.toml
β βββ src
β β βββ ltx_core
β β βββ __init__.py
β β βββ # package-specific modules go here
β βββ tests
β βββ ltx_core
β βββ # test folder structure mirrors src of the package.
β βββ conftest.py
β βββ unit
β βββ test_placeholder.py
βββ pyproject.toml
βββ pytest.toml
βββ uv.lock
Comments mentioning ComfyUI or internal company code
Comments relating to ComfyUI, its LTX repo or any other internal Lightricks resource should be wrapped in LT_INTERNAL tags. Tagged sections should be placed inside comments or docstrings. The following examples demonstrate proper usage:
# LT_INTERNAL: check PR to understand better
# conditioning is applied before the step LT_INTERNAL: http://...
# condition is applied after the step to integrate LT_INTERNAL_BEGIN http://... LT_INTERNAL_END
"""
Consult with the paper, https://arxiv.org
LT_INTERNAL_BEGIN
Most important PRs to check
http://...
http://...
LT_INTERNAL_END
"""