-
Notifications
You must be signed in to change notification settings - Fork 74k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add disabled_checks attribute to XlaCallModule.
This attribute encodes the disabled_checks option that was passed at serialization time, and also controls safety checks when the module is loaded and compiled. See docstring in xla_ops.cc. Also bump the version number of XlaCallModule to 6. From this version the XlaCallModule must have a non-empty `platforms` attribute to encode the platforms for which the module was serialized. Previously the front-ends could disable the platform checking by setting an empty `platforms`. We have not yet added a way to add more disabled checks using an environment variable. PiperOrigin-RevId: 538421669
- Loading branch information
1 parent
4993c55
commit d592d80
Showing
11 changed files
with
256 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.