Skip to content

GEOPY-2910: reverting changes - introduced slowness#157

Merged
sebhmg merged 4 commits into
release/GA_4.8from
GA-2910_revert_pr_merge
Jun 20, 2026
Merged

GEOPY-2910: reverting changes - introduced slowness#157
sebhmg merged 4 commits into
release/GA_4.8from
GA-2910_revert_pr_merge

Conversation

@sebhmg

@sebhmg sebhmg commented Jun 20, 2026

Copy link
Copy Markdown

Revert GEOPY-2910 - Reduce chunking of sensitivities for TEM inversions

introduced slowness

Copilot AI review requested due to automatic review settings June 20, 2026 15:48
@sebhmg sebhmg merged commit fc1c118 into release/GA_4.8 Jun 20, 2026
7 checks passed
@sebhmg sebhmg deleted the GA-2910_revert_pr_merge branch June 20, 2026 15:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to revert/adjust recent changes in the Dask TDEM sensitivity (compute_J) implementation that introduced slowness, primarily by changing how parallel blocks are generated and how field-derivative back-substitution is accumulated per block/chunk.

Changes:

  • Removes optimize=False from get_parallel_blocks(...), allowing the default optimization behavior again.
  • Refactors get_field_deriv_block(...) to update ATinv_df_duT_v per chunk (instead of stacking/hstacking across chunks), and updates downstream indexing in compute_rows(...).
  • Threads client through to get_field_deriv_block(...) (currently passed through as an argument).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 167 to 170
for block_ind in range(len(blocks)):

if len(blocks[block_ind]) == 0:
if len(block) == 0:
continue
@sebhmg

sebhmg commented Jun 20, 2026

Copy link
Copy Markdown
Author

branch history is missing reference to revert commits. I have reset release/GA_4.8, and I am redoing a clean revert here: #158

@sebhmg sebhmg changed the title GA-2910: reverting changes - introduced slowness GEOPY-2910: reverting changes - introduced slowness Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants