Skip to main content

Minimal PyTorch Library for Natural Evolution Strategies

Project description

Minimal PyTorch Library for Natural Evolution Strategies




gym # For gym examples
mpi4py # For parallelization

To install mpi4py you need MPI installed in the system. Check:

A Dockerfile is provided for convenience.


pip install nes-torch --user




Check documentation or for parameters.

You can run the example with

PYTHONPATH="$(pwd):$PYTHONPATH" python examples/

or in parallel for faster training.

PYTHONPATH="$(pwd):$PYTHONPATH" mpirun --np 2 python examples/

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nes-torch-2.1.3.tar.gz (397.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page