Validate native LTX deployment and persist worker caches and helper socket directory
This commit is contained in:
+16
-4
@@ -96,7 +96,19 @@ festgelegtes Runtime-Rezept; Gewichte und Python-Pakete werden nachgeladen.
|
|||||||
|
|
||||||
## Integrationsstand am 30.09.2026
|
## Integrationsstand am 30.09.2026
|
||||||
|
|
||||||
Lokale Verwaltungs-, Auswahl-, Backup-, Gerätepolicy- und Transporttests sind
|
Installation auf Athena, Import-/Abhängigkeitsprüfung und der Wechsel über die
|
||||||
geprüft. Die erste Installation auf Athena, DeskWEB-Mountumstellung und echte
|
Deck-Oberfläche wurden durchgeführt. DeskWEB verwendet die neuen Medien-Mounts;
|
||||||
CUDA-Generierung stehen noch aus: die LAN-/SSH-Verbindung fiel während der
|
sein authentifizierter Proxy erreicht die originale API. Ein synthetischer
|
||||||
Integration aus. Die vorhandenen Remote-Dienste wurden bisher nicht geändert.
|
Bild-Upload wurde auf dem gemeinsamen Datenträger geprüft.
|
||||||
|
|
||||||
|
Echte CUDA-Generierung: LTX 2.5 Fast, 540p, fünf Sekunden, 24 FPS, Seed 42,
|
||||||
|
ohne Audio; die originale API lieferte HTTP 200 und eine MP4-Datei. Textencoding
|
||||||
|
lief auf der 3060, Diffusion auf der 5080. Nach Beenden des Testprozesses wurden
|
||||||
|
die GPU-Allokationen freigegeben. Optionalfunktionen sind damit nicht geprüft.
|
||||||
|
Die gezielten 21 Gerätepolicy-/Runtime-/Transporttests sind erfolgreich.
|
||||||
|
|
||||||
|
Der erste Versuch fand ein volles 256-MiB-Container-Temp-Verzeichnis: CUDA-,
|
||||||
|
Triton- und Torch-Caches sowie temporäre Dateien liegen nun unter
|
||||||
|
`video/original-work`, auf dem Datenträger statt im kleinen tmpfs.
|
||||||
|
Der Docker-Helfer erhält sein Socket-Verzeichnis über Dienstneustarts hinweg,
|
||||||
|
damit dessen Verzeichnis-Mount im Deck-Testcontainer gültig bleibt.
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ ExecStart={command}
|
|||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RuntimeDirectory=athena-deck-docker
|
RuntimeDirectory=athena-deck-docker
|
||||||
RuntimeDirectoryMode=0755
|
RuntimeDirectoryMode=0755
|
||||||
|
RuntimeDirectoryPreserve=yes
|
||||||
StateDirectory=athena-deck-docker
|
StateDirectory=athena-deck-docker
|
||||||
StateDirectoryMode=0700
|
StateDirectoryMode=0700
|
||||||
UMask=0077
|
UMask=0077
|
||||||
|
|||||||
+2
-1
@@ -61,7 +61,8 @@ class VideoRuntimes(VideoComfy):
|
|||||||
settings_path.write_text(json.dumps(settings))
|
settings_path.write_text(json.dumps(settings))
|
||||||
for name in ('outputs','remote-inputs/deskweb'):(work/name).mkdir(parents=True,exist_ok=True)
|
for name in ('outputs','remote-inputs/deskweb'):(work/name).mkdir(parents=True,exist_ok=True)
|
||||||
with socket.socket() as sock:sock.bind(('127.0.0.1',0));self.port=sock.getsockname()[1]
|
with socket.socket() as sock:sock.bind(('127.0.0.1',0));self.port=sock.getsockname()[1]
|
||||||
python,backend=self.original_runtime.paths();env=dict(os.environ,CUDA_VISIBLE_DEVICES=','.join(g[0].strip() for g in ordered),OMP_NUM_THREADS='2',HF_HUB_DISABLE_TELEMETRY='1')
|
for name in ('temp','cuda-cache','triton-cache','torch-cache'):(work/name).mkdir(exist_ok=True)
|
||||||
|
python,backend=self.original_runtime.paths();env=dict(os.environ,CUDA_VISIBLE_DEVICES=','.join(g[0].strip() for g in ordered),OMP_NUM_THREADS='2',HF_HUB_DISABLE_TELEMETRY='1',TMPDIR=str(work/'temp'),CUDA_CACHE_PATH=str(work/'cuda-cache'),TRITON_CACHE_DIR=str(work/'triton-cache'),TORCHINDUCTOR_CACHE_DIR=str(work/'torch-cache'))
|
||||||
self.switch_phase='Originale LTX-API starten · Gewichte laden erst bei Anfrage'
|
self.switch_phase='Originale LTX-API starten · Gewichte laden erst bei Anfrage'
|
||||||
self.process=subprocess.Popen([str(python),str(Path(__file__).with_name('ltx_original_entry.py')),'--backend',str(backend),'--data',str(work),'--port',str(self.port)],env=env,cwd=backend,stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL,start_new_session=True)
|
self.process=subprocess.Popen([str(python),str(Path(__file__).with_name('ltx_original_entry.py')),'--backend',str(backend),'--data',str(work),'--port',str(self.port)],env=env,cwd=backend,stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL,start_new_session=True)
|
||||||
deadline=time.monotonic()+180
|
deadline=time.monotonic()+180
|
||||||
|
|||||||
Reference in New Issue
Block a user