deephyper.evaluator#

This evaluator module asynchronously manages a series of Job objects to help execute given HPS or NAS tasks on various environments with differing system settings and properties.

Functions

profile

Decorator to use on a run_function to profile its execution-time.

queued

Decorator transforming an Evaluator into a Queued{Evaluator}.

Classes

Evaluator

This Evaluator class asynchronously manages a series of Job objects to help execute given HPS or NAS tasks on various environments with differing system settings and properties.

Job

Represents an evaluation executed by the Evaluator class.

MPICommEvaluator

This evaluator uses the mpi4py library as backend.

MPIPoolEvaluator

This evaluator uses the mpi4py library as backend.

ProcessPoolEvaluator

This evaluator uses the ProcessPoolExecutor as backend.

RayEvaluator

This evaluator uses the ray library as backend.

SerialEvaluator

This evaluator run evaluations one after the other (not parallel).

SubprocessEvaluator

This evaluator uses the asyncio.create_subprocess_exec as backend.

ThreadPoolEvaluator

This evaluator uses the ThreadPoolExecutor as backend.

deephyper.evaluator.callback

The callback module contains sub-classes of the Callback class used to trigger custom actions on the start and completion of jobs by the Evaluator.