Free, open-source AI video generator for Mac. Run LTX-2.5 and MiniMax H3 (Hailuo) locally on Apple Silicon: text-to-video and image-to-video with sound, lip-sync, character LoRA training, songs from lyrics (YuE2) and image editing (Qwen-Image-Edit). One-click install via Pinokio. Offline: no cloud, no API key, no NVIDIA GPU.
Python ai-filmmakingai-videoai-video-generatorapple-siliconhailuoimage-to-videolip-synclocal-ailora-trainingltx-2ltx-2-5ltx-videomacosminimax-h3mlxmusic-generationoffline-aipinokiotext-to-videovideo-generation
Y1.033 fix concurrent state temp writes
mrbizarro10e245a35411
diff --git a/VERSION b/VERSIONindex 361f8e4..58cb8a7 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-Y1.032+Y1.033diff --git a/mlx_ltx_panel.py b/mlx_ltx_panel.pyindex 2c88469..bb94ddd 100644--- a/mlx_ltx_panel.py+++ b/mlx_ltx_panel.py@@ -1670,12 +1670,22 @@ def atomic_write_text(path: Path, text: str) -> None:sidecar files would lose the user's work-in-progress. Atomic replaceguarantees the file is either pre-write or fully post-write, never torn."""- tmp = path.with_name(f".{path.name}.{os.getpid()}.tmp")- with tmp.open("w") as f:- f.write(text)- f.flush()- os.fsync(f.fileno())- os.replace(tmp, path)+ # Multiple request/worker threads can persist state close together. A+ # process-wide temp name lets one writer replace/unlink another writer's+ # temp file, producing ENOENT in the logs and risking a missed persist.+ tmp = path.with_name(f".{path.name}.{os.getpid()}.{threading.get_ident()}.{time.time_ns()}.tmp")+ try:+ with tmp.open("w") as f:+ f.write(text)+ f.flush()+ os.fsync(f.fileno())+ os.replace(tmp, path)+ finally:+ try:+ if tmp.exists():+ tmp.unlink()+ except Exception:+ pass# ---- caffeinate --------------------------------------------------------------