Kevin Liu
09/25/2024, 7:53 PMray start --head --port=6379). I can confirm that the node is active and can also reach the dashboard (http://127.0.0.1:8265/#/cluster)
However, I cannot connect to it on daft using its <host>:<port> format
import daft
daft.context.set_runner_ray(address="<ray://127.0.0.1:6379>")
I get a connection timeout errorKevin Liu
09/25/2024, 7:54 PMdaft.context.set_runner_ray(address="auto")
works, and automatically connect to 127.0.0.1:6379Kevin Liu
09/25/2024, 7:54 PMKevin Liu
09/25/2024, 7:58 PMdaft.context.set_runner_ray(address="127.0.0.1:6379")
worksKevin Liu
09/25/2024, 7:59 PMray://Kevin Liu
09/25/2024, 8:00 PMray:// is references in a bunch of places
https://github.com/search?q=repo%3AEventual-Inc%2FDaft+%22ray%3A%2F%2F%22&type=codejay
09/25/2024, 8:00 PM--port 6379 is the port for Ray internally to talk to each other
Looks like you still have to do <ray://127.0.0.1:10001>jay
09/25/2024, 8:00 PMray.init(address=…)Kevin Liu
09/25/2024, 8:01 PMdaft.context.set_runner_ray(address="127.0.0.1:6379")
worked somehowjay
09/25/2024, 8:01 PMKevin Liu
09/25/2024, 8:01 PMjay
09/25/2024, 8:03 PMray:// protocol, and then 6379 exposes a raw one… Hmmjay
09/25/2024, 8:04 PMjay
09/25/2024, 8:06 PMKevin Liu
09/25/2024, 9:10 PMdaft.context.set_runner_ray(address="<ray://127.0.0.1:10001>")
works!jay
09/25/2024, 9:10 PMKevin Liu
09/25/2024, 9:10 PMjay
09/25/2024, 9:10 PMKevin Liu
09/25/2024, 9:10 PMjay
09/25/2024, 9:10 PMjay
09/25/2024, 9:10 PMjay
09/25/2024, 9:11 PMKevin Liu
09/25/2024, 9:11 PMjay
09/25/2024, 9:11 PMjay
09/25/2024, 9:11 PMKevin Liu
09/25/2024, 9:11 PMjay
09/25/2024, 9:11 PMRaunak Bhagat
09/25/2024, 9:13 PMKevin Liu
09/25/2024, 9:16 PMKevin Liu
09/25/2024, 9:16 PMRaunak Bhagat
09/25/2024, 9:35 PMKevin Liu
09/25/2024, 9:38 PMRaunak Bhagat
09/25/2024, 9:59 PMdaft-launcher!
# if you're using pip
pip install daft-launcher
# if you're using uv (recommended)
uv pip install daft-launcher
I'm going to publish v0.2.0 in around 30min!Raunak Bhagat
09/25/2024, 10:03 PMRaunak Bhagat
09/25/2024, 10:05 PMdaft init-config file isn't implemented just yet. I accidentally included that prematurely in the readme 😞
Will try to release another patched version asap.
However, the rest of the commands should work!Raunak Bhagat
09/25/2024, 10:06 PM.daft.toml file in your CWD.
The structure of the file is as such:Raunak Bhagat
09/25/2024, 10:07 PMdaft init-config command would have outputted in the first place. I'll try to get that working asap 🙂)Kevin Liu
09/25/2024, 10:19 PMRaunak Bhagat
09/25/2024, 10:34 PMRaunak Bhagat
09/26/2024, 6:13 PM