Skip to content

Commit

Permalink
[Fix] Remove Redundant Warnings (mlc-ai#1204)
Browse files Browse the repository at this point in the history
PR mlc-ai#1203 introduces some unnecessary and redundant logging messages.
This PR gets them removed.
  • Loading branch information
junrushao authored Nov 6, 2023
1 parent 7ccb51a commit 65478c8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cpp/llm_chat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,6 @@ struct FunctionTable {
static_cast<int>(relax_vm::AllocatorType::kPooled));
this->mod_get_func = [this](const std::string& name) -> PackedFunc {
PackedFunc func = this->local_vm->GetFunction(name, false);
if (func == nullptr) {
LOG(WARNING) << "Cannot find function in VM: " << name;
}
return func;
};
this->get_global_func = [](const std::string& name) -> PackedFunc {
Expand Down Expand Up @@ -460,7 +457,6 @@ class LLMChat {
* \note This function overrides existing configurations.
*/
void LoadJSONOverride(const std::string& config_str, bool partial_update = false) {
LOG(INFO) << "config_str = " << config_str;
picojson::value config_json;
std::string err = picojson::parse(config_json, config_str);
if (!err.empty()) {
Expand Down

0 comments on commit 65478c8

Please sign in to comment.