Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jax export #1861

Merged
merged 94 commits into from
Nov 19, 2024
Merged

Jax export #1861

merged 94 commits into from
Nov 19, 2024

Conversation

FFroehlich
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Aug 26, 2022

Codecov Report

Attention: Patch coverage is 60.66351% with 83 lines in your changes missing coverage. Please review.

Project coverage is 77.65%. Comparing base (022de60) to head (c242b15).
Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
python/sdist/amici/jax/petab.py 28.57% 50 Missing ⚠️
python/sdist/amici/jax/model.py 74.41% 22 Missing ⚠️
python/sdist/amici/petab/parameter_mapping.py 46.66% 8 Missing ⚠️
python/sdist/amici/de_export.py 92.00% 2 Missing ⚠️
python/sdist/amici/jaxcodeprinter.py 92.30% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1861      +/-   ##
===========================================
- Coverage    77.83%   77.65%   -0.19%     
===========================================
  Files          325      329       +4     
  Lines        21853    22054     +201     
  Branches      1456     1456              
===========================================
+ Hits         17009    17125     +116     
- Misses        4833     4918      +85     
  Partials        11       11              
Flag Coverage Δ
cpp 73.58% <56.39%> (-0.16%) ⬇️
cpp_python 34.31% <48.81%> (+0.10%) ⬆️
petab 37.25% <47.86%> (+0.09%) ⬆️
python 72.40% <60.66%> (-0.14%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
python/sdist/amici/__init__.py 94.44% <ø> (ø)
python/sdist/amici/jax/__init__.py 100.00% <100.00%> (ø)
python/sdist/amici/petab/petab_import.py 66.66% <ø> (ø)
python/sdist/amici/pysb_import.py 94.30% <100.00%> (ø)
python/sdist/amici/jaxcodeprinter.py 92.30% <92.30%> (ø)
python/sdist/amici/de_export.py 95.77% <92.00%> (-0.37%) ⬇️
python/sdist/amici/petab/parameter_mapping.py 78.00% <46.66%> (-3.16%) ⬇️
python/sdist/amici/jax/model.py 74.41% <74.41%> (ø)
python/sdist/amici/jax/petab.py 28.57% <28.57%> (ø)

... and 4 files with indirect coverage changes

---- 🚨 Try these New Features:

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 9, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 9 Code Smells

59.8% 59.8% Coverage
0.0% 0.0% Duplication

@FFroehlich FFroehlich marked this pull request as ready for review November 17, 2024 13:11
@FFroehlich FFroehlich requested a review from a team as a code owner November 17, 2024 13:11
@FFroehlich FFroehlich requested a review from dweindl November 17, 2024 13:11
@FFroehlich
Copy link
Member Author

Would be great to get some initial feedback. Quite some room for later optimization, but seems functional now. If API and overall code looks good I would also add a short tutorial notebook to the documentation.

Copy link
Member

@dweindl dweindl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good to me. I am not familiar with the jax ecosystem, though.

Having a tutorial/example soon would be great, yes.

python/sdist/amici/de_export.py Outdated Show resolved Hide resolved
python/sdist/amici/de_export.py Show resolved Hide resolved
python/sdist/amici/de_export.py Show resolved Hide resolved
python/sdist/amici/de_export.py Outdated Show resolved Hide resolved
python/sdist/amici/jax/model.py Show resolved Hide resolved
python/sdist/amici/jax/petab.py Outdated Show resolved Hide resolved
python/sdist/amici/jax/petab.py Outdated Show resolved Hide resolved
python/sdist/amici/jaxcodeprinter.py Show resolved Hide resolved
python/tests/test_jax.py Outdated Show resolved Hide resolved
@dweindl
Copy link
Member

dweindl commented Nov 18, 2024

The new dependencies bring in a couple of valgrind issues that need to be added to the suppression list: https://github.com/AMICI-dev/AMICI/actions/runs/11888412281/job/33122901845

@FFroehlich FFroehlich merged commit db25bc8 into develop Nov 19, 2024
34 of 38 checks passed
@FFroehlich FFroehlich deleted the jax_export branch November 19, 2024 17:36
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