Skip to content

Commit c823ebd

Browse files
committed
fix: fix a typo for debug
Signed-off-by: Bo Wang <[email protected]>
1 parent 6e0da4d commit c823ebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/compiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ torch::jit::script::Module CompileGraphWithFallback(const torch::jit::script::Mo
208208
for (auto& seg_block : segmented_blocks) {
209209
std::string cur_block_target =
210210
seg_block.target() == partitioning::SegmentedBlock::kTensorRT ? "TensorRT" : "Torch";
211-
LOG_INFO(*g << "(MiniGraphIn" << cur_block_target << "Block\n");
211+
LOG_INFO(*seg_block.g() << "(MiniGraphIn" << cur_block_target << "Block)\n");
212212
std::ostringstream trt_engine_id;
213213
trt_engine_id << reinterpret_cast<const int*>(&seg_block);
214214
if (seg_block.target() == partitioning::SegmentedBlock::kTensorRT) {

0 commit comments

Comments
 (0)