Skip to content

Commit d4c2060

Browse files
committed
Refine gempy model handling and solver interface
This commit refines aspects of Moureze.py in the examples directory incorporating more data points, increasing refinement, and altering the backend used for processing. It decreases reliance on GPU and changes dtype from 'float64' to 'float32' for performance optimization and to reduce memory usage. Additionally, references to a plugin 'gempy_plugins' were added to the optional-requirements.txt file to accommodate expanded functionality. Lastly, in solver_interface.py, the backward propagation on the condition number is commented out, seemingly to avoid unnecessary computation.
1 parent 61c5fdb commit d4c2060

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gempy_engine/modules/solver/solver_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def kernel_reduction(cov, b, kernel_options: KernelOptions, n_faults: int = 0) -
2727

2828
cond_number = bt.t.linalg.cond(cov)
2929
print(f'Condition number: {cond_number}.')
30-
cond_number.backward()
30+
# cond_number.backward()
3131

3232
case (AvailableBackends.PYTORCH, True, _):
3333
raise NotImplementedError('Pykeops is not implemented for pytorch yet')

0 commit comments

Comments
 (0)