Skip to content
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

Add switch for toggling deepcopy off #316

Merged
merged 10 commits into from
Dec 14, 2023

Conversation

danlessa
Copy link
Member

I made use of the additional_objs on the codebase so that we can turn deepcopy off. The usage is as follows:

exp = create_experiment()
mode = ExecutionMode().local_mode
exec_context = ExecutionContext(mode, additional_objs={'deepcopy_off': True})
executor = Executor(exec_context=exec_context, configs=exp.configs)
(records, tensor_field, _) = executor.execute()

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@emanuellima1 emanuellima1 merged commit 0aa86be into cadCAD-org:master Dec 14, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants