如何解决ray.services.get_node_ip_address() 不起作用射线簇python
我正在学习在 ray 的集群上使用 the official documentation
我只想测试 ray.services.get_node_ip_address()
的单个功能,但出现以下错误:
>>> import ray
>>> ray.services.get_node_ip_address()
Traceback (most recent call last):
File "<stdin>",line 1,in <module>
AttributeError: module 'ray' has no attribute 'services'
解决方法
它在ray._private.services.get_node_ip_address()
好像get_node_ip_address()
的位置从ray.services.get_node_ip_address()
变成了ray._private.services.get_node_ip_address()
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。