-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable serialized python code execution #2607
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Sachin Pisal <[email protected]>
Signed-off-by: Sachin Pisal <[email protected]>
I believe that is automatically handled when you use |
@@ -32,7 +32,7 @@ | |||
WATCHDOG_TIMEOUT_SEC = 0 | |||
RUN_AS_NOBODY = False # Expect this to be overridden to true for NVQC deployment | |||
SUDO_FOUND = False | |||
CUDAQ_SER_CODE_EXEC = False | |||
CUDAQ_SER_CODE_EXEC = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to make this the default? It is currently "opt in", where you must set an environment variable in the deployment in order to activate this (see line 270). If we make this change, then it will become "opt out".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think we are planning to make it the default. @bettinaheim can confirm that. As there will be only one paid tier going forward.
So that even if we set the env variable to any value (True or False) it will take that value. If we don't, then the default will be True. So the env variable (if set) in the deployment will always takes precedence.
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Enable serialized python code execution (optimizer.optimize) for the paid-tier.
Tested it locally using remote-mqpu target.
Tests include