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
when I run psro_leduc_poker.py, an error about ray occurs as follows:
/home/mm/anaconda3/envs/malib_330/bin/python /data/XXX/malib/examples/psro_leduc_poker.py
WARNING:root:Cannot import alpharank utils, if you wanna run meta game experiments, please install open_spiel before that.
[2022-03-30 21:53:36,067][INFO] registered request handler=optimization
[2022-03-30 21:53:36,067][INFO] registered request handler=simulation
[2022-03-30 21:53:36,068][INFO] registered request handler=evaluate
[2022-03-30 21:53:36,068][INFO] registered request handler=update_payofftable
[2022-03-30 21:53:36,068][INFO] registered request handler=rollout
2022-03-30 21:53:36,587 INFO services.py:1166 -- View the Ray dashboard at http://127.0.0.1:8265
[2022-03-30 21:53:37,672][INFO] Ray lauched: {'node_ip_address': '192.168.43.185', 'raylet_ip_address': '192.168.43.185', 'redis_address': '192.168.43.185:6379', 'object_store_address': '/tmp/ray/session_2022-03-30_21-53-36_069448_64379/sockets/plasma_store', 'raylet_socket_name': '/tmp/ray/session_2022-03-30_21-53-36_069448_64379/sockets/raylet', 'webui_url': '127.0.0.1:8265', 'session_dir': '/tmp/ray/session_2022-03-30_21-53-36_069448_64379', 'metrics_export_port': 50956}
[2022-03-30 21:53:37,674][INFO] Ray cluster resources info: {XXXXXXX}
Logger server up!
(pid=64609) [2022-03-30 21:53:38,698][INFO] dataset server initialized with (table_capacity=200000 table_learning_start=64)
(pid=64635) WARNING:root:Cannot import alpharank utils, if you wanna run meta game experiments, please install open_spiel before that.
(pid=64635) /data/XXX/malib/malib/evaluator/utils/payoff_table.py:20: DeprecationWarning: np.bool is a deprecated alias for the builtin bool. To silence this warning, use bool by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.bool_ here.
(pid=64635) Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
(pid=64635) self.simulation_flag = np.zeros([0] * len(self.agents), dtype=np.bool)
(pid=64621) [2022-03-30 21:53:39,902][INFO] ray.get_gpu_ids(): []
(pid=64621) [2022-03-30 21:53:39,902][INFO] CUDA_VISIBLE_DEVICES:
(pid=64634) [2022-03-30 21:53:39,868][INFO] ray.get_gpu_ids(): []
(pid=64634) [2022-03-30 21:53:39,868][INFO] CUDA_VISIBLE_DEVICES:
(pid=64634) WARNING:root:Cannot import alpharank utils, if you wanna run meta game experiments, please install open_spiel before that.
(pid=64635) [2022-03-30 21:53:40,260][INFO] training manager launched, 2 learner(s) created
(pid=64635) [2022-03-30 21:53:40,261][INFO] set worker num as 2
(pid=64621) WARNING:root:Cannot import alpharank utils, if you wanna run meta game experiments, please install open_spiel before that.
(pid=64635) [2022-03-30 21:53:40,282][INFO] RolloutWorker manager launched, 2 rollout worker(s) alives.
(pid=64635) [2022-03-30 21:53:40,423][INFO] Coordinator server started
(pid=64633) WARNING:root:Cannot import alpharank utils, if you wanna run meta game experiments, please install open_spiel before that.
(pid=64585) WARNING:root:Cannot import alpharank utils, if you wanna run meta game experiments, please install open_spiel before that.
2022-03-30 21:53:45,409 ERROR worker.py:1018 -- Possible unhandled error from worker: ray::CoordinatorServer.request() (pid=64635, ip=192.168.43.185)
File "python/ray/_raylet.pyx", line 484, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 438, in ray._raylet.execute_task.function_executor
File "/data/XXX/malib/malib/backend/coordinator/server.py", line 166, in request
f"Missing handler for task type {task_request.task_type.value}"
AttributeError: Missing handler for task type simulation
2022-03-30 21:53:46,410 ERROR worker.py:1018 -- Possible unhandled error from worker: ray::CoordinatorServer.request() (pid=64635, ip=192.168.43.185)
File "python/ray/_raylet.pyx", line 484, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 438, in ray._raylet.execute_task.function_executor
File "/data/XXX/malib/malib/backend/coordinator/server.py", line 166, in request
f"Missing handler for task type {task_request.task_type.value}"
AttributeError: Missing handler for task type simulation
I would be appreciate if you could give me some suggestions about how to solve it.
when I run
psro_leduc_poker.py
, an error aboutray
occurs as follows:/home/mm/anaconda3/envs/malib_330/bin/python /data/XXX/malib/examples/psro_leduc_poker.py
WARNING:root:Cannot import alpharank utils, if you wanna run meta game experiments, please install open_spiel before that.
[2022-03-30 21:53:36,067][INFO] registered request handler=optimization
[2022-03-30 21:53:36,067][INFO] registered request handler=simulation
[2022-03-30 21:53:36,068][INFO] registered request handler=evaluate
[2022-03-30 21:53:36,068][INFO] registered request handler=update_payofftable
[2022-03-30 21:53:36,068][INFO] registered request handler=rollout
2022-03-30 21:53:36,587 INFO services.py:1166 -- View the Ray dashboard at http://127.0.0.1:8265
[2022-03-30 21:53:37,672][INFO] Ray lauched: {'node_ip_address': '192.168.43.185', 'raylet_ip_address': '192.168.43.185', 'redis_address': '192.168.43.185:6379', 'object_store_address': '/tmp/ray/session_2022-03-30_21-53-36_069448_64379/sockets/plasma_store', 'raylet_socket_name': '/tmp/ray/session_2022-03-30_21-53-36_069448_64379/sockets/raylet', 'webui_url': '127.0.0.1:8265', 'session_dir': '/tmp/ray/session_2022-03-30_21-53-36_069448_64379', 'metrics_export_port': 50956}
[2022-03-30 21:53:37,674][INFO] Ray cluster resources info: {XXXXXXX}
Logger server up!
(pid=64609) [2022-03-30 21:53:38,698][INFO] dataset server initialized with (table_capacity=200000 table_learning_start=64)
(pid=64635) WARNING:root:Cannot import alpharank utils, if you wanna run meta game experiments, please install open_spiel before that.
(pid=64635) /data/XXX/malib/malib/evaluator/utils/payoff_table.py:20: DeprecationWarning:
np.bool
is a deprecated alias for the builtinbool
. To silence this warning, usebool
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.bool_
here.(pid=64635) Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
(pid=64635) self.simulation_flag = np.zeros([0] * len(self.agents), dtype=np.bool)
(pid=64621) [2022-03-30 21:53:39,902][INFO] ray.get_gpu_ids(): []
(pid=64621) [2022-03-30 21:53:39,902][INFO] CUDA_VISIBLE_DEVICES:
(pid=64634) [2022-03-30 21:53:39,868][INFO] ray.get_gpu_ids(): []
(pid=64634) [2022-03-30 21:53:39,868][INFO] CUDA_VISIBLE_DEVICES:
(pid=64634) WARNING:root:Cannot import alpharank utils, if you wanna run meta game experiments, please install open_spiel before that.
(pid=64635) [2022-03-30 21:53:40,260][INFO] training manager launched, 2 learner(s) created
(pid=64635) [2022-03-30 21:53:40,261][INFO] set worker num as 2
(pid=64621) WARNING:root:Cannot import alpharank utils, if you wanna run meta game experiments, please install open_spiel before that.
(pid=64635) [2022-03-30 21:53:40,282][INFO] RolloutWorker manager launched, 2 rollout worker(s) alives.
(pid=64635) [2022-03-30 21:53:40,423][INFO] Coordinator server started
(pid=64633) WARNING:root:Cannot import alpharank utils, if you wanna run meta game experiments, please install open_spiel before that.
(pid=64585) WARNING:root:Cannot import alpharank utils, if you wanna run meta game experiments, please install open_spiel before that.
2022-03-30 21:53:45,409 ERROR worker.py:1018 -- Possible unhandled error from worker: ray::CoordinatorServer.request() (pid=64635, ip=192.168.43.185)
File "python/ray/_raylet.pyx", line 484, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 438, in ray._raylet.execute_task.function_executor
File "/data/XXX/malib/malib/backend/coordinator/server.py", line 166, in request
f"Missing handler for task type {task_request.task_type.value}"
AttributeError: Missing handler for task type simulation
2022-03-30 21:53:46,410 ERROR worker.py:1018 -- Possible unhandled error from worker: ray::CoordinatorServer.request() (pid=64635, ip=192.168.43.185)
File "python/ray/_raylet.pyx", line 484, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 438, in ray._raylet.execute_task.function_executor
File "/data/XXX/malib/malib/backend/coordinator/server.py", line 166, in request
f"Missing handler for task type {task_request.task_type.value}"
AttributeError: Missing handler for task type simulation
I would be appreciate if you could give me some suggestions about how to solve it.
Additionally, I use the version of
ray=1.0.0
andcloudpickle=1.6.0
, becauseray=1.8.0
is incompatible withcloudpickle=1.6.0
(the same incompatible problem can see https://blog.csdn.net/weixin_42769131/article/details/121526206 ).The text was updated successfully, but these errors were encountered: