Skip to content

[bugfix]: drop dead h3_sequential_load from Spark FastH3 presets - #37

Closed
aryan5v wants to merge 29 commits into
mainfrom
aryan5v/fix-spark-h3-load-config-upstream-659e
Closed

[bugfix]: drop dead h3_sequential_load from Spark FastH3 presets#37
aryan5v wants to merge 29 commits into
mainfrom
aryan5v/fix-spark-h3-load-config-upstream-659e

Conversation

@aryan5v

@aryan5v aryan5v commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Why

The three Spark FastH3 YAML presets set both lazy_module_load: true and h3_sequential_load: true. On GB10, lazy_module_load owns component deferral and MiniMaxH3Pipeline._defer_denoise_modules turns sequential load off when lazy is on (hao-ai-lab#1803 review). The h3_sequential_load lines were inert and implied two deferral paths were active.

Scope

  • Remove h3_sequential_load: true from:
    • examples/inference/basic/basic_fasth3_spark.yaml
    • examples/inference/basic/basic_fasth3_spark_pair.yaml
    • examples/serving/openai_fasth3_spark.yaml
  • Add test_spark_configs_use_lazy_load_not_sequential in tests/local_tests/test_cookbook_serving.py

h3_sequential_load stays in the codebase as the H3 fallback when lazy is off. This change only fixes the Spark presets.

Tradeoffs

None. The removed flag had no runtime effect while lazy_module_load was true.

Blast radius

Example configs and one local test. No loader or pipeline code changes.

Verification

  • test_spark_configs_use_lazy_load_not_sequential asserts lazy_module_load is True and h3_sequential_load is absent from pipeline.experimental for all three presets.
  • pstack /no-comments (Comment Sicko): dropped redundant YAML comments; kept the regression test without inline narration.
Open in Web Open in Cursor 

SolitaryThinker and others added 29 commits August 28, 2026 22:29
Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
…nse GEMM (hao-ai-lab#1788)

Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
…ab#1793)

Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
Co-authored-by: Shahrad Zomorrodi <264690209+shahradzomorrodi@users.noreply.github.com>
)

Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
…ao-ai-lab#1803)

Co-authored-by: Kyle <shh075@ucsd.edu>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Satyam Srivastava <srivastavasatyam53@gmail.com>
Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
hao-ai-lab#1805)

Co-authored-by: Vaish, Ishan <isvaish@UCSD.EDU>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
…hao-ai-lab#1811)

Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
Signed-off-by: lishunyang12 <lishunyang12@163.com>
lazy_module_load owns deferral on GB10 and suppresses h3_sequential_load.
Remove the inert flag from the three Spark YAML presets and add a regression
test.

Co-authored-by: Aryan Kumar <aryan5v@users.noreply.github.com>
@greptile-apps

greptile-apps Bot commented Sep 8, 2026

Copy link
Copy Markdown

Too many files changed for review (324 files, 100 file limit).

Bypass the limit by tagging @greptile-apps to review.

@aryan5v aryan5v closed this Sep 8, 2026
@coderabbitai

coderabbitai Bot commented Sep 8, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 322 files, which is 222 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 300 files.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 51a764fd-d874-4772-858d-d4e32c45a444

📥 Commits

Reviewing files that changed from the base of the PR and between ac48bb3 and c617386.

⛔ Files ignored due to path filters (2)
  • apps/dreamverse/gpu-pool.svg is excluded by !**/*.svg
  • examples/serving/clients/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (322)
  • .buildkite/pipeline.yml
  • .buildkite/scripts/lanes/golden_gate.sh
  • .buildkite/scripts/lanes/transformer.sh
  • .buildkite/scripts/lanes/vae.sh
  • .github/scripts/plan_merge_ci.py
  • .github/workflows/ci-macos-mlx.yml
  • .github/workflows/publish-kernel.yml
  • .gitignore
  • .pre-commit-config.yaml
  • README.md
  • apps/dreamverse/README.md
  • apps/dreamverse/arch.md
  • apps/dreamverse/dreamverse/benchmarks/benchmark_pipeline.py
  • apps/dreamverse/dreamverse/config.py
  • apps/dreamverse/dreamverse/generation_contracts.py
  • apps/dreamverse/dreamverse/generation_worker.py
  • apps/dreamverse/dreamverse/gpu_pool.py
  • apps/dreamverse/dreamverse/ltx2_generation.py
  • apps/dreamverse/dreamverse/minimax_h3_generation.py
  • apps/dreamverse/dreamverse/session/controller.py
  • apps/dreamverse/dreamverse/tests/test_config.py
  • apps/dreamverse/dreamverse/tests/test_generation_worker.py
  • apps/dreamverse/dreamverse/tests/test_gpu_pool.py
  • apps/dreamverse/dreamverse/tests/test_import_contract.py
  • apps/dreamverse/dreamverse/tests/test_minimax_h3_generation.py
  • apps/dreamverse/gpu-pool.drawio
  • apps/fastvideo_studio/database.py
  • apps/fastvideo_studio/job_runner.py
  • apps/fastvideo_studio/models/create_job_request.py
  • apps/fastvideo_studio/server.py
  • apps/fastvideo_studio/src/components/jobs/CreateJobModal.tsx
  • apps/fastvideo_studio/src/components/jobs/JobCard.tsx
  • apps/fastvideo_studio/src/components/jobs/JobDetailsSidebar.tsx
  • apps/fastvideo_studio/src/lib/api.ts
  • apps/fastvideo_studio/src/lib/defaultOptions.ts
  • apps/fastvideo_studio/src/lib/h3Prompt.test.ts
  • apps/fastvideo_studio/src/lib/h3Prompt.ts
  • apps/fastvideo_studio/src/lib/h3References.test.ts
  • apps/fastvideo_studio/src/lib/h3References.ts
  • apps/fastvideo_studio/src/lib/jobToFields.test.ts
  • apps/fastvideo_studio/src/lib/jobToFields.ts
  • apps/fastvideo_studio/src/lib/types.ts
  • apps/fastvideo_studio/tests/test_duplicate_and_edit.py
  • apps/fastvideo_studio/tests/test_upload_naming.py
  • docs/assets/cookbook-recipes.json
  • docs/assets/cookbook.js
  • docs/assets/custom.css
  • docs/assets/logos/SOURCES.md
  • docs/assets/logos/black-forest-labs.webp
  • docs/assets/logos/fastvideo.webp
  • docs/assets/logos/kandinsky.webp
  • docs/assets/logos/ltx.webp
  • docs/assets/logos/meituan-longcat.webp
  • docs/assets/logos/minimax.webp
  • docs/assets/logos/nvidia.webp
  • docs/assets/logos/stabilityai.webp
  • docs/assets/logos/tencent-hunyuan.webp
  • docs/assets/logos/tongyi.webp
  • docs/assets/logos/wan-ai.webp
  • docs/assets/logos/zai.webp
  • docs/attention/vsa/index.md
  • docs/contributing/ci_architecture.md
  • docs/contributing/coding_agents.md
  • docs/contributing/testing.md
  • docs/cookbook/cosmos.md
  • docs/cookbook/flux.md
  • docs/cookbook/glm-image.md
  • docs/cookbook/hunyuan.md
  • docs/cookbook/index.md
  • docs/cookbook/kandinsky5.md
  • docs/cookbook/longcat.md
  • docs/cookbook/ltx.md
  • docs/cookbook/matrix-game.md
  • docs/cookbook/minimax-h3.md
  • docs/cookbook/mmaudio.md
  • docs/cookbook/openai-api.md
  • docs/cookbook/stable-audio.md
  • docs/cookbook/stable-diffusion.md
  • docs/cookbook/turbodiffusion.md
  • docs/cookbook/wan.md
  • docs/cookbook/z-image.md
  • docs/design/inference_schema_parity_inventory.yaml
  • docs/design/overview.md
  • docs/design/server_contracts/openai.md
  • docs/generate_examples.py
  • docs/getting_started/installation.md
  • docs/getting_started/installation/mps.md
  • docs/getting_started/installation/spark.md
  • docs/getting_started/installation/spark_pair.md
  • docs/getting_started/installation/spark_performance.md
  • docs/inference/architecture.md
  • docs/inference/configuration.md
  • docs/inference/mlx_taeh3.md
  • docs/inference/offloading.md
  • docs/inference/optimizations.md
  • docs/inference/support_matrix.md
  • examples/inference/basic/README.md
  • examples/inference/basic/basic_fasth3.py
  • examples/inference/basic/basic_fasth3_simplified.py
  • examples/inference/basic/basic_fasth3_simplified.sh
  • examples/inference/basic/basic_fasth3_simplified_profile.py
  • examples/inference/basic/basic_fasth3_simplified_profile.sh
  • examples/inference/basic/basic_fasth3_spark.yaml
  • examples/inference/basic/basic_fasth3_spark_pair.yaml
  • examples/inference/basic/basic_minimax_h3_t2v.py
  • examples/inference/basic/mlx_fasth3.py
  • examples/inference/basic/mlx_h3_decode_benchmark.py
  • examples/inference/optimizations/spark_pair_env.sh
  • examples/serving/README.md
  • examples/serving/clients/package.json
  • examples/serving/clients/video.mjs
  • examples/serving/clients/video.py
  • examples/serving/clients/video.sh
  • examples/serving/mlx_fasth3.yaml
  • examples/serving/openai_fasth3_lora.yaml
  • examples/serving/openai_fasth3_spark.yaml
  • fastvideo-kernel/CMakeLists.txt
  • fastvideo-kernel/README.md
  • fastvideo-kernel/build.sh
  • fastvideo-kernel/csrc/attention/block_sparse_bwd_kernel_sm100a.cuh
  • fastvideo-kernel/csrc/attention/block_sparse_bwd_launch_sm100a.cuh
  • fastvideo-kernel/csrc/attention/block_sparse_bwd_sm100a.cu
  • fastvideo-kernel/csrc/attention/block_sparse_kernel_sm100a.cuh
  • fastvideo-kernel/csrc/attention/block_sparse_launch_sm100a.cuh
  • fastvideo-kernel/csrc/attention/block_sparse_sm100a.cu
  • fastvideo-kernel/csrc/attention/primitives.cuh
  • fastvideo-kernel/csrc/common_extension.cpp
  • fastvideo-kernel/python/fastvideo_kernel/block_sparse_attn.py
  • fastvideo-kernel/python/fastvideo_kernel/block_sparse_attn_bwd_sm100a.py
  • fastvideo-kernel/python/fastvideo_kernel/block_sparse_attn_sm100a.py
  • fastvideo-kernel/python/fastvideo_kernel/vsa_utils.py
  • fastvideo/AGENTS.md
  • fastvideo/api/compat.py
  • fastvideo/api/schema.py
  • fastvideo/attention/backends/video_sparse_attn_h3.py
  • fastvideo/configs/AGENTS.md
  • fastvideo/configs/models/dits/__init__.py
  • fastvideo/configs/models/dits/dreamx_world.py
  • fastvideo/configs/models/dits/matrixgame2.py
  • fastvideo/configs/models/dits/matrixgame3.py
  • fastvideo/configs/models/dits/wanvideo.py
  • fastvideo/configs/models/vaes/__init__.py
  • fastvideo/configs/models/vaes/wanvae.py
  • fastvideo/configs/pipelines/__init__.py
  • fastvideo/configs/pipelines/dreamx_world.py
  • fastvideo/configs/pipelines/lingbotworld.py
  • fastvideo/configs/pipelines/lingbotworld2.py
  • fastvideo/configs/pipelines/matrixgame2.py
  • fastvideo/configs/pipelines/matrixgame3.py
  • fastvideo/configs/pipelines/turbodiffusion.py
  • fastvideo/configs/pipelines/wan.py
  • fastvideo/entrypoints/cli/bench_serving.py
  • fastvideo/entrypoints/openai/api_server.py
  • fastvideo/entrypoints/openai/common_api.py
  • fastvideo/entrypoints/openai/mlx_server.py
  • fastvideo/entrypoints/openai/playground.py
  • fastvideo/entrypoints/openai/protocol.py
  • fastvideo/entrypoints/openai/request_adapter.py
  • fastvideo/entrypoints/openai/serving_engine.py
  • fastvideo/entrypoints/openai/state.py
  • fastvideo/entrypoints/openai/static/playground.css
  • fastvideo/entrypoints/openai/static/playground.html
  • fastvideo/entrypoints/openai/static/playground.js
  • fastvideo/entrypoints/openai/video_api.py
  • fastvideo/fastvideo_args.py
  • fastvideo/layers/mxfp8linear.py
  • fastvideo/layers/quantization/__init__.py
  • fastvideo/layers/quantization/mxfp8_config.py
  • fastvideo/layers/quantization/nvfp4_config.py
  • fastvideo/mlx_runtime/fastwan.py
  • fastvideo/mlx_runtime/minimax_h3.py
  • fastvideo/mlx_runtime/minimax_h3_conditioner.py
  • fastvideo/mlx_runtime/minimax_h3_pipeline.py
  • fastvideo/mlx_runtime/minimax_h3_taeh3.py
  • fastvideo/mlx_runtime/minimax_h3_vsa.py
  • fastvideo/mlx_runtime/minimax_h3_vsa_simd.py
  • fastvideo/models/AGENTS.md
  • fastvideo/models/dits/causal_wanvideo.py
  • fastvideo/models/dits/dreamx_world.py
  • fastvideo/models/dits/lingbotworld/model.py
  • fastvideo/models/dits/matrixgame2/causal_model.py
  • fastvideo/models/dits/matrixgame2/model.py
  • fastvideo/models/dits/matrixgame3/model.py
  • fastvideo/models/dits/minimax_h3.py
  • fastvideo/models/dits/wanvideo.py
  • fastvideo/models/loader/fsdp_load.py
  • fastvideo/models/loader/lora_patch.py
  • fastvideo/models/registry.py
  • fastvideo/models/vaes/minimax_h3_taeh3.py
  • fastvideo/models/vaes/wanvae.py
  • fastvideo/models/wan/AGENTS.md
  • fastvideo/models/wan/__init__.py
  • fastvideo/models/wan/causal_transformer.py
  • fastvideo/models/wan/config.py
  • fastvideo/models/wan/definition.py
  • fastvideo/models/wan/pipeline_config.py
  • fastvideo/models/wan/transformer.py
  • fastvideo/models/wan/vae.py
  • fastvideo/models/wan/vae_config.py
  • fastvideo/pipelines/AGENTS.md
  • fastvideo/pipelines/basic/dreamx_world/dreamx_world_pipeline.py
  • fastvideo/pipelines/basic/minimax_h3/minimax_h3_pipeline.py
  • fastvideo/pipelines/basic/minimax_h3/packing.py
  • fastvideo/pipelines/basic/minimax_h3/stages/minimax_h3_decoding.py
  • fastvideo/pipelines/basic/minimax_h3/stages/minimax_h3_latent_preparation.py
  • fastvideo/pipelines/basic/turbodiffusion/turbodiffusion_i2v_pipeline.py
  • fastvideo/pipelines/basic/turbodiffusion/turbodiffusion_pipeline.py
  • fastvideo/pipelines/basic/wan/AGENTS.md
  • fastvideo/pipelines/basic/wan/lucy_edit_pipeline.py
  • fastvideo/pipelines/basic/wan/stages/__init__.py
  • fastvideo/pipelines/basic/wan/stages/causal_denoising.py
  • fastvideo/pipelines/basic/wan/stages/conditioning.py
  • fastvideo/pipelines/basic/wan/stages/denoising.py
  • fastvideo/pipelines/basic/wan/stages/dmd.py
  • fastvideo/pipelines/basic/wan/wan_causal_dmd_pipeline.py
  • fastvideo/pipelines/basic/wan/wan_causal_pipeline.py
  • fastvideo/pipelines/basic/wan/wan_dmd_pipeline.py
  • fastvideo/pipelines/basic/wan/wan_i2v_dmd_pipeline.py
  • fastvideo/pipelines/basic/wan/wan_i2v_pipeline.py
  • fastvideo/pipelines/basic/wan/wan_pipeline.py
  • fastvideo/pipelines/basic/wan/wan_v2v_pipeline.py
  • fastvideo/pipelines/composed_pipeline_base.py
  • fastvideo/pipelines/lazy_module.py
  • fastvideo/pipelines/lora_pipeline.py
  • fastvideo/pipelines/pipeline_batch_info.py
  • fastvideo/pipelines/stages/__init__.py
  • fastvideo/pipelines/stages/base.py
  • fastvideo/pipelines/stages/causal_denoising.py
  • fastvideo/pipelines/stages/denoising.py
  • fastvideo/platforms/cpu.py
  • fastvideo/registry.py
  • fastvideo/tests/api/test_cli_translation.py
  • fastvideo/tests/api/test_configs.py
  • fastvideo/tests/api/test_lucy_edit.py
  • fastvideo/tests/api/test_parser.py
  • fastvideo/tests/api/test_wan_definitions.py
  • fastvideo/tests/attention/test_vsa_h3_sm100a_route.py
  • fastvideo/tests/contract/test_ci_test_collection.py
  • fastvideo/tests/contract/test_merge_ci_plan.py
  • fastvideo/tests/contract/test_tensor_golden_isolation.py
  • fastvideo/tests/contract/test_wan_validation_order.py
  • fastvideo/tests/dataset/test_schema_record_creator.py
  • fastvideo/tests/distributed/test_sp_wan.py
  • fastvideo/tests/entrypoints/test_openai_api.py
  • fastvideo/tests/entrypoints/test_openai_serving_engine.py
  • fastvideo/tests/entrypoints/test_openai_video_client.py
  • fastvideo/tests/golden_gate/_harness.py
  • fastvideo/tests/golden_gate/_tensor_golden.py
  • fastvideo/tests/golden_gate/_wan_checkpoint.py
  • fastvideo/tests/golden_gate/test_wan_causal.py
  • fastvideo/tests/golden_gate/test_wan_denoising.py
  • fastvideo/tests/golden_gate/test_wan_t2v.py
  • fastvideo/tests/golden_gate/test_wan_vae.py
  • fastvideo/tests/inference/test_basic_fasth3_profile.py
  • fastvideo/tests/inference/test_inference_regional_compile.py
  • fastvideo/tests/loader/test_fsdp_inference_quantization.py
  • fastvideo/tests/loader/test_lora_patch.py
  • fastvideo/tests/loader/test_wan_family_imports.py
  • fastvideo/tests/mlx/test_mlx_affine_dq_gemm.py
  • fastvideo/tests/mlx/test_mlx_minimax_h3_conditioner.py
  • fastvideo/tests/mlx/test_mlx_minimax_h3_fast_mode.py
  • fastvideo/tests/mlx/test_mlx_minimax_h3_fast_spatial.py
  • fastvideo/tests/mlx/test_mlx_minimax_h3_modulation.py
  • fastvideo/tests/mlx/test_mlx_minimax_h3_vsa.py
  • fastvideo/tests/mlx/test_mlx_minimax_h3_vsa_regressions.py
  • fastvideo/tests/mlx/test_mlx_minimax_h3_weight_reads.py
  • fastvideo/tests/mlx/test_mlx_taeh3.py
  • fastvideo/tests/mlx/test_mlx_wan22_real_weights_parity.py
  • fastvideo/tests/mlx/tiny_wan.py
  • fastvideo/tests/modal/test_pr_test.py
  • fastvideo/tests/ops/quantization/test_mxfp8.py
  • fastvideo/tests/ops/quantization/test_nvfp4_minimax_h3_wiring.py
  • fastvideo/tests/platforms/test_cpu_sdpa.py
  • fastvideo/tests/platforms/test_unified_memory_offload.py
  • fastvideo/tests/ssim/test_dreamx_world_similarity.py
  • fastvideo/tests/ssim/test_gamecraft_similarity.py
  • fastvideo/tests/ssim/test_glm_image_similarity.py
  • fastvideo/tests/ssim/test_longcat_similarity.py
  • fastvideo/tests/ssim/test_matrixgame2_similarity.py
  • fastvideo/tests/ssim/test_turbodiffusion_similarity.py
  • fastvideo/tests/ssim/test_zimage_similarity.py
  • fastvideo/tests/stages/_denoising_fixtures.py
  • fastvideo/tests/stages/test_cfg_gating.py
  • fastvideo/tests/stages/test_lazy_module_load.py
  • fastvideo/tests/stages/test_minimax_h3_sequential_start.py
  • fastvideo/tests/stages/test_minimax_h3_vae_streaming.py
  • fastvideo/tests/stages/test_wan_causal_denoising.py
  • fastvideo/tests/stages/test_wan_denoising.py
  • fastvideo/tests/stages/test_wan_dmd_denoising.py
  • fastvideo/tests/stages/test_wan_pipeline_wiring.py
  • fastvideo/tests/train/methods/grad_norm_refs.json
  • fastvideo/tests/train/methods/grad_norm_regression.py
  • fastvideo/tests/train/methods/test_grad_norm_regression.py
  • fastvideo/tests/training/distill/test_anyflow_pretrain.py
  • fastvideo/tests/transformers/test_wanvideo.py
  • fastvideo/tests/vaes/test_minimax_h3_taeh3.py
  • fastvideo/tests/vaes/test_wan_vae.py
  • fastvideo/tests/vaes/test_wan_vae_compile.py
  • fastvideo/tests/worker/test_multiproc_executor.py
  • fastvideo/tests/worker/test_ray_distributed_executor.py
  • fastvideo/worker/multiproc_executor.py
  • fastvideo/worker/ray_distributed_executor.py
  • mkdocs.yml
  • pyproject.toml
  • scripts/checkpoint_conversion/convert_minimax_h3_mlx.py
  • scripts/demo_anyflow_14b.py
  • scripts/validate_wan.sh
  • scripts/verify_anyflow_fastvideo_parity.py
  • tests/bench_block_sparse_sm100a.py
  • tests/local_tests/README.md
  • tests/local_tests/dreamx_world/test_dreamx_world_pipeline_config.py
  • tests/local_tests/dreamx_world/test_dreamx_world_vae_parity.py
  • tests/local_tests/magi_human/test_magi_human_vae_parity.py
  • tests/local_tests/test_cookbook_serving.py
  • tests/local_tests/vaes/benchmark_minimax_h3_video_vae_memory.py
  • tests/local_tests/vaes/test_lingbot_video_vae_parity.py
  • tests/local_tests/wan22/README.md
  • tests/local_tests/wan22/test_i2v_record_no_clip.py
  • tests/test_block_sparse_bwd_sm100a.py
  • tests/test_block_sparse_sm100a.py
  • tests/test_block_sparse_sm100a_dispatch.py
  • tests/test_fasth3_packaging.py

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.