Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 91 additions & 0 deletions docs/reference/api/python/meta_schedule.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,94 @@ tvm.meta_schedule
:members:
:imported-members:
:autosummary:

tvm.meta_schedule.arg_info
---------------------------
.. automodule:: tvm.meta_schedule.arg_info
:members:
:imported-members:
:autosummary:

tvm.meta_schedule.builder
-------------------------
.. automodule:: tvm.meta_schedule.builder
:members:
:imported-members:
:autosummary:

tvm.meta_schedule.runner
------------------------
.. automodule:: tvm.meta_schedule.runner
:members:
:imported-members:
:autosummary:

tvm.meta_schedule.database
--------------------------
.. automodule:: tvm.meta_schedule.database
:members:
:imported-members:
:autosummary:

tvm.meta_schedule.cost_model
----------------------------
.. automodule:: tvm.meta_schedule.cost_model
:members:
:imported-members:
:autosummary:

tvm.meta_schedule.feature_extractor
-----------------------------------
.. automodule:: tvm.meta_schedule.feature_extractor
:members:
:imported-members:
:autosummary:

tvm.meta_schedule.measure_callback
----------------------------------
.. automodule:: tvm.meta_schedule.measure_callback
:members:
:imported-members:
:autosummary:

tvm.meta_schedule.mutator
-------------------------
.. automodule:: tvm.meta_schedule.mutator
:members:
:imported-members:
:autosummary:

tvm.meta_schedule.postproc
--------------------------
.. automodule:: tvm.meta_schedule.postproc
:members:
:imported-members:
:autosummary:

tvm.meta_schedule.schedule_rule
-------------------------------
.. automodule:: tvm.meta_schedule.schedule_rule
:members:
:imported-members:
:autosummary:

tvm.meta_schedule.search_strategy
---------------------------------
.. automodule:: tvm.meta_schedule.search_strategy
:members:
:imported-members:
:autosummary:

tvm.meta_schedule.space_generator
---------------------------------
.. automodule:: tvm.meta_schedule.space_generator
:members:
:imported-members:
:autosummary:

tvm.meta_schedule.task_scheduler
--------------------------------
.. automodule:: tvm.meta_schedule.task_scheduler
:members:
:imported-members:
:autosummary:
2 changes: 1 addition & 1 deletion python/tvm/meta_schedule/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
from .search_strategy import MeasureCandidate, SearchStrategy
from .space_generator import SpaceGenerator
from .task_scheduler import TaskScheduler
from .tir_integration import tune_tir
from .tir_integration import tune_tir, compile_tir
from .tune import tune_tasks
from .tune_context import TuneContext
from .utils import derived_object
1 change: 1 addition & 0 deletions python/tvm/meta_schedule/database/json_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class JSONDatabase(Database):
module_equality : Optional[str]
A string to specify the module equality testing and hashing method.
It must be one of the followings:

- "structural": Use StructuralEqual/Hash
- "ignore-ndarray": Same as "structural", but ignore ndarray raw data during
equality testing and hashing.
Expand Down
1 change: 1 addition & 0 deletions python/tvm/meta_schedule/database/memory_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class MemoryDatabase(Database):
module_equality : Optional[str]
A string to specify the module equality testing and hashing method.
It must be one of the followings:

- "structural": Use StructuralEqual/Hash
- "ignore-ndarray": Same as "structural", but ignore ndarray raw data during
equality testing and hashing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ class OrderedUnionDatabase(Database):
)
# returns the better one between r3 and r4
merged_db.query_tuning_record(..., target_workload)

"""

def __init__(self, *databases: Database) -> None:
Expand Down
1 change: 1 addition & 0 deletions python/tvm/meta_schedule/database/schedule_fn_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class ScheduleFnDatabase(Database):
module_equality : Optional[str]
A string to specify the module equality testing and hashing method.
It must be one of the followings:

- "structural": Use StructuralEqual/Hash
- "ignore-ndarray": Same as "structural", but ignore ndarray raw data during
equality testing and hashing.
Expand Down
2 changes: 2 additions & 0 deletions python/tvm/meta_schedule/relay_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ def extract_tasks(
module_equality : Optional[str]
A string to specify the module equality testing and hashing method.
It must be one of the followings:

- "structural": Use StructuralEqual/Hash
- "ignore-ndarray": Same as "structural", but ignore ndarray raw data during
equality testing and hashing.
Expand Down Expand Up @@ -315,6 +316,7 @@ def tune_relay(
module_equality : Optional[str]
A string to specify the module equality testing and hashing method.
It must be one of the followings:

- "structural": Use StructuralEqual/Hash
- "ignore-ndarray": Same as "structural", but ignore ndarray raw data during
equality testing and hashing.
Expand Down