Enable running FLAML using the -O flag for the python interpreter#1169
Enable running FLAML using the -O flag for the python interpreter#1169bbudescu wants to merge 2 commits intomicrosoft:mainfrom
Conversation
- should enable using the -O flag for the python interpreter
|
Still need to check whether ray passes interpreter flags to workers in a remote setting, e.g., on an aws cluster. |
Did it and it works by means of setting the |
sonichi
left a comment
There was a problem hiding this comment.
Looks good. To merge this PR Contributor License Agreement needs to be accepted.
How do I do this? There used to be a message from a bot in this thread about it, but I can't see it any more. |
Could you create another PR or draft? The bot should appear again there. And you only need to accept it once. |
by implementing regular control flow without relying on exception semantics
Why are these changes needed?
The code of the user defined function the parameters of which FLAML is being used to optimize might make some expensive assertions which were designed to be turned off during the optimization process by passing the
-Ooption as an interpreter flag.Related issue number
Closes #981
Checks