[go: nahoru, domu]

Skip to content

Commit

Permalink
[XlaCallModule] Add back support for version 4.
Browse files Browse the repository at this point in the history
In cl/574450204 we increased the minimum supported version to 5, because after March 23rd, 2023 only version 5 and higher were serialized.

Instead of rolling back all the changes, we only adjust the minimum supported version. This restores support, except for models that have shape polymorphism.

PiperOrigin-RevId: 575315983
  • Loading branch information
gnecula authored and tensorflower-gardener committed Oct 20, 2023
1 parent 0230b4d commit 2260565
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ constexpr int kVersionStartSupportCallTFGraph = 5;
constexpr int kVersionStartSupportDisabledChecks = 6;
constexpr int kVersionStartSupportShapeAssertions = 7;
constexpr int kVersionStartSupportUsesShapePolymorphismAttr = 8;
constexpr int kVersionMinimumSupported = kVersionStartSupportCallTFGraph;
constexpr int kVersionMinimumSupported = kVersionStartStableHloCompatibility;

// This should match xla.py:call_module_maximum_supported_version
constexpr int kVersionMaximumSupported =
Expand Down

0 comments on commit 2260565

Please sign in to comment.