Repository navigation
Conversation
…' is absent for radial anisotropy and improve error handling for H5 exceptions
…arameters for radial anisotropy and enhance sensitivity calculations
…s for Azure runners to bypass UCX issues
Enhance HDF5 loading and refactor kernel combination logic
HouseJaay
approved these changes
Nov 10, 2026
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.
This pull request introduces several important changes to both the workflow configuration and the core inversion/optimization logic, primarily to improve robustness, ensure correct application of parameter chain rules, and clarify the mathematical implementation. The changes affect how kernels are combined, how gradients and descent directions are handled, and how model loading errors are managed.
Kernel Combination and Chain Rule Application:
preproc::combine_kernelsto consistently apply the correct physical model values (e.g.,vs,vp,rho) as multiplicative factors, ensuring that the kernels represent derivatives with respect to the logarithm of the parameters, as required for multiplicative updates. This affects all wave types and ensures correct scaling and chain rule application throughout the kernel computation. [1] [2] [3] [4]Optimization and Gradient Handling:
optimize.cppby removing redundant per-parameter chain rule logic. The code now assumes thatcombine_kernels()already returns the appropriate derivatives, and the descent step is consistently applied asx(alpha) = x0 - alpha*d. [1] [2] [3]Model Loading Robustness:
vsvdatasets gracefully by falling back tovsand logging a message, ensuring radial anisotropy models remain robust to incomplete HDF5 files.std::exception, preventing silent failures during model loading.Workflow Configuration: