Files
ray-project--ray/release/hello_world_tests/hello_world.py
T
2026-07-13 13:17:40 +08:00

15 lines
166 B
Python

import ray
@ray.remote
def hello_world():
return "Hello, world!"
def main():
print(ray.get(hello_world.remote()))
if __name__ == "__main__":
main()