Open Source · GPU-beschleunigt

EvoX Runtime

GPU-beschleunigtes Framework für evolutionäres Computing

EvoX Runtime ist ein verteiltes, GPU-beschleunigtes Framework für skalierbares evolutionäres Computing — über 50 Algorithmen für Ein- und Mehrzieloptimierung, Neuroevolution und evolutionäres Reinforcement Learning, vollständig kompatibel mit PyTorch.

import torch
from evox.algorithms.pso_variants import PSO
from evox.problems.numerical import Ackley
from evox.workflows import StdWorkflow, EvalMonitor

torch.set_default_device("cuda")
# Define the algorithm
algorithm = PSO(pop_size=100, lb=-32 * torch.ones(10), ub=32 * torch.ones(10))
problem = Ackley()
monitor = EvalMonitor()
workflow = StdWorkflow(algorithm, problem, monitor)

workflow.init_step()
for i in range(100):
    workflow.step()

monitor.plot()