You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Question: GPU/Docker Execution and Tool/MCP Integration Support #342
I’m wondering whether OpenEvolve supports LLM interaction with an external execution environment such as a GPU cluster or a Docker-based server. For example, in a task like “discovering an optimized mixture-of-experts architecture for mathematical reasoning,” the system would need to fine-tune or evaluate candidate model architectures on a GPU environment. Does OpenEvolve support such GPU-backed execution, and is it also possible to call external tools or MCP servers during the evolutionary process?
@codelion Thank you very much for your kind and detailed response—it was extremely helpful.
I have one further question. What if the task or question involves training GPT-2? In that case, we would need to prepare a Docker container with GPU support. While it is possible to rely on cloud GPU services for fine-tuning—since many providers now offer managed fine-tuning (e.g., Together AI)—what if we instead want to train the model on my local server, which has two A100 GPUs (40GB each)?
Is this setup supported? If so, could you explain how to set it up once again?
Both solutions are really helpful to my current ongoing research, where I try to expand new OpenEvolve tasks that require to use GPU servers. Really appreciate it. Especially, I love the second way.
Activity
codelion commentedon Dec 10, 2025
GPU/Docker Execution
LLM Operations
OpenEvolve supports any OpenAI-compatible API endpoint via the
api_baseconfiguration. You can point to:Example config:
Evaluation on GPU/Docker
The evaluator is fully customizable. Your evaluator.py can call remote GPU resources. For your MoE architecture discovery use case:
Configure longer timeouts for training jobs:
Tool/MCP Integration
You can use https://github.com/algorithmicsuperintelligence/optillm as a proxy to enable tool calling and MCP server integration with any model. OptiLLM sits between OpenEvolve and your LLM, adding capabilities like:
Setup:
This allows the LLM to call external tools and MCP servers during code generation.
passing2961 commentedon Dec 15, 2025
@codelion Thank you very much for your kind and detailed response—it was extremely helpful.
I have one further question. What if the task or question involves training GPT-2? In that case, we would need to prepare a Docker container with GPU support. While it is possible to rely on cloud GPU services for fine-tuning—since many providers now offer managed fine-tuning (e.g., Together AI)—what if we instead want to train the model on my local server, which has two A100 GPUs (40GB each)?
Is this setup supported? If so, could you explain how to set it up once again?
codelion commentedon Dec 15, 2025
I think there are couple of options:
The simplest approach - install OpenEvolve on the machine with the A100s. Your evaluator can directly use the local GPUs:
If OpenEvolve runs elsewhere, set up a simple job API on your GPU server:
On your A100 server, run a Flask/FastAPI endpoint that receives code, trains, and returns results.
passing2961 commentedon Dec 15, 2025
Both solutions are really helpful to my current ongoing research, where I try to expand new OpenEvolve tasks that require to use GPU servers. Really appreciate it. Especially, I love the second way.