Closed jHaselberger closed 2 years ago
@gismo07 Thx for the good point of discussion.
[Possible Solution]
You can write like
luigi.build([prep], local_scheduler=True, detailed_summary=True, workers=20)
output = prep.output().load()
instead of
output = gokart.build(task=prep)
[Background]
This happens because gokart.build hiding the argument workers
of luigi.build
https://github.com/m3dev/gokart/blob/06ede5cefaf002faf273a79b761309aa27707811/gokart/build.py#L55
Actually, this might be lack of a feature . Yes, PRs fixing this are very welcome :)
Thank you, it's working like expected
Let's assume the following example:
All
DemoTasks
are executed randomly but one after another. Is there a way to execute them in parallel?