Mike Kovetsky
08/31/2022, 2:16 PMRuntimeError: Tasks cannot be run outside of a flow. To call the underlying task function outside of a flow use `task.fn()`.
When i try tune.Tuner(prefect_task.fn), the flow runs successfully. But the task registration is skipped, so I see no progress in the prefect dashboard š
This point is really crucial, because I cannot run parallel tasks with RayTaskRunner, as there are no prefect tasks registered.
3. I wonder what is the best practice to manage max concurrency. Should i specify concurrency-limit 2 on the prefect level? Or maybe on Ray level tune.TuneConfig(max_concurrent_trials=2)?
Thank you in advance! šKhuyen Tran
08/31/2022, 3:40 PM