Closed tomsz92161 closed 1 week ago
I had the same problem; it was related to flaml version 1.2.4 being used.
Force the latest version:
python runbenchmark.py flaml:latest
I'll look into what exactly is causing this issue, but in the meanwhile, I hope @israel-cj's fix works for you!
Thanks to both of you for the quick replies.
To enable execution with the tag "latest," I added the following entry to the file ./resources/frameworks_latest.yaml:
flaml:
version: latest
However, python runbenchmark.py flaml:latest
raised a different error.
For me, it worked when I force (-s force
) the setup mode as well (you only need to do this once):
python runbenchmark.py flaml:latest -s force
A couple of different issues were at play. In short:
flaml==1.2.4
, you can downgrade xgboost with frameworks/flaml/venv/bin/python -m pip install "xgboost<2"
and it should work.Thanks for your patience. Please let me know if this resolves your issues.
Hello,
I have just installed AutoML Benchmarck in an environment running Python 3.9.17. However, when I execute the command
python runbenchmark.py flaml
, I encounter the following error:NoResultError:
best_iteration
is only defined when early stopping is used.Is there a workaround to resolve this issue?
Thank you.
error_traceback.txt