-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes so that tests pass under Python 3.12.
NOTE: WRAPT_DISABLE_EXTENSIONS=true is to work around a bug in TensorFlow + wrapt that causes code like the following to fail: ``` import tensorflow as tf class C(tf.Module): pass module = C() module._some_tuple = (tf.Variable(0.),) module.trainable_variables # fails with: "TypeError: this __dict__ descriptor does not support '_TupleWrapper' objects" ``` (This bug causes many TFP tests to fail under Python 3.12 .) PiperOrigin-RevId: 614658578
- Loading branch information
1 parent
988f023
commit 0103d3c
Showing
5 changed files
with
9 additions
and
6 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