Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions xla/hlo/tools/hlo_diff/graph/hlo_gumgraph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ HloPrintOptions CreateHloPrintOptions(
hlo_print_options.set_print_operand_shape(false);
hlo_print_options.set_print_result_shape(false);
}
if (fingerprint_options.ignore_backend_config) {
hlo_print_options.set_print_backend_config(true);
}
return hlo_print_options;
}

Expand Down
2 changes: 2 additions & 0 deletions xla/hlo/tools/hlo_diff/graph/hlo_gumgraph.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ namespace hlo_diff {
struct HloGumgraphFingerprintOptions {
// Ignore shape when computing the instruction fingerprint.
bool ignore_shape = false;
// Ignore backend config when computing the instruction fingerprint.
bool ignore_backend_config = true;
};

// A directed acyclic graph representation of an HloModule with all called
Expand Down
Loading