-
Notifications
You must be signed in to change notification settings - Fork 11
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
TinyBase: Status and Roadmap #766
Comments
I have a couple of questions, to clarify the current state:
|
It's not aware of queuing systems, but I also hope it won't need to. You should be able to plug in a parsl and dask executor immediately, but I haven't tried. Wrapping
Yes and no, the executor/task setup doesn't know about internal parallelism of tasks. It's not clear to me yet, how to make this general, since most executor implementations won't support this. On the other hand you should be able to just plug in the corresponding pool from
It requires a database interface, but it doesn't care what it does. The interface takes tuples with the job information and should give it back with a job id, that's all. I added
Good that you mention this! It's naturally on the list, but I forgot to add it (this is also mostly how I work). Like you said it shouldn't be hard and it will definitely benefit a lot from the improved parallelism of tinybase.
Ja, difficult question. tasks, not jobs, don't save their output, you can therefor trivially do something like for eps in np.linspace(-.1,.1):
task.input.structure.apply_strain(eps)
output = task.execute() # save this however you want Is that always what we want? For things like |
Yes, this is what I currently see as the biggest limitation of the |
Agree, it looks like we'll have to do it. I'd prefer to keep this orthogonal as much as possible though. That is we define what a task should specify about its internal parallelism and then any executor can act on this accordingly. I guess a task would need to keep track at least of:
|
The example notebooks are now in a working shape again. |
Here I just want to briefly collect my todos.
What works
HasHDF
work natively with the new interfacesWhat should be done
TaskExecutor
?The text was updated successfully, but these errors were encountered: