comaniac opened a new pull request #4870: [AutoTVM] Support range in index based tuners URL: https://github.com/apache/incubator-tvm/pull/4870 This PR includes the following changes in order to let grid search and random tuner accept an index range. This is beneficial for distributed tuning since we can easily separate a tuning space to chunks and distribute them to different machines. **Note**: This change will not affect any existing use cases of grid search tuner and random tuner. - Support `range_idx` optional argument when constructing `GridSearchTuner` and `RandomTuner` to let them only tune a part of the tuning space. - Refactor `GridSearchTuner` and `RandomTuner` to have a common base class called `IndexBaseTuner`. `IndexBaseTuner` processs `range_idx` and unifies common fields such as `counter`. - Improve `RandomTuner` to generate non-repetitive random indices in constant time without increasing memory usage. - Unit tests.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
