Skip to content

Commit 6f8ff9d

Browse files
committed
[CLN] Remove unused parameter options and update compute_model configuration
Deleted redundant `evaluation_chunk_size` parameter adjustments and added `validate_serialization=False` to the `compute_model` call for enhanced model processing flexibility.
1 parent dc770c3 commit 6f8ff9d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

examples/examples/real/Hecho.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -215,20 +215,15 @@
215215
# %%
216216
# Setting verbose and condition number options for debugging
217217
geo_model.interpolation_options.kernel_options.compute_condition_number = True
218-
# %%
219-
# Observations and parameter adjustments
220-
# The octree refinement is making the octree grid almost dense, and smaller chunks are needed to avoid running out of memory.
221-
# Adjusting parameters accordingly:
222-
223-
geo_model.interpolation_options.evaluation_options.evaluation_chunk_size = 50_000
224218

225219
# %%
226220
gp.compute_model(
227221
gempy_model=geo_model,
228222
engine_config=gp.data.GemPyEngineConfig(
229223
backend=gp.data.AvailableBackends.PYTORCH,
230224
dtype='float64'
231-
)
225+
),
226+
validate_serialization=False
232227
)
233228

234229
# %%

0 commit comments

Comments
 (0)