Skip to content

Commit

Permalink
Merge branch 'dev' into fix/linux-arm
Browse files Browse the repository at this point in the history
  • Loading branch information
vansangpfiev authored Dec 23, 2024
2 parents a48a84a + 5414e02 commit ee83a57
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engine/cli/commands/model_status_cmd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ bool ModelStatusCmd::IsLoaded(const std::string& host, int port,
auto res = curl_utils::SimpleGetJson(url.ToFullPath());
if (res.has_error()) {
auto root = json_helper::ParseJsonString(res.error());
CLI_LOG(root["message"].asString());
CTL_WRN(root["message"].asString());
return false;
}

Expand Down
4 changes: 4 additions & 0 deletions engine/services/engine_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "database/engines.h"
#include "extensions/remote-engine/remote_engine.h"
#include "utils/archive_utils.h"
#include "utils/cpuid/cpu_info.h"
#include "utils/engine_constants.h"
#include "utils/engine_matcher_utils.h"
#include "utils/file_manager_utils.h"
Expand Down Expand Up @@ -691,6 +692,9 @@ cpp::result<void, std::string> EngineService::LoadEngine(
// End hard code

CTL_INF("Loading engine: " << ne);
#if defined(_WIN32) || defined(_WIN64) || defined(__linux__)
CTL_INF("CPU Info: " << cortex::cpuid::CpuInfo().to_string());
#endif

auto engine_dir_path_res = GetEngineDirPath(ne);
if (engine_dir_path_res.has_error()) {
Expand Down
2 changes: 1 addition & 1 deletion engine/utils/github_release_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ inline cpp::result<GitHubRelease, std::string> GetReleaseByVersion(
.pathParams = path_params,
};

CTL_DBG("GetReleaseByVersion: " << url.ToFullPath());
// CTL_DBG("GetReleaseByVersion: " << url.ToFullPath());
auto result =
curl_utils::SimpleGetJson(url_parser::FromUrl(url), kCurlGetTimeout);

Expand Down

0 comments on commit ee83a57

Please sign in to comment.