Skip to content

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.

fix(helper): install runtime patches in get_kf_pipe too (FFLF crash)

mrbizarro6305a8ad9c18
diff --git a/mlx_warm_helper.py b/mlx_warm_helper.py
index 8c8314b..ce5dbd3 100644
--- a/mlx_warm_helper.py
+++ b/mlx_warm_helper.py
@@ -966,6 +966,16 @@ def get_kf_pipe(model_dir: str):
global _kf_pipe, _kf_model_dir
from ltx_pipelines_mlx.keyframe_interpolation import KeyframeInterpolationPipeline
+ # Install the same runtime patches that get_pipe / get_hq_pipe / get_a2v_pipe
+ # install. Before 2026-05-25 this getter was the only one that skipped them,
+ # so FFLF renders crashed with
+ # `VideoDecoder.decode_and_stream() got an unexpected keyword argument
+ # 'frame_rate'` on machines that downloaded a post-rename upstream build
+ # (reported by @oo2music in #9). The install funcs are all idempotent.
+ _install_lora_fusion_patches()
+ _install_video_decoder_patch()
+ _install_a2v_frame_rate_patch()
+
with _pipe_lock:
release_pipelines(keep_kind="keyframe")
if _kf_pipe is None or _kf_model_dir != model_dir: