Skip to content

Commit

Permalink
Merge pull request #1289 from pytorch/fix_misleading_msg
Browse files Browse the repository at this point in the history
fix: fix misleading skipping partitioning msg
  • Loading branch information
bowang007 authored Aug 19, 2022
2 parents abf3d47 + 0591a8d commit 2fc413b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ torch::jit::Module CompileGraph(const torch::jit::Module& mod, CompileSpec cfg)
auto outputIsCollection = conversion::OutputIsCollection(g->block());
if (cfg.partition_info.enabled &&
(cfg.lower_info.forced_fallback_modules.size() == 0 &&
cfg.partition_info.forced_fallback_operators.size() == 0 && isBlockConvertible)) {
cfg.partition_info.forced_fallback_operators.size() == 0 && isBlockConvertible) && !outputIsCollection) {
LOG_INFO("Skipping partitioning since model is fully supported");
}

Expand Down

0 comments on commit 2fc413b

Please sign in to comment.