Skip to content

[Feature] Native Z-Image jobs and true H3 creation progress - #585

Merged
yangzhuxinyzx merged 6 commits into
mainfrom
codex/v100-studio-media-20260909-092756
Sep 9, 2026
Merged

yangzhuxinyzx merged 6 commits into
mainfrom
codex/v100-studio-media-20260909-092756

Conversation

@yangzhuxinyzx

@yangzhuxinyzx yangzhuxinyzx commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Purpose

Add native Z-Image Turbo/Base image jobs and actual H3 lifecycle/denoise progress for a prompt-first creation flow. The image API supports persistent asynchronous jobs and synchronous compatibility; H3 progress uses ordered rank-zero events over the existing worker pipe, with no additional per-step device barrier or collective.

Z-Image uses local, versioned components. Measured V100 FP16 projection and AdaLN overflows are handled by retaining the required FP32 range; Base attention/residuals use FP32 with FP16 stored weights. No outlier clamping, BF16 requirement, CUDA/C++ change, GPU-policy change or Hub download fallback is introduced.

This differs from #578: that PR addresses work/efficiency metrics, while this change adds the image runtime, persistent job protocol and user-visible stage/iteration progress.

Test Plan and Result

  • 53 CPU media tests passed: async/sync APIs, true counts, cancellation, restart idempotency, outlier precision, corrupt records and disk-write failure without a stalled queue.
  • Native pre-commit and CI passed. Existing ABI-matching SM70 extensions from b6d91d6 were reused with PyTorch 2.10 / CUDA 12.8.
  • Actual Studio frontend runs on V100 32 GB generated Turbo/Base 1024-square images and H3 text, keyframe and reference-image videos at 1344x768, 107 frames, 24 fps, with stereo audio. Playback/download/reload and media reuse passed.
  • Fixed-input progress parity: Turbo/Base PNGs are byte-identical; warm H3 MP4s and raw audio are byte-identical. A first/warm audio difference up to 5.44e-7 also occurs with reporting enabled in both runs.

docs/design/native_media/CREATIVE_JOBS.md records the tested recipes and limits. Base's original 50-update recipe takes roughly ten minutes on one V100; Turbo remains the interactive default. These results do not claim exhaustive validation of every allowed output shape/duration.

AI assistance was used for implementation, debugging, tests and review. Contributions are signed off.

yangzhuxinyzx and others added 6 commits September 9, 2026 18:02
Co-authored-by: Codex <noreply@openai.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Assisted-by: Codex
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Assisted-by: Codex
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
@yangzhuxinyzx yangzhuxinyzx changed the title [Feature] Native Z-Image jobs and H3 live generation progress [Feature] Native Z-Image jobs and true H3 creation progress Sep 9, 2026
@yangzhuxinyzx
yangzhuxinyzx marked this pull request as ready for review September 9, 2026 12:55
@yangzhuxinyzx
yangzhuxinyzx merged commit 80545c0 into main Sep 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant