esa / torchquad

Numerical integration in arbitrary dimensions on the GPU using PyTorch / TF / JAX
https://www.esa.int/gsp/ACT/open_source/torchquad/
GNU General Public License v3.0
189 stars 40 forks source link

develop -> release for Release 0.4.0 #175

Closed gomezzz closed 1 year ago

gomezzz commented 1 year ago

Description

Following process in #172

Proposed changelog:

Changelog

Major

Minor

Resolved Issues

How Has This Been Tested?

TBD

Related Pull Requests

github-actions[bot] commented 1 year ago

Overall Coverage

Coverage Report
FileStmtsMissCoverMissing
boole_test.py52492%128–131
gauss_test.py66494%157–160
gradient_test.py97496%109, 278–280
helper_functions.py44198%314
integration_grid_test.py69494%156–159
integration_test_functions.py91298%50, 137
integrator_types_test.py57788%114–120
monte_carlo_test.py66494%162–165
rng_test.py38879%64–71
simpson_test.py65494%159–162
trapezoid_test.py66494%156–159
utils_integration_test.py107893%38–39, 200–206
vegas_map_test.py73593%18, 155–158
vegas_stratification_test.py50492%93–96
vegas_test.py1021387%227–241
torchquad
   __init__.py23230%1–50
torchquad/integration
   base_integrator.py49786%28, 68–71, 75, 108, 112, 117
   boole.py30390%54, 75–79
   gaussian.py52394%83, 109, 127
   grid_integrator.py108794%40, 160, 247–248, 250–251, 278
   integration_grid.py46491%47–48, 110, 113
   monte_carlo.py97496%100, 221–222, 244
   rng.py622461%72–75, 92–120, 140
   simpson.py29390%52, 71–75
   utils.py100892%100, 139, 170, 174, 181, 193, 195, 210
   vegas.py161498%96, 100–101, 189
   vegas_map.py98694%263–273
torchquad/utils
   enable_cuda.py12650%16–21
   set_precision.py24388%35–38, 68
   set_up_backend.py19195%12
TOTAL203618291% 

Tests Skipped Failures Errors Time
52 0 :zzz: 0 :x: 0 :fire: 1m 43s :stopwatch:
gomezzz commented 1 year ago

@ilan-gold no need to look in detail at the diff, these are your changes mostly anyways. But feedback on the proposed changelog above would be appreciated :v: quite possible that I missed something :)

ilan-gold commented 1 year ago

Support for custom integrators

Maybe just "better support" - we always supported custom integrators to some degree.

gomezzz commented 1 year ago

Support for custom integrators

Maybe just "better support" - we always supported custom integrators to some degree.

Updated :)