Skip to content

Conversation

Leguark
Copy link
Member

@Leguark Leguark commented Aug 5, 2025

Description

Please include a summary of the changes.

Relates to

Checklist

  • My code uses type hinting for function and method arguments and return values.
  • I have created tests which cover my code.
  • The test code either 1. demonstrates at least one valuable use case (e.g. integration tests)
    or 2. verifies that outputs are as expected for given inputs (e.g. unit tests).
  • New tests pass locally with my changes.

Leguark added 6 commits July 24, 2025 17:55
…ing test

Integrated a new `Greenstone` example model into the `generate_example_model` API. Added its binary file and implemented a test for its functionality.
Switched the `use_gpu` configuration to `True` in the CG solver test, ensuring the test runs with GPU acceleration. Removed unused imports for cleanup.
Introduced a `clear_cache` method in the `WeightCache` class for better memory management. Enhanced the numerical stability of the conjugate gradient solver with improved initialization and adaptive tolerances. Refactored interpolation logic to handle weights more efficiently, and adjusted benchmarking to test expanded solver configurations.
Extended CG solver tests to include configurations using both the PYTORCH and PYKEOPS backends. Configured tests with varying `use_gpu` and `dtype` options, introduced a new Greenstone model test, and added 3D plotting support in the test suite.
Copy link
Member Author

Leguark commented Aug 5, 2025

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.

1 participant