Skip to content

Commit e086924

Browse files
jerryxyjOrbax Authors
authored andcommitted
Add option to persist_xla_flags from Orbax Native Models.
PiperOrigin-RevId: 833478316
1 parent 83207b6 commit e086924

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

export/orbax/export/constants.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ class ExportModelType(enum.Enum):
100100
# Whether to strip XLA flags from the model.
101101
STRIP_XLA_FLAGS = 'strip_xla_flags'
102102

103+
# Whether to persist XLA flags in the model.
104+
PERSIST_XLA_FLAGS = 'persist_xla_flags'
105+
103106
################################################################################
104107
# Proto field names
105108
################################################################################

0 commit comments

Comments
 (0)