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

Clean executor fails #777

Merged
merged 16 commits into from
Aug 2, 2023
Merged

Clean executor fails #777

merged 16 commits into from
Aug 2, 2023

Conversation

liamhuber
Copy link
Member

Running on an executor is giving me TypeError: cannot pickle '_thread.lock' object, i.e. for Function nodes that use self and for Composite nodes we can't yet use an executor. Until this is fixed, it should fail cleanly and informatively.

@github-actions
Copy link
Contributor

Binder 👈 Launch a binder notebook on branch pyiron/pyiron_contrib/clean_executor_fails

@liamhuber liamhuber added the .workflow Pertaining to the workflow submodule label Jul 18, 2023
@liamhuber
Copy link
Member Author

@samwaseda you're welcome to review this, but IMO it's low priority as I'm just making sure we have cleaner errors in an edge case.

There's a chance that Jan's pympipool.Executor can handle this situation already, so I'll try that before really digging in to solve this from our end. Fingers crossed it will be easy!

And downstream stuff like `update` and thus `__call__`. This was requested by Joerg and now makes things really start to feel like regular python
We may wish to later make Macro's slow, but for Workflows, since the IO is just routing through to the owned nodes, input updates are _anyhow_ most of the time re-running things, so it's a sensible default IMO
Return output when calling `run`
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@liamhuber liamhuber merged commit 00362ba into node_input_as_args Aug 2, 2023
@delete-merged-branch delete-merged-branch bot deleted the clean_executor_fails branch August 2, 2023 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.workflow Pertaining to the workflow submodule
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant