Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable custom op log for LLM models #63979

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions paddle/fluid/framework/custom_operator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ void RegisterOperatorWithMetaInfo(const std::vector<OpMetaInfo>& op_meta_infos,
auto op_name = OpMetaInfoHelper::GetOpName(base_op_meta);

if (OpInfoMap::Instance().Has(op_name)) {
LOG(WARNING) << "Operator (" << op_name << ") has been registered.";
VLOG(1) << "Operator (" << op_name << ") has been registered.";
return;
}

Expand Down Expand Up @@ -1293,8 +1293,8 @@ void RegisterOperatorWithMetaInfoMap(
continue;
}
for (const auto& meta_info : pair.second) {
LOG(INFO) << "register pir custom op :"
<< OpMetaInfoHelper::GetOpName(meta_info);
VLOG(1) << "register pir custom op :"
<< OpMetaInfoHelper::GetOpName(meta_info);
custom_dialect->RegisterCustomOp(meta_info);
}

Expand Down
2 changes: 1 addition & 1 deletion paddle/pir/src/core/ir_context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ void IrContext::RegisterOpInfo(Dialect *dialect,
VerifyPtr verify_sig,
VerifyPtr verify_region) {
if (impl().IsOpInfoRegistered(name)) {
LOG(WARNING) << name << " op already registered.";
VLOG(1) << name << " op already registered.";
} else {
OpInfo info = OpInfoImpl::Create(dialect,
op_id,
Expand Down