Skip to content

GEOPY-2910: reverting changes - introduced slowness#160

Open
sebhmg wants to merge 2 commits into
release/GA_4.8from
GEOPY-2910_revert_pr_merge
Open

GEOPY-2910: reverting changes - introduced slowness#160
sebhmg wants to merge 2 commits into
release/GA_4.8from
GEOPY-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 16:13
@sebhmg sebhmg changed the title Geopy 2910 revert pr merge GEOPY-2910: reverting changes - introduced slowness Jun 20, 2026
@github-actions github-actions Bot changed the title GEOPY-2910: reverting changes - introduced slowness GEOPY-2910: revert pr merge Jun 20, 2026
@sebhmg sebhmg changed the title GEOPY-2910: revert pr merge GEOPY-2910: reverting changes - introduced slowness Jun 20, 2026
@sebhmg sebhmg mentioned this pull request Jun 20, 2026
@sebhmg sebhmg requested a review from domfournier June 20, 2026 16:17

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 updates the Dask TDEM sensitivity (compute_J) workflow to change how field-derivative blocks are stored/propagated between timesteps, aiming to reduce sensitivity “chunking” overhead during TEM inversions.

Changes:

  • Enables default get_parallel_blocks optimization by removing optimize=False.
  • Refactors field-derivative back-substitution to operate on per-chunk arrays (list-of-arrays) instead of assembling a single stacked block.
  • Updates compute_rows to consume the new per-chunk field_derivs structure.

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

Comment on lines 166 to 172

for block_ind in range(len(blocks)):

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

if client:
Comment on lines 336 to 341
tInd: int,
AdiagTinv,
ATinv_df_duT_v,
time_mask,
client,
):
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