Skip to content

Commit

Permalink
Abandon cluster with small size regardless of _XlaCompile attr
Browse files Browse the repository at this point in the history
  • Loading branch information
amd-jianli12 committed Jan 8, 2025
1 parent 8f2d900 commit 891c0d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tensorflow/compiler/jit/mark_for_compilation_pass.cc
Original file line number Diff line number Diff line change
Expand Up @@ -990,8 +990,7 @@ Status MarkForCompilationPassImpl::CreateClusters() {
// trouble.

if (cluster->effective_cluster_size() >= debug_options_.min_cluster_size ||
cluster->has_functional_control_flow() ||
cluster->is_xla_compile_attr_true()) {
cluster->has_functional_control_flow()) {
string& name = cluster_names[cluster->cycles_graph_node_id()];

if (name.empty()) {
Expand Down

0 comments on commit 891c0d2

Please sign in to comment.