EcoJAX
This repository aims to provide a simple and modular codebase to run experiments on large neural-agents ecological models using JAX.
Your browser does not support the video tag.
Installation
Clone the repository and create a virtual environment. The repo work (at least) in python 3.10 to 3.12.
git clone git@github.com:tboulet/EcoJAX.git
cd EcoJAX
python -m venv venv
source venv/bin/activate # on Windows, use `venv\Scripts\activate.bat`
Install JAX
On linux (note your CUDA version may vary) :
pip install jax[cuda12_pip]==0.4.24 -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
On Windows :
pip install jax[cpu]==0.4.24
Install the requirements
pip install -r requirements.txt
Eventually install the package in editable mode
pip install -e .
Usage
To run any experiment, run the run.py file with the desired configuration. We use Hydra as our configuration manager.
python run.py
To use a specific configuration, use the --config-name argument.
python run.py --config-name=my_config
You can modify a specific argument thanks to Hydra's override system.
python run.py path.to.arg.in.config=new_value
Metadata
Release files for ecojax 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ecojax-1.1.tar.gz | 45.6 kB | Without provenance | Details for ecojax-1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ecojax-1.1-py3-none-any.whl | Python 3 | none | any | Details for ecojax-1.1-py3-none-any.whl |
Total release size: 101.6 kB
Release files / ecojax-1.1.tar.gz
| Download URL | ecojax-1.1.tar.gz |
|---|---|
| Size | 45.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88277b57eb5253121e6c5da2a404cd00af08102889c0b3e5474d067006ed184f
|
|
BLAKE2b-256 checksum How to use checksums |
96e1da3cc9fce8d45668b20bcacc80442d0376b7bc9d9cec253553251e417ded
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.11
|
Release files / ecojax-1.1-py3-none-any.whl
| Download URL | ecojax-1.1-py3-none-any.whl |
|---|---|
| Size | 56.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c71a2a1fecab3f90bf709dccf4b8c7273df0315d47b8b85b00f9535dd29fa99
|
|
BLAKE2b-256 checksum How to use checksums |
c9c055bd7ec472d7159b9818619cf28ef205cf46d9e1476053b3db8a432d69a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.11
|
Security for ecojax 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.