zxybazh commented on PR #11486:
URL: https://github.com/apache/tvm/pull/11486#issuecomment-1152866631
Updated the timers to make sure we cover all the parts under task scheduler,
without overlapping or missing parts (except minor parts like O(1) level
operation). Current table looks like the following one (using dataframe &
tabulate).
```
+----+-------------------------------------------------------------------------------+-----------------+
| | Name
| TimeCost(Min) |
|----+-------------------------------------------------------------------------------+-----------------|
| 11 | EvolutionarySearchNode::NotifyRunnerResults
| 1.09333e-07 |
| 13 | GradientBased::GradientCalculation
| 1.68533e-07 |
| 27 | GradientBasedNode::JoinRunningTask
| 2.67667e-07 |
| 5 | EvolutionarySearchNode::State::PickBestFromDatabase
| 2.78533e-07 |
| 15 | JSONDatabaseNode::HasWorkload
| 8.60367e-07 |
| 20 | JSONDatabaseNode::GetTopK
| 9.2985e-07 |
| 32 | TuneContextNode::_SendToRunner
| 1.01758e-06 |
| 19 | TuneContextNode::_SendToBuilder
| 1.98973e-06 |
| 18 | EvolutionarySearchNode::State::PickBestFromDatabase::ApplyPostProcs
| 1.27156e-05 |
| 7 | PyRunnerFutureNode::Result
| 2.03548e-05 |
| 36 | EvolutionarySearchNode::State::GenerateMeasureCandidates
| 2.37273e-05 |
| 8 | RemoveBuildArtifactNode::Apply
| 3.77088e-05 |
| 0 | ApplyHistoryBestNode::Query
| 5.09462e-05 |
| 6 | TaskSchedulerNode::Tune
| 5.84982e-05 |
| 24 | GradientBasedNode::TuningStatistics
| 9.66866e-05 |
| 30 | EchoStatisticsNode::Apply
| 0.000178363 |
| 31 | EvolutionarySearchNode::PostTuning
| 0.000304334 |
| 23 | TuneContextNode::Initialize
| 0.000716826 |
| 28 | JSONDatabaseNode::CommitWorkload
| 0.00073313 |
| 4 | PyCostModelNode::Save
| 0.000864831 |
| 3 | PyCostModelNode::Predict
| 0.000907736 |
| 9 | EvolutionarySearchNode::State::PickWithEpsGreedy
| 0.000951621 |
| 14 | TuneContextNode::_ClearMeasureState
| 0.00118936 |
| 22 | TaskSchedulerNode::InitializeTask
| 0.00155487 |
| 35 | PostOrderApplyNode::GenerateDesignSpace
| 0.00172804 |
| 34 | PerStoreFeatureNode::ExtractFrom
| 0.00301362 |
| 1 | JSONDatabaseNode::CommitTuningRecord
| 0.00362623 |
| 26 | AddToDatabaseNode::Apply
| 0.00371405 |
| 21 | EvolutionarySearchNode::AssembleCandidates
| 0.00616255 |
| 10 | EvolutionarySearchNode::PredictNormalizedScore
| 0.00617349 |
| 33 | PyCostModelNode::Update
| 0.0346064 |
| 25 | UpdateCostModelNode::Apply
| 0.0346072 |
| 16 | EvolutionarySearchNode::PreTuning
| 0.0350402 |
| 29 | PyRunner::Run
| 0.0763377 |
| 2 | EvolutionarySearchNode::State::SampleInitPopulation
| 0.358492 |
| 12 | PyBuilderNode::Build
| 0.369279 |
| 17 | EvolutionarySearchNode::State::EvolveWithCostModel
| 1.23361 |
| 37 |
EvolutionarySearchNode::State::EvolveWithCostModel::FindCandidatesViaMutation |
3.19194 |
+----+-------------------------------------------------------------------------------+-----------------+
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]