Skip to content

Commit 918eaa9

Browse files
committed
persist more autograd
1 parent e13d7d3 commit 918eaa9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tidy3d/config/sections.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,14 @@ class AutogradConfig(ConfigSection):
164164
500,
165165
title="Max traced structures",
166166
description="Maximum number of structures that can have traced fields in an autograd run.",
167+
json_schema_extra={"persist": True},
167168
)
168169

169170
max_adjoint_per_fwd: pd.PositiveInt = pd.Field(
170171
10,
171172
title="Max adjoint solves per forward",
172173
description="Maximum number of adjoint simulations dispatched per forward solve.",
174+
json_schema_extra={"persist": True},
173175
)
174176

175177

0 commit comments

Comments
 (0)