so i have a simple a script
import ray
import requests as r
ray.init()
@ray.remote
def f(i):
print(i)
r.get("http://127.0.0.1:5000/" + str(i))
return i
if __name__ == "__main__":
for k in range(1000):
f.remote(k)
when i run this script only 250 remote calls happens and the program terminates instead of executing all the 1000 remote calls.
i really have no clue even after viewing the ray browser dashboard
when i set local_mode=True the program complete all the 1000 calls