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

Investigate a possibility of executing Gluecodium generators in parallel #905

Open
DanielKamkha opened this issue May 18, 2021 · 0 comments
Labels

Comments

@DanielKamkha
Copy link
Contributor

In the current Gluecodium architecture all output language generators work independently of each other. They all use a LIME model as an input, but this model does not change during the execution. So there is a theoretical possibility of executing the generators in parallel.

Presumably, there is no shared state between the different generators. This needs to be investigated. There is a shared state outside of the generators, which is a "cache" mechanism. There are different options for dealing with that: getting rid of the cache entirely (#904), making the cache thread-safe, or doing better decoupling of the generator runs and cache writes.

It is also unknown whether the parallelization would bring any performance benefit. This needs to be tested.

@DanielKamkha DanielKamkha added spike good-first-issue Good first issue for starting with the project labels May 18, 2021
@DanielKamkha DanielKamkha removed the good-first-issue Good first issue for starting with the project label Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant