message: fix: fix the bug that ListConstruct is in TRT subgraph when it's entire graph's output
diff: @@ -90,6 +90,16 @@ std::vector<torch::jit::Node*> getDependencyNodes(
  return stk;
  }
  +void find_nontensor_output_nodes(
  + torch::jit::Block* block,
  + std::unordered_map<torch::jit::Node*, int>& global_fallback_nodes) {
  + for (auto i : block->outputs()) {
  + if (!isTensor(i)) {
  + global_fallback_nodes.insert({i->node(), FallbackNodeType::kNON_TENSOR});
  + }
  + }
  +}
  +
  void find_all_fallback_nodes(
  std::unordered_map<torch::jit::Node*, int>& initial_fallback_nodes,
  std::unordered_map<torch::jit::Node*, int>& global_fallback_nodes) {
  @@ -430,6 +440,9 @@ PartitionedGraph Partition(
  const PartitionInfo& partition_info,
  std::unordered_map<torch::jit::Node*, int>& global_fallback_nodes) {
  LOG_DEBUG(partition_info);
  + // if there is nonTensor output for the entire graph, fallback the node that produces this nonTensor output
  + find_nontensor_output_nodes(block, global_fallback_nodes);
  +
  // segment lowering global graph into blocks
  LOG_DEBUG("Parititioning source module into PyTorch and TensorRT sub blocks");
  PartitionedGraph segmented_blocks = segment_graph(block, partition_info, global_fallback_nodes);
  