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
I saw that in case of project.deploy_function(fn), the deployment is without optimization, it means:
it is possible to use assert (debug mode enabled)
without setting python -O or python -OO
Feature Description
It will be useful to have ability to switch-on/off optimization something like use this setting for python execution (python -O or python -OO), see description from python --help
-O : remove assert and __debug__-dependent statements; add .opt-1 before
.pyc extension; also PYTHONOPTIMIZE=x
-OO : do -O changes and also discard docstrings; add .opt-2 before
.pyc extension
Alternative Solutions
keep current state
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Feature Type
Adding new functionality to MLRun
Changing existing functionality in MLRun
Removing existing functionality in MLRun
Problem Description
I saw that in case of project.deploy_function(fn), the deployment is without optimization, it means:
Feature Description
It will be useful to have ability to switch-on/off optimization something like use this setting for python execution (python -O or python -OO), see description from python --help
Alternative Solutions
keep current state
Additional Context
No response
The text was updated successfully, but these errors were encountered: