Skip to content

Commit

Permalink
fix: temporarily remove model setting recommendation (#1977)
Browse files Browse the repository at this point in the history
Co-authored-by: sangjanai <[email protected]>
  • Loading branch information
vansangpfiev and sangjanai authored Feb 18, 2025
1 parent 26466d3 commit 0127d84
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions engine/controllers/models.cc
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,11 @@ void Models::ListModel(
obj["id"] = model_entry.model;
obj["model"] = model_entry.model;
obj["status"] = "downloaded";
auto es = model_service_->GetEstimation(model_entry.model);
if (es.has_value() && !!es.value()) {
obj["recommendation"] = hardware::ToJson(*(es.value()));
}
// TODO(sang) Temporarily remove this estimation
// auto es = model_service_->GetEstimation(model_entry.model);
// if (es.has_value() && !!es.value()) {
// obj["recommendation"] = hardware::ToJson(*(es.value()));
// }
data.append(std::move(obj));
yaml_handler.Reset();
} else if (model_config.engine == kPythonEngine) {
Expand Down

0 comments on commit 0127d84

Please sign in to comment.