Ansor employs an evolutionary search strategy guided by a learned cost model (often GBDT like XGBoost) to navigate its vast search space, while AutoTVM utilizes various tuners, including Grid Search, Random Search, GATuner, and XGBTuner, within its predefined templates.