Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MetaSchedule][UX] Convenient Object Creation #12643

Merged

Commits on Sep 2, 2022

  1. [MetaSchedule][UX] Convenient Object Creation

    This PR introduces a set of `.create` methods making it easier to create
    MetaSchedule objects.
    
    For example:
    
    ```python
    ms.database.JSONDatabase(...)
    ms.database.create("json")
    
    ms.runner.RPCRunner(...)
    ms.runner.create("rpc")
    ```
    
    Besides, this PR allows `JSONDatabase` to be created via `work_dir`:
    
    ```python
    db = ms.database.create("json", work_dir="/path/to/db/")
    db = ms.database.create(work_dir="/path/to/db/")  # or even simpler
    ```
    junrushao committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    6aa8638 View commit details
    Browse the repository at this point in the history