Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: keep FastH3 V2 image mode off until an MLX entry exists
[._.]/ Adam Eivyd6cdad25b160
diff --git a/docs/features/apple-video-options.md b/docs/features/apple-video-options.mdindex 804111ff62..b82d207261 100644--- a/docs/features/apple-video-options.md+++ b/docs/features/apple-video-options.md@@ -8,7 +8,7 @@ Video Gen offers these complementary paths:| FastMetal 5B | Balanced drafts | Dedicated Wan 2.2 sampler, trained three-step schedule || FastMetal 14B | Larger FastMetal model | Wan 2.1 sampler || FastH3 Preview INT4/INT6/INT8 | Four-step joint video and audio | Dense attention; official source is converted locally |-| FastH3 V2 INT6/INT8 | Eight-step joint video and audio | 80% VSA with reference attention; requires updated FastVideo |+| FastH3 V2 INT6/INT8 | Eight-step joint video and audio | 80% VSA with reference attention; text-to-video only. Image-to-video stays on MiniMax H3 MLX || MiniMax H3 MLX 4/6/8-bit | Original H3 reference | Dense attention, very slow; smaller quantization is not a speed guarantee |The V2 choices share the official source snapshot at@@ -32,6 +32,8 @@ for both conversion and inference rather than using MLX’s uniform ladder.Missing, mismatched or unsupported contracts fail before rendering.SIMD attention remains opt-in upstream; these choices use the reference path.+V2's own weights do accept a first or last frame in ComfyUI (`MiniMaxH3ImageToVideo` on `FastVideo/FastVideo-FastH3-Comfy`). The pinned MLX entry does not, and no other MLX checkpoint is this student. Image and first/last-frame requests stay on the MiniMax H3 MLX rows. The search and the contract to wait for are in [FastH3 V2 image-to-video](../research/2026-09-22-fasth3-v2-mlx-i2v.md).+The Preview INT4 community repack is a preconverted package from MrMofer;the official Preview INT4 choice converts the source checkpoint on first use.Their repository links identify the provenance. Existing model IDs and customdiff --git a/docs/research/2026-09-22-fasth3-v2-mlx-i2v.md b/docs/research/2026-09-22-fasth3-v2-mlx-i2v.mdnew file mode 100644index 0000000000..b6db219510--- /dev/null+++ b/docs/research/2026-09-22-fasth3-v2-mlx-i2v.md@@ -0,0 +1,46 @@+# FastH3 V2 image-to-video: no Apple Silicon model can take the adapter++Date: 2026-09-22++Issue: [#7828](https://github.com/atomantic/PortOS/issues/7828) (child of [#7805](https://github.com/atomantic/PortOS/issues/7805))++## Verdict++Do not add a PortOS-only first-frame adapter on the pinned FastH3 MLX path, and do not swap in another published checkpoint to unlock image mode on the V2 rows. The V2 student weights do accept first/last-frame conditioning, but only through ComfyUI. Every MLX runtime that can anchor a frame loads a different DiT: the base MiniMax H3 FL2VA transformer, not `FastVideo/FastVideo-FastH3-8-Step-V2`.++Image-to-video on Apple Silicon stays on the existing MiniMax H3 MLX rows (`minimax_h3` runtime, modes `image` and `fflf`). Those rows keep the base model's reference schedule. They are not a substitute for V2's eight-step ladder or its 80% VSA.++## What was checked++| Candidate | First-frame? | Same V2 student? |+| --- | --- | --- |+| Pinned `examples/inference/basic/mlx_fasth3.py` and `MiniMaxH3MLXPipeline.generate` (FastVideo `main`, read 2026-09-22) | No. Docstring and the Apple Silicon guide both say T2VA only. FL2VA is listed as not wired. `generate()` takes a prompt, size, frames, seed, and steps. | Yes, this is the runtime PortOS already calls. |+| `examples/inference/basic/basic_fasth3_8step.py` | No. `GenerationRequest` is prompt-only. CUDA FastH3 examples do not expose an image argument either. | Yes. |+| ComfyUI `MiniMaxH3ImageToVideo` with `FastVideo/FastVideo-FastH3-Comfy` (`fastvideo_fasth3_8step_v2_pruned_bf16` / `int8_convrot`) | Yes. Official template `video_fastvideo_fasth3_i2v.json` connects `first_frame` and/or `last_frame`. The template says this distilled checkpoint covers t2va and fl2va only. Ref2VA was not distilled. | Same student, Comfy single-file layout. Not loadable by `mlx_fasth3.py`. |+| `vanch007/FastVideo-FastH3-8-Step-V2-MLX-INT8` | No. Its card calls the same `pipeline.generate(prompt, ...)` and is tagged text-to-video. | Preconverted INT8 of the V2 student. PortOS already converts that student locally. |+| `appautomaton/mlx-h3` plus `appautomaton/minimax-h3-base-8bit-mlx` | Yes (`--first-frame` / `--last-frame`, separate `dit_fl2va_a8g32.safetensors`). | No. Base FL2VA DiT, 20-step `res_multistep` (turbo LoRA is 4–8 Euler steps on that same base). No V2 DMD ladder, no VSA routing tensors. |+| PortOS `minimax_h3` rows (PipeNetwork MLX 4/6/8-bit) | Yes. Registry modes are `text`, `image`, and `fflf`. | No. Base H3, CFG-distilled 9-point schedule, dense attention, 128 GB floor. |++Preview v1 was distilled for text-to-video-and-audio only. V2 changed that on the Comfy path: one checkpoint serves both text and first/last frame, with VSA keep-percent 10 (80% sparse), 24 fps, and the 17k+5 frame grid. That is capability evidence for the weights. It is not an MLX API.++A mask-and-latent adapter written only in PortOS would have to reimplement Comfy's keyframe encode (`MiniMaxH3ImageToVideo` stretches the first frame, cover-crops the last, VAE-encodes both, and pins them on the conditioning sequence) inside `fastvideo/mlx_runtime/minimax_h3_pipeline.py`, which has no image latent, first-frame mask, or conditioning-row hook. That is the algorithm change #7828 already deferred, and it still cannot be checked against an Apple Silicon render of the upstream path because that path does not exist.++## Contract to wait for++Reopen implementation when FastVideo's MLX entry accepts a first frame (and, if they ship it, a last frame) on this checkpoint and preserves all of the following:++- repo `FastVideo/FastVideo-FastH3-8-Step-V2` at `3da2ddfe1954d9cda4c05b643dc0f26007a655c5` (or a successor whose `fastvideo_inference.json` still names the eight-rung ladder)+- video/audio scheduler shifts from that sidecar (video shift 10)+- VSA sparsity 0.8, tile 64, routing weights retained by `--include-vsa`+- the existing quantization cache identity (`int8` / `int6` converted DiTs)+- synchronized audio at 24 fps++Until that entry exists, `scripts/generate_fastvideo.py` keeps rejecting `--image` for `family=fasth3`, including V2. Enabling the picker would render a text-only clip.++## References++- [FastVideo Apple Silicon guide](https://github.com/hao-ai-lab/FastVideo/blob/main/docs/getting_started/installation/mps.md) — MLX scope note: FL2VA not wired+- [FastVideo MiniMax H3 cookbook](https://github.com/hao-ai-lab/FastVideo/blob/main/docs/cookbook/minimax-h3.md) — FL2VA column is "Not wired" for MLX+- [ComfyUI FastH3 image-to-video template](https://github.com/Comfy-Org/workflow_templates/blob/main/templates/video_fastvideo_fasth3_i2v.json)+- [FastVideo-FastH3-Comfy](https://huggingface.co/FastVideo/FastVideo-FastH3-Comfy)+- [mlx-h3](https://github.com/appautomaton/mlx-h3) — base-model FL2VA on Apple Silicon, different weightsdiff --git a/scripts/generate_fastvideo.py b/scripts/generate_fastvideo.pyindex 4b3cf511f2..fdf299bdd6 100755--- a/scripts/generate_fastvideo.py+++ b/scripts/generate_fastvideo.py@@ -398,10 +398,14 @@ def build_command(args, entry_script: Path, model_root: Path, mlx_checkpoint: Pacmd.extend(["--image-path", str(args.image)])return cmd- # Both Preview and V2 use mlx_fasth3.py. VSA changes sparse attention,- # not conditioning: the pinned entry and pipeline have no image input.+ # Both Preview and V2 use mlx_fasth3.py. V2's weights do accept a first+ # frame in ComfyUI, but this entry's generate() is still text-only, and no+ # other MLX checkpoint is that student. See+ # docs/research/2026-09-22-fasth3-v2-mlx-i2v.md.if args.image:- raise ValueError("FastH3 MLX does not support first-frame conditioning")+ raise ValueError(+ "FastH3 MLX does not support first-frame conditioning: "+ "mlx_fasth3.py is text-to-video-with-audio only")for label, unsupported in (("negative prompt", args.negative_prompt),("prompt enhancer", args.enhance_prompt),