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

Release 0.4.0 #183

Merged
merged 23 commits into from
Sep 6, 2024
Merged

Release 0.4.0 #183

merged 23 commits into from
Sep 6, 2024

Conversation

Lookatator
Copy link
Member

@Lookatator Lookatator commented Jun 10, 2024

This PR introduces:

Remaining To Dos:

  • Adding Test for DCG-MAP-Elites
  • Change name DCG-ME -> DCRL-ME
  • Adding Notebook for DCRL-ME
  • Adding link to doc for DCRL-ME

Checks

  • (N/A) a clear description of the PR has been added
  • (N/A) sufficient tests have been written
  • (N/A) relevant section added to the documentation
  • (N/A) example notebook added to the repo
  • (N/A) clean docstrings and comments have been written
  • (N/A) if any issue/observation has been discovered, a new issue has been opened

Future improvements

N/A

maxencefaldor and others added 4 commits January 9, 2024 19:03
* a new method for MAP-Elites repertoire, that enables to samples individuals with their corresponding descriptors.
* a new output extra_info for Emitter.emit methods that is similar to the extra_scores of the scoring function, and that enables to pass information from the emit step to the state_update (necessary for DCG-MAP-Elites).
* a new DCGTransition that add desc and desc_prime to the QDTransition.
* descriptor-conditioned TD3 loss, descriptor-conditioned scoring functions, descriptor-conditioned MLP
* two new reward wrappers to clip and offset the reward (necessary for DCG-MAP-Elites).
Fixes the definition of Pareto dominance in pareto_front.py to account for solutions which have the same fitness values along one axis.
- moving to Python 3.10
- Upgrade all library versions in requirements.txt and setup.py
- Remove DM-Haiku cause it is now deprecated.
- all networks now are based on a single MLP class
- jax.tree_map has been replaced with jax.tree_util.tree_map everywhere to avoid Deprecation Warnings.
- types -> custom_types
- add extra_require for jax[cuda12]
- fix all notebooks and update typing extensions (for running notebooks)
- fix dependabot security issues
- added instructions for pip install qdax[cuda12] in README
- fix observation space in jumanji test script
@Lookatator Lookatator added the release only for QDax new releases label Aug 30, 2024
@Lookatator Lookatator added this to the v0.4.0 milestone Aug 30, 2024
This was linked to issues Sep 5, 2024
@codecov-commenter
Copy link

codecov-commenter commented Sep 5, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 93.55609% with 54 lines in your changes missing coverage. Please review.

Project coverage is 92.26%. Comparing base (a721221) to head (0508d7c).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
qdax/environments/wrappers.py 41.17% 20 Missing ⚠️
qdax/tasks/brax_envs.py 28.57% 15 Missing ⚠️
qdax/core/neuroevolution/mdp_utils.py 44.44% 5 Missing ⚠️
qdax/core/neuroevolution/networks/dads_networks.py 94.44% 3 Missing ⚠️
qdax/utils/pareto_front.py 57.14% 3 Missing ⚠️
qdax/core/emitters/dcrl_emitter.py 99.00% 2 Missing ⚠️
qdax/core/emitters/mees_emitter.py 87.50% 2 Missing ⚠️
qdax/core/containers/archive.py 66.66% 1 Missing ⚠️
qdax/core/neuroevolution/networks/networks.py 97.77% 1 Missing ⚠️
qdax/environments/exploration_wrappers.py 0.00% 1 Missing ⚠️
... and 1 more

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #183      +/-   ##
==========================================
- Coverage   92.30%   92.26%   -0.04%     
==========================================
  Files         125      128       +3     
  Lines        7485     8007     +522     
==========================================
+ Hits         6909     7388     +479     
- Misses        576      619      +43     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Lookatator Lookatator merged commit 8c9d2ec into main Sep 6, 2024
5 checks passed
@Lookatator Lookatator deleted the release-0.4.0 branch September 6, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release only for QDax new releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change name of DCG-ME Kwargs in jnp.where are deprecated
5 participants