microsoft/FLAML

Running flaml[tune] using "-O" flag for python interpreter (optimization - disables assertions) crashes

Open

#981 opened on Apr 7, 2023

 (3 comments) (0 reactions) (1 assignee)Jupyter Notebook (560 forks)github user discovery
good first issue

Repository metrics

Stars
 (4,364 stars)
PR merge metrics
 (Avg merge 3d 21h) (12 merged PRs in 30d)

Description

this is the stack trace:

analysis = tune.run(
  File "/home/ec2-user/pyvenv/lib64/python3.9/site-packages/flaml/tune/tune.py", line 536, in run
    search_alg = SearchAlgorithm(
  File "/home/ec2-user/pyvenv/lib64/python3.9/site-packages/flaml/tune/searcher/blendsearch.py", line 248, in __init__
    points_to_evaluate=self._evaluated_points,
AttributeError: 'BlendSearch' object has no attribute '_evaluated_points'

Contributor guide