You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueError: ('dependent task %s should have been spawned', 'TaskID(tasks_1, task=None)')
Which is caused by the following assertion in task_runtime.py: if dependent.task is None
It seems that this assertion makes no sense since ComputeTask is only invoked after all the unspawned dependencies are supposed to be added. Thus this assertion can never be true, maybe it should be removed?
The text was updated successfully, but these errors were encountered:
I agree, this seems to have been added and not caught in #112. Thanks for raising this!
I'll remove the check and run through the tests to make sure everything is okay.
Also as a heads up, we've been rewriting our runtime from scratch in C++ for Parla 0.3 where we've made these mechanisms a bit more robust than storing waiting tasks in a global dictionary :) We have a few more features to refine before release but it will hopefully be within the next month.
Tutorial 1 mentions:
When I tried the following:
I get:
Which is caused by the following assertion in task_runtime.py:
if dependent.task is None
It seems that this assertion makes no sense since ComputeTask is only invoked after all the unspawned dependencies are supposed to be added. Thus this assertion can never be true, maybe it should be removed?
The text was updated successfully, but these errors were encountered: