openml / automlbenchmark

OpenML AutoML Benchmarking Framework
https://openml.github.io/automlbenchmark
MIT License
391 stars 130 forks source link

Does H2OAutoML run in venv? #595

Closed sedol1339 closed 9 months ago

sedol1339 commented 9 months ago

Hello! frameworks/H2OAutoML/ folder contains setup.sh that seems to install packages in a separate venv. However, exec.py does not use the run_in_venv method. So, the venv is created but not used?

PGijsbers commented 9 months ago

exec.py defines a run function which may or may not be called from a separate process with its own virtual environment. Whether not it is executed in a virtual environment depends on the run function of __init__.py. As you can see here, the run function from exec.py will be executed from run_in_venv.

sedol1339 commented 9 months ago

Understood, thank you!