Skip to content

[REFACTOR][S-TIR] Migrate meta_schedule into s_tir namespace#18735

Merged
tqchen merged 1 commit into
apache:mainfrom
tqchen:ms-lift
Feb 8, 2026
Merged

[REFACTOR][S-TIR] Migrate meta_schedule into s_tir namespace#18735
tqchen merged 1 commit into
apache:mainfrom
tqchen:ms-lift

Conversation

@tqchen

@tqchen tqchen commented Feb 8, 2026

Copy link
Copy Markdown
Member

This PR migrates meta_schedule into the s_tir namespace.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @tqchen, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request performs a significant refactoring by moving the meta_schedule infrastructure into the s_tir namespace. This change improves the logical organization of the project, ensuring that components related to structural TIR are cohesively grouped. The migration involved extensive file renaming and updates to code references across both C++ and Python layers to align with the new hierarchical structure.

Highlights

  • Namespace Migration: The entire meta_schedule component has been migrated into the s_tir namespace, changing its full path from tvm.meta_schedule to tvm.s_tir.meta_schedule across the codebase.
  • File Renaming: All header files previously located under include/tvm/meta_schedule/ have been renamed and moved to include/tvm/s_tir/meta_schedule/. Similarly, Python files under python/tvm/meta_schedule/ are now under python/tvm/s_tir/meta_schedule/, and C++ source files under src/meta_schedule/ are now under src/s_tir/meta_schedule/.
  • Codebase Updates: Numerous code references have been updated, including C++ namespace declarations, FFI object registration strings (e.g., meta_schedule.ArgInfo to s_tir.meta_schedule.ArgInfo), Python import paths, and global FFI function calls to reflect the new namespace.
  • Build System Adjustment: The CMakeLists.txt file has been modified to remove the old src/meta_schedule glob and ensure proper inclusion of the newly structured src/s_tir directory.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • CMakeLists.txt
    • Removed src/auto_scheduler, src/meta_schedule, and src/autotvm from the COMPILER_SRCS glob pattern.
  • include/tvm/meta_schedule/*.h
    • Renamed all header files from include/tvm/meta_schedule/ to include/tvm/s_tir/meta_schedule/.
    • Updated include guards (e.g., TVM_META_SCHEDULE_ARG_INFO_H_ to TVM_S_TIR_META_SCHEDULE_ARG_INFO_H_).
    • Wrapped meta_schedule content within a new namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO and TVM_FFI_DECLARE_OBJECT_INFO_FINAL macros to use the s_tir.meta_schedule prefix.
  • python/tvm/contrib/hexagon/meta_schedule.py
    • Updated import statements from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • python/tvm/contrib/ndk.py
    • Changed register_global_func decorator from meta_schedule.builder.export_ndk to s_tir.meta_schedule.builder.export_ndk.
  • python/tvm/dlight/benchmark/bench.py
    • Updated imports from tvm.meta_schedule.runner to tvm.s_tir.meta_schedule.runner.
  • python/tvm/exec/gpu_memory_bandwidth.py
    • Updated imports from tvm.meta_schedule.runner to tvm.s_tir.meta_schedule.runner.
  • python/tvm/meta_schedule/init.py
    • Renamed file to python/tvm/s_tir/meta_schedule/__init__.py.
    • Updated package docstring to reflect tvm.s_tir.meta_schedule.
  • python/tvm/meta_schedule/_ffi_api.py
    • Renamed file to python/tvm/s_tir/meta_schedule/_ffi_api.py.
    • Updated docstring and tvm_ffi.init_ffi_api call to s_tir.meta_schedule.
  • python/tvm/meta_schedule/arg_info.py
    • Renamed file to python/tvm/s_tir/meta_schedule/arg_info.py.
    • Updated register_object decorators for ArgInfo and TensorInfo to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/builder/init.py
    • Renamed file to python/tvm/s_tir/meta_schedule/builder/__init__.py.
    • Updated package docstring to reflect tvm.s_tir.meta_schedule.builder.
  • python/tvm/meta_schedule/builder/builder.py
    • Renamed file to python/tvm/s_tir/meta_schedule/builder/builder.py.
    • Updated register_object decorators for BuilderInput, BuilderResult, Builder, and PyBuilder to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/builder/local_builder.py
    • Renamed file to python/tvm/s_tir/meta_schedule/builder/local_builder.py.
    • Updated relative import for contrib.popen_pool.
    • Changed register_global_func decorators for default_build, default_export, and get_local_builder to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/cost_model/init.py
    • Renamed file to python/tvm/s_tir/meta_schedule/cost_model/__init__.py.
    • Updated package docstring to reflect tvm.s_tir.meta_schedule.cost_model.
  • python/tvm/meta_schedule/cost_model/cost_model.py
    • Renamed file to python/tvm/s_tir/meta_schedule/cost_model/cost_model.py.
    • Updated register_object decorators for CostModel and PyCostModel to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/cost_model/mlp_model.py
    • Renamed file to python/tvm/s_tir/meta_schedule/cost_model/mlp_model.py.
    • Updated relative import for contrib.tar and runtime.
  • python/tvm/meta_schedule/cost_model/xgb_model.py
    • Renamed file to python/tvm/s_tir/meta_schedule/cost_model/xgb_model.py.
    • Updated relative import for contrib.tar and runtime.
  • python/tvm/meta_schedule/database/init.py
    • Renamed file to python/tvm/s_tir/meta_schedule/database/__init__.py.
    • Updated package docstring to reflect tvm.s_tir.meta_schedule.database.
  • python/tvm/meta_schedule/database/database.py
    • Renamed file to python/tvm/s_tir/meta_schedule/database/database.py.
    • Updated register_object decorators for Workload, TuningRecord, Database, and PyDatabase to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/database/json_database.py
    • Renamed file to python/tvm/s_tir/meta_schedule/database/json_database.py.
    • Updated register_object decorator for JSONDatabase to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/database/memory_database.py
    • Renamed file to python/tvm/s_tir/meta_schedule/database/memory_database.py.
    • Updated register_object decorator for MemoryDatabase to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/database/ordered_union_database.py
    • Renamed file to python/tvm/s_tir/meta_schedule/database/ordered_union_database.py.
    • Updated register_object decorator for OrderedUnionDatabase to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/database/schedule_fn_database.py
    • Renamed file to python/tvm/s_tir/meta_schedule/database/schedule_fn_database.py.
    • Updated register_object decorator for ScheduleFnDatabase to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/database/union_database.py
    • Renamed file to python/tvm/s_tir/meta_schedule/database/union_database.py.
    • Updated register_object decorator for UnionDatabase to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/extracted_task.py
    • Renamed file to python/tvm/s_tir/meta_schedule/extracted_task.py.
    • Updated register_object decorator for ExtractedTask to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/feature_extractor/init.py
    • Renamed file to python/tvm/s_tir/meta_schedule/feature_extractor/__init__.py.
    • Updated package docstring to reflect tvm.s_tir.meta_schedule.feature_extractor.
  • python/tvm/meta_schedule/feature_extractor/feature_extractor.py
    • Renamed file to python/tvm/s_tir/meta_schedule/feature_extractor/feature_extractor.py.
    • Updated register_object decorators for FeatureExtractor and PyFeatureExtractor to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/feature_extractor/per_store_feature.py
    • Renamed file to python/tvm/s_tir/meta_schedule/feature_extractor/per_store_feature.py.
    • Updated register_object decorator for PerStoreFeature to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/logging.py
    • Renamed file to python/tvm/s_tir/meta_schedule/logging.py.
    • Updated global logger name and formatter names to use tvm.s_tir.meta_schedule.
  • python/tvm/meta_schedule/measure_callback/init.py
    • Renamed file to python/tvm/s_tir/meta_schedule/measure_callback/__init__.py.
    • Updated package docstring to reflect tvm.s_tir.meta_schedule.measure_callback.
  • python/tvm/meta_schedule/measure_callback/add_to_database.py
    • Renamed file to python/tvm/s_tir/meta_schedule/measure_callback/add_to_database.py.
    • Updated register_object decorator for AddToDatabase to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/measure_callback/measure_callback.py
    • Renamed file to python/tvm/s_tir/meta_schedule/measure_callback/measure_callback.py.
    • Updated register_object decorators for MeasureCallback and PyMeasureCallback to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/measure_callback/remove_build_artifact.py
    • Renamed file to python/tvm/s_tir/meta_schedule/measure_callback/remove_build_artifact.py.
    • Updated register_object decorator for RemoveBuildArtifact to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/measure_callback/update_cost_model.py
    • Renamed file to python/tvm/s_tir/meta_schedule/measure_callback/update_cost_model.py.
    • Updated register_object decorator for UpdateCostModel to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/mutator/init.py
    • Renamed file to python/tvm/s_tir/meta_schedule/mutator/__init__.py.
    • Updated package docstring to reflect tvm.s_tir.meta_schedule.mutator.
  • python/tvm/meta_schedule/mutator/mutate_compute_location.py
    • Renamed file to python/tvm/s_tir/meta_schedule/mutator/mutate_compute_location.py.
    • Updated register_object decorator for MutateComputeLocation to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/mutator/mutate_parallel.py
    • Renamed file to python/tvm/s_tir/meta_schedule/mutator/mutate_parallel.py.
    • Updated register_object decorator for MutateParallel to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/mutator/mutate_thread_binding.py
    • Renamed file to python/tvm/s_tir/meta_schedule/mutator/mutate_thread_binding.py.
    • Updated register_object decorator for MutateThreadBinding to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/mutator/mutate_tile_size.py
    • Renamed file to python/tvm/s_tir/meta_schedule/mutator/mutate_tile_size.py.
    • Updated register_object decorator for MutateTileSize to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/mutator/mutate_unroll.py
    • Renamed file to python/tvm/s_tir/meta_schedule/mutator/mutate_unroll.py.
    • Updated register_object decorator for MutateUnroll to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/mutator/mutator.py
    • Renamed file to python/tvm/s_tir/meta_schedule/mutator/mutator.py.
    • Updated register_object decorator for Mutator and PyMutator to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/post_optimization/init.py
    • Renamed file to python/tvm/s_tir/meta_schedule/post_optimization/__init__.py.
    • Updated package docstring to reflect tvm.s_tir.meta_schedule.database (likely a copy-paste error in original, should be post_optimization).
  • python/tvm/meta_schedule/post_optimization/space.py
    • Renamed file to python/tvm/s_tir/meta_schedule/post_optimization/space.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • python/tvm/meta_schedule/postproc/init.py
    • Renamed file to python/tvm/s_tir/meta_schedule/postproc/__init__.py.
    • Updated package docstring to reflect tvm.s_tir.meta_schedule.postproc.
  • python/tvm/meta_schedule/postproc/disallow_async_strided_mem_copy.py
    • Renamed file to python/tvm/s_tir/meta_schedule/postproc/disallow_async_strided_mem_copy.py.
    • Updated register_object decorator for DisallowAsyncStridedMemCopy to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/postproc/disallow_dynamic_loop.py
    • Renamed file to python/tvm/s_tir/meta_schedule/postproc/disallow_dynamic_loop.py.
    • Updated register_object decorator for DisallowDynamicLoop to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/postproc/postproc.py
    • Renamed file to python/tvm/s_tir/meta_schedule/postproc/postproc.py.
    • Updated register_object decorators for Postproc and PyPostproc to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/postproc/rewrite_cooperative_fetch.py
    • Renamed file to python/tvm/s_tir/meta_schedule/postproc/rewrite_cooperative_fetch.py.
    • Updated register_object decorator for RewriteCooperativeFetch to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/postproc/rewrite_layout.py
    • Renamed file to python/tvm/s_tir/meta_schedule/postproc/rewrite_layout.py.
    • Updated register_object decorator for RewriteLayout to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/postproc/rewrite_parallel_vectorize_unroll.py
    • Renamed file to python/tvm/s_tir/meta_schedule/postproc/rewrite_parallel_vectorize_unroll.py.
    • Updated register_object decorator for RewriteParallelVectorizeUnroll to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/postproc/rewrite_reduction_block.py
    • Renamed file to python/tvm/s_tir/meta_schedule/postproc/rewrite_reduction_block.py.
    • Updated register_object decorator for RewriteReductionBlock to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/postproc/rewrite_tensorize.py
    • Renamed file to python/tvm/s_tir/meta_schedule/postproc/rewrite_tensorize.py.
    • Updated register_object decorator for RewriteTensorize to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/postproc/rewrite_unbound_block.py
    • Renamed file to python/tvm/s_tir/meta_schedule/postproc/rewrite_unbound_block.py.
    • Updated register_object decorator for RewriteUnboundBlock to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/postproc/verify_gpu_code.py
    • Renamed file to python/tvm/s_tir/meta_schedule/postproc/verify_gpu_code.py.
    • Updated register_object decorator for VerifyGPUCode to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/postproc/verify_vtcm_limit.py
    • Renamed file to python/tvm/s_tir/meta_schedule/postproc/verify_vtcm_limit.py.
    • Updated register_object decorator for VerifyVTCMLimit to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/profiler.py
    • Renamed file to python/tvm/s_tir/meta_schedule/profiler.py.
    • Updated register_object decorator for Profiler to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/relax_integration.py
    • Renamed file to python/tvm/s_tir/meta_schedule/relax_integration.py.
    • Changed register_global_func decorator from tvm.meta_schedule.tune_relax to tvm.s_tir.meta_schedule.tune_relax.
  • python/tvm/meta_schedule/runner/init.py
    • Renamed file to python/tvm/s_tir/meta_schedule/runner/__init__.py.
    • Updated package docstring to reflect tvm.s_tir.meta_schedule.runner.
  • python/tvm/meta_schedule/runner/local_runner.py
    • Renamed file to python/tvm/s_tir/meta_schedule/runner/local_runner.py.
    • Updated relative imports for contrib.popen_pool and runtime.
    • Changed register_global_func decorator from meta_schedule.runner.get_local_runner to s_tir.meta_schedule.runner.get_local_runner.
  • python/tvm/meta_schedule/runner/runner.py
    • Renamed file to python/tvm/s_tir/meta_schedule/runner/runner.py.
    • Updated register_object decorators for RunnerInput, RunnerResult, RunnerFuture, and Runner to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/runner/utils.py
    • Renamed file to python/tvm/s_tir/meta_schedule/runner/utils.py.
    • Updated relative import for runtime.
  • python/tvm/meta_schedule/schedule/cuda/layout_transform.py
    • Renamed file to python/tvm/s_tir/meta_schedule/schedule/cuda/layout_transform.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
    • Changed register_global_func decorator from meta_schedule.cuda.layout_transform to s_tir.meta_schedule.cuda.layout_transform.
  • python/tvm/meta_schedule/schedule_rule/init.py
    • Renamed file to python/tvm/s_tir/meta_schedule/schedule_rule/__init__.py.
    • Updated package docstring to reflect tvm.s_tir.meta_schedule.schedule_rule.
  • python/tvm/meta_schedule/schedule_rule/add_rfactor.py
    • Renamed file to python/tvm/s_tir/meta_schedule/schedule_rule/add_rfactor.py.
    • Updated register_object decorator for AddRFactor to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/schedule_rule/apply_custom_rule.py
    • Renamed file to python/tvm/s_tir/meta_schedule/schedule_rule/apply_custom_rule.py.
    • Updated register_object decorator for ApplyCustomRule to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/schedule_rule/auto_bind.py
    • Renamed file to python/tvm/s_tir/meta_schedule/schedule_rule/auto_bind.py.
    • Updated register_object decorator for AutoBind to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/schedule_rule/auto_inline.py
    • Renamed file to python/tvm/s_tir/meta_schedule/schedule_rule/auto_inline.py.
    • Updated register_object decorators for AutoInline and InlineConstantScalars to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/schedule_rule/cross_thread_reduction.py
    • Renamed file to python/tvm/s_tir/meta_schedule/schedule_rule/cross_thread_reduction.py.
    • Updated register_object decorator for CrossThreadReduction to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/schedule_rule/multi_level_tiling.py
    • Renamed file to python/tvm/s_tir/meta_schedule/schedule_rule/multi_level_tiling.py.
    • Updated register_object decorators for MultiLevelTiling, MultiLevelTilingWithIntrin, MultiLevelTilingTensorCore, and MultiLevelTilingWideVector to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/schedule_rule/parallel_vectorize_unroll.py
    • Renamed file to python/tvm/s_tir/meta_schedule/schedule_rule/parallel_vectorize_unroll.py.
    • Updated register_object decorator for ParallelizeVectorizeUnroll to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/schedule_rule/random_compute_location.py
    • Renamed file to python/tvm/s_tir/meta_schedule/schedule_rule/random_compute_location.py.
    • Updated register_object decorator for RandomComputeLocation to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/schedule_rule/schedule_rule.py
    • Renamed file to python/tvm/s_tir/meta_schedule/schedule_rule/schedule_rule.py.
    • Updated register_object decorators for ScheduleRule and PyScheduleRule to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/search_strategy/init.py
    • Renamed file to python/tvm/s_tir/meta_schedule/search_strategy/__init__.py.
    • Updated package docstring to reflect tvm.s_tir.meta_schedule.search_strategy.
  • python/tvm/meta_schedule/search_strategy/evolutionary_search.py
    • Renamed file to python/tvm/s_tir/meta_schedule/search_strategy/evolutionary_search.py.
    • Updated register_object decorator for EvolutionarySearch to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/search_strategy/replay_func.py
    • Renamed file to python/tvm/s_tir/meta_schedule/search_strategy/replay_func.py.
    • Updated register_object decorator for ReplayFunc to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/search_strategy/replay_trace.py
    • Renamed file to python/tvm/s_tir/meta_schedule/search_strategy/replay_trace.py.
    • Updated register_object decorator for ReplayTrace to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/search_strategy/search_strategy.py
    • Renamed file to python/tvm/s_tir/meta_schedule/search_strategy/search_strategy.py.
    • Updated register_object decorators for MeasureCandidate, SearchStrategy, and PySearchStrategy to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/space_generator/init.py
    • Renamed file to python/tvm/s_tir/meta_schedule/space_generator/__init__.py.
    • Updated package docstring to reflect tvm.s_tir.meta_schedule.space_generator.
    • Updated relative import for target.x86.
  • python/tvm/meta_schedule/space_generator/post_order_apply.py
    • Renamed file to python/tvm/s_tir/meta_schedule/space_generator/post_order_apply.py.
    • Updated register_object decorator for PostOrderApply to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/space_generator/schedule_fn.py
    • Renamed file to python/tvm/s_tir/meta_schedule/space_generator/schedule_fn.py.
    • Updated register_object decorator for ScheduleFn to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/space_generator/space_generator.py
    • Renamed file to python/tvm/s_tir/meta_schedule/space_generator/space_generator.py.
    • Updated register_object decorators for SpaceGenerator and PySpaceGenerator to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/space_generator/space_generator_union.py
    • Renamed file to python/tvm/s_tir/meta_schedule/space_generator/space_generator_union.py.
    • Updated register_object decorator for SpaceGeneratorUnion to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/task_scheduler/init.py
    • Renamed file to python/tvm/s_tir/meta_schedule/task_scheduler/__init__.py.
    • Updated package docstring to reflect tvm.s_tir.meta_schedule.task_scheduler.
  • python/tvm/meta_schedule/task_scheduler/gradient_based.py
    • Renamed file to python/tvm/s_tir/meta_schedule/task_scheduler/gradient_based.py.
    • Updated register_object decorator for GradientBased to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/task_scheduler/round_robin.py
    • Renamed file to python/tvm/s_tir/meta_schedule/task_scheduler/round_robin.py.
    • Updated register_object decorator for RoundRobin to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/task_scheduler/task_scheduler.py
    • Renamed file to python/tvm/s_tir/meta_schedule/task_scheduler/task_scheduler.py.
    • Updated register_object decorators for TaskRecord and TaskScheduler to use s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/testing/custom_builder_runner.py
    • Renamed file to python/tvm/s_tir/meta_schedule/testing/custom_builder_runner.py.
    • Updated import from tvm.meta_schedule.runner to tvm.s_tir.meta_schedule.runner.
  • python/tvm/meta_schedule/testing/distributed_measure_candidates.py
    • Renamed file to python/tvm/s_tir/meta_schedule/testing/distributed_measure_candidates.py.
    • Changed import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • python/tvm/meta_schedule/testing/space_generation.py
    • Renamed file to python/tvm/s_tir/meta_schedule/testing/space_generation.py.
    • Changed import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • python/tvm/meta_schedule/testing/tune_te.py
    • Renamed file to python/tvm/s_tir/meta_schedule/testing/tune_te.py.
    • Changed import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
    • Updated import for te_workload.
    • Updated logger name from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • python/tvm/meta_schedule/testing/validate_database.py
    • Renamed file to python/tvm/s_tir/meta_schedule/testing/validate_database.py.
    • Changed import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
    • Updated imports for remove_build_dir and generate_input_data.
    • Changed register_global_func decorators for default_check_metric and default_input_generator to use s_tir.meta_schedule prefix.
    • Updated logger names from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • python/tvm/meta_schedule/tir_integration.py
    • Renamed file to python/tvm/s_tir/meta_schedule/tir_integration.py.
    • Changed register_global_func decorator from tvm.meta_schedule.tune_tir to tvm.s_tir.meta_schedule.tune_tir.
    • Updated return type hint for compile_tir.
  • python/tvm/meta_schedule/trace_apply.py
    • Renamed file to python/tvm/s_tir/meta_schedule/trace_apply.py.
    • Updated relative import for target.
  • python/tvm/meta_schedule/tune_context.py
    • Renamed file to python/tvm/s_tir/meta_schedule/tune_context.py.
    • Changed register_global_func decorator from tvm.meta_schedule.normalize_mod to tvm.s_tir.meta_schedule.normalize_mod.
    • Updated register_object decorator for TuneContext to use s_tir.meta_schedule prefix.
    • Updated references to tvm.meta_schedule.database.MemoryDatabase and tvm.meta_schedule.cost_model.RandomModel to use tvm.s_tir.meta_schedule prefix.
  • python/tvm/meta_schedule/utils.py
    • Renamed file to python/tvm/s_tir/meta_schedule/utils.py.
    • Updated example register_object string from meta_schedule.PyRunner to s_tir.meta_schedule.PyRunner.
    • Changed register_global_func decorators for cpu_count, using_ipython, print_interactive_table, and remove_build_dir to use s_tir.meta_schedule prefix.
    • Updated shash2hex and _get_default_str to use s_tir.meta_schedule prefix.
  • python/tvm/relax/pipeline.py
    • Changed import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • python/tvm/runtime/support.py
    • Updated example register_object string from meta_schedule.PyRunner to s_tir.meta_schedule.PyRunner.
  • python/tvm/s_tir/init.py
    • Added from . import meta_schedule to expose the migrated module.
  • python/tvm/testing/runner.py
    • Updated imports from tvm.meta_schedule.runner to tvm.s_tir.meta_schedule.runner.
  • src/meta_schedule/arg_info.cc
    • Renamed file to src/s_tir/meta_schedule/arg_info.cc.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/builder/builder.cc
    • Renamed file to src/s_tir/meta_schedule/builder/builder.cc.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/cost_model/cost_model.cc
    • Renamed file to src/s_tir/meta_schedule/cost_model/cost_model.cc.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/database/database.cc
    • Renamed file to src/s_tir/meta_schedule/database/database.cc.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/database/database_utils.cc
    • Renamed file to src/s_tir/meta_schedule/database/database_utils.cc.
    • Updated include from ../../support/str_escape.h to ../../../support/str_escape.h.
    • Added namespace s_tir { ... } block.
  • src/meta_schedule/database/json_database.cc
    • Renamed file to src/s_tir/meta_schedule/database/json_database.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/database/memory_database.cc
    • Renamed file to src/s_tir/meta_schedule/database/memory_database.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/database/ordered_union_database.cc
    • Renamed file to src/s_tir/meta_schedule/database/ordered_union_database.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/database/schedule_fn_database.cc
    • Renamed file to src/s_tir/meta_schedule/database/schedule_fn_database.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/database/union_database.cc
    • Renamed file to src/s_tir/meta_schedule/database/union_database.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/extracted_task.cc
    • Renamed file to src/s_tir/meta_schedule/extracted_task.cc.
    • Updated include from tvm/meta_schedule/extracted_task.h to tvm/s_tir/meta_schedule/extracted_task.h.
    • Updated include from ../te/operation/create_primfunc.h to ../../te/operation/create_primfunc.h.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/feature_extractor/feature_extractor.cc
    • Renamed file to src/s_tir/meta_schedule/feature_extractor/feature_extractor.cc.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/feature_extractor/per_store_feature.cc
    • Renamed file to src/s_tir/meta_schedule/feature_extractor/per_store_feature.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL to use s_tir.meta_schedule prefix.
  • src/meta_schedule/measure_callback/add_to_database.cc
    • Renamed file to src/s_tir/meta_schedule/measure_callback/add_to_database.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/measure_callback/measure_callback.cc
    • Renamed file to src/s_tir/meta_schedule/measure_callback/measure_callback.cc.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/measure_callback/remove_build_artifact.cc
    • Renamed file to src/s_tir/meta_schedule/measure_callback/remove_build_artifact.cc.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function call for meta_schedule.remove_build_dir to s_tir.meta_schedule.remove_build_dir.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/measure_callback/update_cost_model.cc
    • Renamed file to src/s_tir/meta_schedule/measure_callback/update_cost_model.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/module_equality.cc
    • Renamed file to src/s_tir/meta_schedule/module_equality.cc.
    • Added namespace s_tir { ... } block.
  • src/meta_schedule/module_equality.h
    • Renamed file to src/s_tir/meta_schedule/module_equality.h.
    • Updated include guards and added namespace s_tir { ... } block.
  • src/meta_schedule/mutator/mutate_compute_location.cc
    • Renamed file to src/s_tir/meta_schedule/mutator/mutate_compute_location.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/mutator/mutate_parallel.cc
    • Renamed file to src/s_tir/meta_schedule/mutator/mutate_parallel.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/mutator/mutate_thread_binding.cc
    • Renamed file to src/s_tir/meta_schedule/mutator/mutate_thread_binding.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/mutator/mutate_tile_size.cc
    • Renamed file to src/s_tir/meta_schedule/mutator/mutate_tile_size.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/mutator/mutate_unroll.cc
    • Renamed file to src/s_tir/meta_schedule/mutator/mutate_unroll.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/mutator/mutator.cc
    • Renamed file to src/s_tir/meta_schedule/mutator/mutator.cc.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/postproc/disallow_async_strided_mem_copy.cc
    • Renamed file to src/s_tir/meta_schedule/postproc/disallow_async_strided_mem_copy.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/postproc/disallow_dynamic_loop.cc
    • Renamed file to src/s_tir/meta_schedule/postproc/disallow_dynamic_loop.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/postproc/postproc.cc
    • Renamed file to src/s_tir/meta_schedule/postproc/postproc.cc.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/postproc/rewrite_cooperative_fetch.cc
    • Renamed file to src/s_tir/meta_schedule/postproc/rewrite_cooperative_fetch.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/postproc/rewrite_layout.cc
    • Renamed file to src/s_tir/meta_schedule/postproc/rewrite_layout.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/postproc/rewrite_parallel_vectorize_unroll.cc
    • Renamed file to src/s_tir/meta_schedule/postproc/rewrite_parallel_vectorize_unroll.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/postproc/rewrite_reduction_block.cc
    • Renamed file to src/s_tir/meta_schedule/postproc/rewrite_reduction_block.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/postproc/rewrite_tensorize.cc
    • Renamed file to src/s_tir/meta_schedule/postproc/rewrite_tensorize.cc.
    • Updated include from tvm/meta_schedule/postproc.h to tvm/s_tir/meta_schedule/postproc.h.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/postproc/rewrite_unbound_block.cc
    • Renamed file to src/s_tir/meta_schedule/postproc/rewrite_unbound_block.cc.
    • Updated include from tvm/meta_schedule/schedule/cuda/thread_bind.h to tvm/s_tir/meta_schedule/schedule/cuda/thread_bind.h.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/postproc/verify_gpu_code.cc
    • Renamed file to src/s_tir/meta_schedule/postproc/verify_gpu_code.cc.
    • Added namespace s_tir { ... } block.
    • Updated transform::PassContext to tvm::transform::PassContext.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/postproc/verify_vtcm_limit.cc
    • Renamed file to src/s_tir/meta_schedule/postproc/verify_vtcm_limit.cc.
    • Added namespace s_tir { ... } block.
    • Updated transform::PassContext to tvm::transform::PassContext.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/profiler.cc
    • Renamed file to src/s_tir/meta_schedule/profiler.cc.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/runner/runner.cc
    • Renamed file to src/s_tir/meta_schedule/runner/runner.cc.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/schedule/cpu/winograd.cc
    • Renamed file to src/s_tir/meta_schedule/schedule/cpu/winograd.cc.
    • Updated include from tvm/meta_schedule/schedule/generic/winograd.h to tvm/s_tir/meta_schedule/schedule/generic/winograd.h.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/schedule/cuda/thread_bind.cc
    • Renamed file to src/s_tir/meta_schedule/schedule/cuda/thread_bind.cc.
    • Updated include from tvm/meta_schedule/schedule/cuda/thread_bind.h to tvm/s_tir/meta_schedule/schedule/cuda/thread_bind.h.
    • Added namespace s_tir { ... } block.
  • src/meta_schedule/schedule/cuda/winograd.cc
    • Renamed file to src/s_tir/meta_schedule/schedule/cuda/winograd.cc.
    • Updated includes from tvm/meta_schedule/schedule/cuda/thread_bind.h and tvm/meta_schedule/schedule/generic/winograd.h to tvm/s_tir/meta_schedule/schedule/cuda/thread_bind.h and tvm/s_tir/meta_schedule/schedule/generic/winograd.h respectively.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/schedule/generic/winograd.cc
    • Renamed file to src/s_tir/meta_schedule/schedule/generic/winograd.cc.
    • Updated include from tvm/meta_schedule/schedule/generic/winograd.h to tvm/s_tir/meta_schedule/schedule/generic/winograd.h.
    • Added namespace s_tir { ... } block.
  • src/meta_schedule/schedule_rule/add_rfactor.cc
    • Renamed file to src/s_tir/meta_schedule/schedule_rule/add_rfactor.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/schedule_rule/apply_custom_rule.cc
    • Renamed file to src/s_tir/meta_schedule/schedule_rule/apply_custom_rule.cc.
    • Added namespace s_tir { ... } block.
    • Updated GetCustomRuleName to use s_tir.meta_schedule prefix.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/schedule_rule/auto_bind.cc
    • Renamed file to src/s_tir/meta_schedule/schedule_rule/auto_bind.cc.
    • Updated include from tvm/meta_schedule/schedule/cuda/thread_bind.h to tvm/s_tir/meta_schedule/schedule/cuda/thread_bind.h.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/schedule_rule/auto_inline.cc
    • Renamed file to src/s_tir/meta_schedule/schedule_rule/auto_inline.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/schedule_rule/cross_thread_reduction.cc
    • Renamed file to src/s_tir/meta_schedule/schedule_rule/cross_thread_reduction.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/schedule_rule/multi_level_tiling.cc
    • Renamed file to src/s_tir/meta_schedule/schedule_rule/multi_level_tiling.cc.
    • Updated include from tvm/meta_schedule/schedule_rule.h to tvm/s_tir/meta_schedule/schedule_rule.h.
    • Added namespace s_tir { ... } block.
    • Updated s_tir::GetAnn call to use s_tir.meta_schedule.write_cache_level.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/schedule_rule/multi_level_tiling.h
    • Renamed file to src/s_tir/meta_schedule/schedule_rule/multi_level_tiling.h.
    • Updated include guards and include from tvm/meta_schedule/schedule_rule.h to tvm/s_tir/meta_schedule/schedule_rule.h.
    • Updated relative include for support/array.h.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO to use s_tir.meta_schedule prefix.
  • src/meta_schedule/schedule_rule/multi_level_tiling_tensor_core.cc
    • Renamed file to src/s_tir/meta_schedule/schedule_rule/multi_level_tiling_tensor_core.cc.
    • Updated include from tvm/meta_schedule/schedule_rule.h to tvm/s_tir/meta_schedule/schedule_rule.h.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/schedule_rule/multi_level_tiling_wide_vector.cc
    • Renamed file to src/s_tir/meta_schedule/schedule_rule/multi_level_tiling_wide_vector.cc.
    • Updated relative includes for schedule/analysis.h and schedule/transform.h.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/schedule_rule/multi_level_tiling_with_intrin.cc
    • Renamed file to src/s_tir/meta_schedule/schedule_rule/multi_level_tiling_with_intrin.cc.
    • Updated relative includes for schedule/analysis.h and schedule/transform.h.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/schedule_rule/parallel_vectorize_unroll.cc
    • Renamed file to src/s_tir/meta_schedule/schedule_rule/parallel_vectorize_unroll.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/schedule_rule/random_compute_location.cc
    • Renamed file to src/s_tir/meta_schedule/schedule_rule/random_compute_location.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/schedule_rule/schedule_rule.cc
    • Renamed file to src/s_tir/meta_schedule/schedule_rule/schedule_rule.cc.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/search_strategy/evolutionary_search.cc
    • Renamed file to src/s_tir/meta_schedule/search_strategy/evolutionary_search.cc.
    • Added namespace s_tir { ... } block.
    • Updated error messages to refer to tvm.s_tir.meta_schedule.database.MemoryDatabase and tvm.s_tir.meta_schedule.cost_model.RandomModel.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/search_strategy/replay_func.cc
    • Renamed file to src/s_tir/meta_schedule/search_strategy/replay_func.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/search_strategy/replay_trace.cc
    • Renamed file to src/s_tir/meta_schedule/search_strategy/replay_trace.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/search_strategy/search_strategy.cc
    • Renamed file to src/s_tir/meta_schedule/search_strategy/search_strategy.cc.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/space_generator/post_order_apply.cc
    • Renamed file to src/s_tir/meta_schedule/space_generator/post_order_apply.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/space_generator/schedule_fn.cc
    • Renamed file to src/s_tir/meta_schedule/space_generator/schedule_fn.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/space_generator/space_generator.cc
    • Renamed file to src/s_tir/meta_schedule/space_generator/space_generator.cc.
    • Updated include from ../../target/parsers/aprofile.h to ../../../target/parsers/aprofile.h.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/space_generator/space_generator_union.cc
    • Renamed file to src/s_tir/meta_schedule/space_generator/space_generator_union.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/task_scheduler/gradient_based.cc
    • Renamed file to src/s_tir/meta_schedule/task_scheduler/gradient_based.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/task_scheduler/round_robin.cc
    • Renamed file to src/s_tir/meta_schedule/task_scheduler/round_robin.cc.
    • Added namespace s_tir { ... } block.
    • Updated TVM_FFI_DECLARE_OBJECT_INFO_FINAL and FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/task_scheduler/task_scheduler.cc
    • Renamed file to src/s_tir/meta_schedule/task_scheduler/task_scheduler.cc.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/trace_apply.cc
    • Renamed file to src/s_tir/meta_schedule/trace_apply.cc.
    • Updated relative include for schedule/analysis.h.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/trace_apply.h
    • Renamed file to src/s_tir/meta_schedule/trace_apply.h.
    • Updated include guards and include from tvm/meta_schedule/schedule_rule.h to tvm/s_tir/meta_schedule/schedule_rule.h.
    • Added namespace s_tir { ... } block.
  • src/meta_schedule/tune_context.cc
    • Renamed file to src/s_tir/meta_schedule/tune_context.cc.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function registrations to use s_tir.meta_schedule prefix.
  • src/meta_schedule/utils.h
    • Renamed file to src/s_tir/meta_schedule/utils.h.
    • Updated include guards and all tvm/meta_schedule/ includes to tvm/s_tir/meta_schedule/.
    • Updated relative includes for schedule/primitive.h, schedule/utils.h, support/array.h, support/base64.h, support/nd_int_set.h, support/table_printer.h, support/utils.h.
    • Updated TVM_PY_LOG macro and clear_logging environment variable check.
    • Added namespace s_tir { ... } block.
    • Updated FFI global function calls for meta_schedule.using_ipython, meta_schedule.print_interactive_table, and meta_schedule.cpu_count to use s_tir.meta_schedule prefix.
    • Updated rule->GetTypeKey() check for meta_schedule.AutoInline to s_tir.meta_schedule.AutoInline.
  • src/relax/backend/task_extraction.cc
    • Updated includes from tvm/meta_schedule/ to tvm/s_tir/meta_schedule/.
    • Updated using declarations for meta_schedule components to s_tir::meta_schedule.
    • Changed FFI global function call for tvm.meta_schedule.normalize_mod to tvm.s_tir.meta_schedule.normalize_mod.
  • src/relax/transform/few_shot_tuning.cc
    • Updated include from ../../meta_schedule/utils.h to ../../s_tir/meta_schedule/utils.h.
    • Changed FFI global function calls for meta_schedule.builder.get_local_builder, meta_schedule.runner.get_local_runner, meta_schedule.cpu_count, meta_schedule.TuneContext, meta_schedule.SpaceGenerator::PostOrderApply, and meta_schedule.SearchStrategy::ReplayTrace to use s_tir.meta_schedule prefix.
  • src/relax/transform/meta_schedule.cc
    • Updated includes from tvm/meta_schedule/ to tvm/s_tir/meta_schedule/.
    • Updated includes from ../src/meta_schedule/ to ../../s_tir/meta_schedule/.
    • Changed FFI global function calls for tvm.meta_schedule.normalize_mod, tvm.meta_schedule.tune_relax, tvm.meta_schedule.tune_tir, meta_schedule::Database::JSONDatabase, meta_schedule::ModuleEquality::Create, and meta_schedule::ScheduleUsingAnchorTrace to use s_tir.meta_schedule prefix.
  • src/tir/transforms/default_gpu_schedule.cc
    • Updated include from ../../meta_schedule/utils.h to ../../s_tir/meta_schedule/utils.h.
    • Updated meta_schedule::SBlockCollector::Collect(sch) to s_tir::meta_schedule::SBlockCollector::Collect(sch).
  • tests/python/contrib/test_android/infrastructure.py
    • Updated import from tvm.meta_schedule.runner to tvm.s_tir.meta_schedule.runner.
  • tests/python/contrib/test_android/test_meta_schedule.py
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
    • Updated LocalBuilder f_export argument from meta_schedule.builder.export_ndk to s_tir.meta_schedule.builder.export_ndk.
  • tests/python/contrib/test_hexagon/test_meta_schedule.py
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/dlight/test_benchmark.py
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_arg_info.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_arg_info.py.
    • Updated import from tvm.meta_schedule.arg_info to tvm.s_tir.meta_schedule.arg_info.
  • tests/python/meta_schedule/test_meta_schedule_builder.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_builder.py.
    • Updated import from tvm.meta_schedule.builder to tvm.s_tir.meta_schedule.builder.
  • tests/python/meta_schedule/test_meta_schedule_cost_model.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_cost_model.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
    • Updated regex pattern for NotSoFancyCostModel to match s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_database.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_database.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_feature_extractor.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_feature_extractor.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
    • Updated regex pattern for NotSoFancyFeatureExtractor to match s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_feature_extractor_per_store_feature.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_feature_extractor_per_store_feature.py.
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/meta_schedule/test_meta_schedule_measure_callback.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_measure_callback.py.
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
    • Updated regex pattern for NotSoFancyMeasureCallback to match s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_mutator_mutate_compute_location.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_mutator_mutate_compute_location.py.
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/meta_schedule/test_meta_schedule_mutator_mutate_parallel.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_mutator_mutate_parallel.py.
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/meta_schedule/test_meta_schedule_mutator_mutate_thread_binding.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_mutator_mutate_thread_binding.py.
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/meta_schedule/test_meta_schedule_mutator_mutate_tile_size.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_mutator_mutate_tile_size.py.
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/meta_schedule/test_meta_schedule_mutator_mutate_unroll.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_mutator_mutate_unroll.py.
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/meta_schedule/test_meta_schedule_post_order_apply.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_post_order_apply.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_postproc_disallow_async_strided_mem_copy.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_postproc_disallow_async_strided_mem_copy.py.
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/meta_schedule/test_meta_schedule_postproc_disallow_dynamic_loop.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_postproc_disallow_dynamic_loop.py.
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/meta_schedule/test_meta_schedule_postproc_rewrite_cooperative_fetch.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_postproc_rewrite_cooperative_fetch.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_postproc_rewrite_layout.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_postproc_rewrite_layout.py.
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/meta_schedule/test_meta_schedule_postproc_rewrite_parallel_vectorize_unroll.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_postproc_rewrite_parallel_vectorize_unroll.py.
    • Updated import from tvm.meta_schedule.postproc to tvm.s_tir.meta_schedule.postproc.
  • tests/python/meta_schedule/test_meta_schedule_postproc_rewrite_reduction_block.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_postproc_rewrite_reduction_block.py.
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/meta_schedule/test_meta_schedule_postproc_rewrite_tensorize.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_postproc_rewrite_tensorize.py.
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/meta_schedule/test_meta_schedule_postproc_rewrite_unbound_block.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_postproc_rewrite_unbound_block.py.
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/meta_schedule/test_meta_schedule_postproc_verify_gpu_code.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_postproc_verify_gpu_code.py.
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/meta_schedule/test_meta_schedule_postproc_verify_vtcm_limit.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_postproc_verify_vtcm_limit.py.
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/meta_schedule/test_meta_schedule_profiler.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_profiler.py.
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/meta_schedule/test_meta_schedule_runner.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_runner.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
    • Updated register_global_func decorators to use s_tir.meta_schedule prefix.
  • tests/python/meta_schedule/test_meta_schedule_schedule_rule_add_rfactor.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_schedule_rule_add_rfactor.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_schedule_rule_apply_custom_rule.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_schedule_rule_apply_custom_rule.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
    • Updated register_global_func decorator and error message to use s_tir.meta_schedule prefix.
  • tests/python/meta_schedule/test_meta_schedule_schedule_rule_auto_bind.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_schedule_rule_auto_bind.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_schedule_rule_auto_inline.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_schedule_rule_auto_inline.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_schedule_rule_cross_thread_reduction.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_schedule_rule_cross_thread_reduction.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_schedule_rule_mlt.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_schedule_rule_mlt.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_schedule_rule_mlt_intrin.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_schedule_rule_mlt_intrin.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_schedule_rule_mlt_tc.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_schedule_rule_mlt_tc.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_schedule_rule_parallel_vectorize_unroll.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_schedule_rule_parallel_vectorize_unroll.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_schedule_rule_random_compute_location.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_schedule_rule_random_compute_location.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_search_strategy.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_search_strategy.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_space_cpu.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_space_cpu.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_space_cuda.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_space_cuda.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_space_cuda_async.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_space_cuda_async.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_space_cuda_async_multiple_initialization.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_space_cuda_async_multiple_initialization.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_space_generator.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_space_generator.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_space_post_opt.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_space_post_opt.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_task_scheduler.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_task_scheduler.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_trace_apply.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_trace_apply.py.
    • Updated import from tvm.meta_schedule as ms to tvm.s_tir.meta_schedule as ms.
  • tests/python/meta_schedule/test_meta_schedule_tune_context.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_tune_context.py.
    • Updated import from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/meta_schedule/test_meta_schedule_tune_tir.py
    • Renamed file to tests/python/s_tir/meta_schedule/test_meta_schedule_tune_tir.py.
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/relax/test_frontend_dynamo.py
    • Updated import from tvm import relax, meta_schedule as ms, tir to from tvm.s_tir import meta_schedule as ms.
  • tests/python/relax/test_meta_schedule_relax_integration.py
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/relax/test_transform_few_shot_tuning.py
    • Updated imports from tvm.meta_schedule to tvm.s_tir.meta_schedule.
  • tests/python/relax/test_transform_meta_schedule_apply_database.py
    • Updated import from tvm import meta_schedule as ms to from tvm.s_tir import meta_schedule as ms.
  • tests/python/relax/test_transform_meta_schedule_tuning.py
    • Updated import from tvm.meta_schedule as ms to tvm.s_tir.meta_schedule as ms.
  • tests/python/s_tir/schedule/test_tir_schedule_analysis.py
    • Updated import from tvm.meta_schedule.testing to tvm.s_tir.meta_schedule.testing.
  • tests/python/s_tir/transform/test_s_tir_transform_inject_software_pipeline.py
    • Updated import from tvm.meta_schedule.testing to tvm.s_tir.meta_schedule.testing.
  • tests/python/tir-analysis/test_tir_analysis_estimate_tir_flops.py
    • Updated import from tvm.meta_schedule.testing to tvm.s_tir.meta_schedule.testing.
  • tests/python/tir-base/test_tir_host_func.py
    • Updated import from tvm.meta_schedule.testing to tvm.s_tir.meta_schedule.testing.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request undertakes a significant refactoring to migrate the meta_schedule module into the s_tir namespace. The changes are extensive, involving file moves, namespace updates in C++ and Python code, and adjustments to build configurations. Overall, the migration appears to be thorough. I've identified a critical issue where an FFI function registration was accidentally removed, which would break Python bindings. I also have a concern about the scope of changes in CMakeLists.txt. Please see my detailed comments.

return TuningRecord(trace, workload, run_secs, target, args_info);
})
.def_method("meta_schedule.TuningRecordAsMeasureCandidate",
.def_method("s_tir.meta_schedule.TuningRecordAsMeasureCandidate",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The FFI registration for TuningRecordAsMeasureCandidate seems to have been accidentally removed instead of being renamed. This will break the TuningRecord.as_measure_candidate() method in Python. Please add it back.

Suggested change
.def_method("s_tir.meta_schedule.TuningRecordAsMeasureCandidate",
.def_method("s_tir.meta_schedule.TuningRecordAsMeasureCandidate", &TuningRecordNode::AsMeasureCandidate)
.def_method("s_tir.meta_schedule.TuningRecordAsJSON", &TuningRecordNode::AsJSON)

Comment thread CMakeLists.txt

# Source file lists
tvm_file_glob(GLOB_RECURSE COMPILER_SRCS
src/auto_scheduler/*.cc

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The removal of src/auto_scheduler/*.cc (and src/autotvm/*.cc on line 299) seems out of scope for a PR that is migrating meta_schedule. If this is intended, it would be better to move this change to a separate PR with a more descriptive title to avoid confusion.

This PR migrates meta_schedule into the s_tir namespace.

@guan404ming guan404ming left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the great work! LGTM

@tqchen tqchen merged commit 2e34d8b into apache:main Feb 8, 2026
13 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.

3 participants