Add manual tip-position chunking for NumPy and PyTorch dI/dV backends - #80
Closed
GianmarcoMidena wants to merge 9 commits into
Closed
Conversation
2 tasks
GianmarcoMidena
force-pushed
the
70-manually-scale-numpypytorch-didv-backends-for-high-stress-workloads
branch
from
August 25, 2026 14:49
181085d to
5068e61
Compare
|
|
||
| from pyPPSTM.probe_stm_vectorized import ProbeStmVectorized, ProbeStmVectorizedSp, ProbeStmVectorizedSpd | ||
|
|
||
| DeviceLikeType: TypeAlias = str | torch.device | int |
Contributor
There was a problem hiding this comment.
Why this can be removed?
Contributor
Author
There was a problem hiding this comment.
My IDE accidentally included that statement in one of the previous commits.
Contributor
Author
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds manual tip-position chunking to the vectorized dI/dV implementations so that high-stress NumPy and PyTorch workloads can trade runtime for lower peak memory use.
Changes
n_tip_position_chunkssupport through:ProbeSTM.dIdVProbeSTM.STMProbeSTM.MSTMSTMutils.run_stm_scanadvanced.n_tip_position_chunksTOML support with a Si 7x7 NumPy chunking example.ppstm_run.pyand debug logging around chunk progress.tests/conftest.py.Closes #70