[v1]: Add v1 mirrors for unit tests#380
Open
Ratish1 wants to merge 5 commits intosgl-project:mainfrom
Open
Conversation
658b608 to
282e442
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
I mirrored the non-Ming bucket-1 unit tests from #335 into the v1 test surface so Stage A v1 CI can protect the equivalent contracts while the v0 tests continue to protect the legacy stack during migration.
Modifications
Coordinator,SimpleScheduler, andOmniSchedulerinbox/outbox contracts instead of porting v0 scheduler internals directly.test_mem_fraction_static.pyas v0-only because v1 does not currently have theencoder_mem_reservehelper; v1 only has genericmem_fraction_staticServerArgs construction.Bucket Checklist
test_cache_key.pytest_cli_version_dispatch.pytest_code2wav_executor.pytest_code_predictor_executor.pytest_direct_model_executor.pyDirectModelExecutortest_factory.pyconfig sliceQwen3OmniSpeechPipelineConfigand CLI override helpers; legacy TP rejection becomes v1 explicit GPU-list acceptance plus GPU-count mismatch rejectiontests/test_v1_qwen3_config.pytest_factory.pyassembly sliceengines.omni.factorycounterparttest_ipc_runtime_dir.pytest_mem_fraction_static.pyencoder_mem_reservehelper; v1 only has genericmem_fraction_staticServerArgs constructiontest_ming_architecture_resolution.pytest_ming_config.pytest_ming_tokenizer_loading.pytest_ming_asr.pytest_ming_omni_talker.pytest_ming_omni_vision_e2e.pytest_ming_talker_concurrent.pytest_model_path_resolution.pypreprocessor/weight/cache/cost groupstests/test_v1_model_path_resolution.pytest_model_path_resolution.pyencoder executor wiringtest_model_worker_ports.py_resolve_nccl_porttests/test_v1_model_worker_ports.pytest_omni_engine.pytest_openai_api.pytests/test_v1_openai_api.pytest_real_code2wav_parity.py_forward_batchtest_registry_import_pipeline_configs.pytests/test_v1_registry_import_pipeline_configs.pytest_relay_unified.pytests/test_v1_relay_unified.pytest_relay_unified_multiprocess.pytests/test_v1_relay_unified_multiprocess.pytest_s2pro_streaming.pytest_scheduler.pyCoordinatorterminal completion andSimpleSchedulerbatch-cost contracttests/test_v1_scheduler.pytest_scheduler_streaming.pytests/test_v1_scheduler_streaming.pytest_stream_queue.pytests/test_v1_stream_queue.pytest_talker_error_propagation.pyMing parttest_talker_error_propagation.pyQwen3 parttest_tp_batch_serialization.pytest_tp_follower.pytest_tts_playground_client.pytest_tts_playground_streaming.pytest_tts_playground_ui.pytest_video_frontend.pytests/test_v1_video_frontend.pyTesting
v1 Tests PASSED