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

[microTVM] Add support for AutoTVM #8715

Merged
merged 78 commits into from
Sep 9, 2021

Commits on Aug 4, 2021

  1. Configuration menu
    Copy the full SHA
    a9a67ef View commit details
    Browse the repository at this point in the history
  2. initial commit of api client

    areusch committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    14678ab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    98f3468 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    687d4d5 View commit details
    Browse the repository at this point in the history
  5. Rework how crt_config.h is used on the host.

     * use template crt_config.h for host test runtime; delete
       src/runtime/crt/host/crt_config.h so that it doesn't diverge from
       the template
     * bring template crt_config.h inline with the one actually in use
      * rename to MAX_STRLEN_DLTYPE
     * Create a dedicated TVM-side host crt_config.h in src/runtime/micro
    areusch committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    a091433 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f3fb2c0 View commit details
    Browse the repository at this point in the history
  7. Add host microTVM API server

    areusch committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    0ffb0c3 View commit details
    Browse the repository at this point in the history
  8. Zephyr implementation of microTVM API server

     * move all zephyr projects to apps/microtvm/zephyr/template_project
    areusch committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    cffa8f9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    26e78ca View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3d97f6a View commit details
    Browse the repository at this point in the history
  11. Update unit tests

    areusch committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    142bc0e View commit details
    Browse the repository at this point in the history
  12. fix incorrect doc

    areusch committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    8678346 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ef0d331 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b739908 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    cab83a9 View commit details
    Browse the repository at this point in the history
  16. lint

    areusch committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    1d09e96 View commit details
    Browse the repository at this point in the history
  17. ASF header

    areusch committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    9d79ef7 View commit details
    Browse the repository at this point in the history
  18. address gromero comments

    areusch committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    367525c View commit details
    Browse the repository at this point in the history
  19. final fixes?

    areusch committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    2da7b1b View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2021

  1. fix is_shutdown

    areusch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    c4efe81 View commit details
    Browse the repository at this point in the history
  2. fix user-facing API

    areusch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    b340703 View commit details
    Browse the repository at this point in the history
  3. fix TempDirectory / operator

    areusch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    adcfe4b View commit details
    Browse the repository at this point in the history
  4. Update micro_tflite tutorial

    areusch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    226082d View commit details
    Browse the repository at this point in the history
  5. lint

    areusch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    1780f91 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8e39635 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0ea7bd7 View commit details
    Browse the repository at this point in the history
  8. lint

    areusch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    ac61a56 View commit details
    Browse the repository at this point in the history
  9. fix more tests

    areusch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    9e32c8e View commit details
    Browse the repository at this point in the history
  10. Add session_constructor_args to tracker request() function.

     * Allows tracker clients to open non-traditional RPC sessions
    areusch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    8de0606 View commit details
    Browse the repository at this point in the history
  11. Generate entry_func symbol in C host codegen.

     * Needed for AutoTVM.
    areusch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    7853a4f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    891c91d View commit details
    Browse the repository at this point in the history
  13. Add microTVM session constructor.

     * This constructor is to be called from the RPC driver to flash and
       connect to the RPC server on the microcontroller.
    areusch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    9cbfae1 View commit details
    Browse the repository at this point in the history
  14. add build_kwargs as a Builder constructor arg.

     * build_kwargs is derived from pre-configured args, the runner, and
       now from the script.
     * user-supplied build kwargs override the other two, and a warning is
       printed if any key is overridden.
    areusch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    57dd7c1 View commit details
    Browse the repository at this point in the history
  15. Add do_fork option to Builder, to support stateful builders

     * When AutoTVM builder forks, any global state modified by the
       build_func is lost between builds
    areusch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    c3f287f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    82a32ca View commit details
    Browse the repository at this point in the history
  17. Import micro into top-level when enabled.

     * AutoTVM RPC server needs to load the micro session constructor.
    areusch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    90317d4 View commit details
    Browse the repository at this point in the history
  18. Add tvm.contrib.random.random_fill to microTVM.

     * Allows autotuning with random data.
    areusch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    5d85120 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    990e9c9 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    7f19d44 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    6df9658 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    76c8396 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    2b09fac View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    1afb549 View commit details
    Browse the repository at this point in the history
  25. black format

    areusch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    fd22020 View commit details
    Browse the repository at this point in the history
  26. autotvm is working

    areusch committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    80fb240 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2021

  1. fix tutorial

    mehrdadh committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    6791644 View commit details
    Browse the repository at this point in the history
  2. fix dependencies

    mehrdadh committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    4e631f1 View commit details
    Browse the repository at this point in the history
  3. fix auto tune issue

    mehrdadh committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    97c2cc4 View commit details
    Browse the repository at this point in the history
  4. merge main

    mehrdadh committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    387103e View commit details
    Browse the repository at this point in the history
  5. lint

    mehrdadh committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    099a493 View commit details
    Browse the repository at this point in the history
  6. address comments

    mehrdadh committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    42cf68f View commit details
    Browse the repository at this point in the history
  7. fix lint

    mehrdadh committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    93f46a2 View commit details
    Browse the repository at this point in the history
  8. test crt and zephyr added

    mehrdadh committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    f798111 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ca773a4 View commit details
    Browse the repository at this point in the history
  10. fix func registery size

    mehrdadh committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    530e6ae View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2021

  1. Configuration menu
    Copy the full SHA
    49951e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b497a80 View commit details
    Browse the repository at this point in the history
  3. fix crt test

    mehrdadh committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    fe7a03a View commit details
    Browse the repository at this point in the history
  4. address comments

    mehrdadh committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    f4155cd View commit details
    Browse the repository at this point in the history
  5. change relay text

    mehrdadh committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    a8539dc View commit details
    Browse the repository at this point in the history
  6. change relay in text_zephyr

    mehrdadh committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    8503086 View commit details
    Browse the repository at this point in the history
  7. class added

    mehrdadh committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    12aa292 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    31372fd View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2021

  1. address comments

    mehrdadh committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    69bf13f View commit details
    Browse the repository at this point in the history
  2. address TK comments

    mehrdadh committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    72ae64f View commit details
    Browse the repository at this point in the history
  3. change fork

    mehrdadh committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    539e1bc View commit details
    Browse the repository at this point in the history
  4. final comments

    mehrdadh committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    818f822 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9ccbbb2 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2021

  1. retrigger due to flahy test

    mehrdadh committed Aug 14, 2021
    Configuration menu
    Copy the full SHA
    b22dd00 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2021

  1. Configuration menu
    Copy the full SHA
    38ba16b View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2021

  1. Configuration menu
    Copy the full SHA
    86768ff View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2021

  1. Configuration menu
    Copy the full SHA
    274e482 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2021

  1. Configuration menu
    Copy the full SHA
    0205908 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2021

  1. fix tutorial

    mehrdadh committed Sep 7, 2021
    Configuration menu
    Copy the full SHA
    6889ea1 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2021

  1. retrigger

    mehrdadh committed Sep 8, 2021
    Configuration menu
    Copy the full SHA
    c14d7b4 View commit details
    Browse the repository at this point in the history
  2. merge fix

    mehrdadh committed Sep 8, 2021
    Configuration menu
    Copy the full SHA
    b0b44f6 View commit details
    Browse the repository at this point in the history
  3. fix changes due to merge

    mehrdadh committed Sep 8, 2021
    Configuration menu
    Copy the full SHA
    ff49394 View commit details
    Browse the repository at this point in the history
  4. merge conflict fix

    mehrdadh committed Sep 8, 2021
    Configuration menu
    Copy the full SHA
    38509fa View commit details
    Browse the repository at this point in the history