Have to use generators when returning from _deploy_ray_func remote function. #7004
Labels
new feature/request 💬
Requests and pull requests for new features
Performance 🚀
Performance related issues and pull requests.
Ray ⚡
Issues related to the Ray engine
Using generators to reduce heap memory usage in remote functions.
The function _deploy_ray_func currently returns a list, this can be replaced to return generators which is ray pattern suggested to reduce memory usage.
Note:This isssue is a subtask of #5524
The text was updated successfully, but these errors were encountered: