Add rolling LTX video extension

This commit is contained in:
Mikei386
2026-09-14 20:19:08 +02:00
parent 719bc4ccf7
commit aaa96bbed5
4 changed files with 489 additions and 2 deletions
+10 -2
View File
@@ -17,20 +17,28 @@ services:
- driver: nvidia
device_ids:
- ${LTX2_GPU_UUID:-GPU-8ad38c6c-5a01-9d8e-1dfa-ed662ad78fbe}
- ${LTX2_PROMPT_ENHANCER_GPU_UUID:-GPU-4834d9d7-5b61-3004-1fb3-4ae49d482d4b}
capabilities: [gpu]
shm_size: 8g
environment:
NVIDIA_VISIBLE_DEVICES: ${LTX2_GPU_UUID:-GPU-8ad38c6c-5a01-9d8e-1dfa-ed662ad78fbe}
NVIDIA_VISIBLE_DEVICES: ${LTX2_GPU_UUID:-GPU-8ad38c6c-5a01-9d8e-1dfa-ed662ad78fbe},${LTX2_PROMPT_ENHANCER_GPU_UUID:-GPU-4834d9d7-5b61-3004-1fb3-4ae49d482d4b}
NVIDIA_DRIVER_CAPABILITIES: compute,utility,graphics
CUDA_VISIBLE_DEVICES: "0"
CUDA_VISIBLE_DEVICES: "0,1"
LTX_PROMPT_ENHANCER_DEVICE: cuda:1
# Stable and intentionally different from the default local macOS app
# port, so OAuth can return through an SSH tunnel without a collision.
LTX_PORT: "41955"
LTX_HOST: 0.0.0.0
LTX_REMOTE_AUTH_TOKEN_FILE: /run/secrets/ltx-remote-token
ports:
- 127.0.0.1:41955:41955
volumes:
- /data/video/ltx-desktop:/data
- /etc/mike-ai/secrets/ltx-remote-token:/run/secrets/ltx-remote-token:ro
- /opt/mike-ai/stack/platform/ltx2-studio/remote-app_factory.py:/opt/ltx-desktop/squashfs-root/resources/backend/app_factory.py:ro
- /opt/mike-ai/stack/platform/ltx2-studio/prompt_enhancement_handler.py:/opt/ltx-desktop/squashfs-root/resources/backend/handlers/prompt_enhancement_handler.py:ro
- /opt/mike-ai/stack/platform/ltx2-studio/extend_handler.py:/opt/ltx-desktop/squashfs-root/resources/backend/handlers/extend_handler.py:ro
- /opt/mike-ai/stack/platform/ltx2-studio/rolling_extend.py:/opt/ltx-desktop/squashfs-root/resources/backend/handlers/rolling_extend.py:ro
networks:
- frontend
security_opt: