https://github.com/beacon-biosignals/ray.jl
Julia API for Ray
https://github.com/beacon-biosignals/ray.jl
Last synced: 4 months ago
JSON representation
Julia API for Ray
- Host: GitHub
- URL: https://github.com/beacon-biosignals/ray.jl
- Owner: beacon-biosignals
- License: other
- Created: 2023-08-02T14:40:00.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-02T22:41:29.000Z (7 months ago)
- Last Synced: 2025-01-15T11:13:03.703Z (6 months ago)
- Language: Julia
- Homepage:
- Size: 734 KB
- Stars: 11
- Watchers: 18
- Forks: 1
- Open Issues: 50
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ray.jl
[](https://github.com/beacon-biosignals/Ray.jl/actions/workflows/CI.yml?query=workflow%3ACI+branch%3Amain)
[](https://codecov.io/gh/beacon-biosignals/Ray.jl)
[](https://github.com/jrevels/YASGuide)
[](https://beacon-biosignals.github.io/Ray.jl/stable)
[](https://beacon-biosignals.github.io/Ray.jl/dev)The Ray.jl package provides a Julia language interface for [Ray.io](https://www.ray.io/) workloads.
## FAQ
### How do I start/stop the ray backend?
Make sure the appropriate Python environment (i.e. `source venv/bin/activate`) is active (wherever you [`pip install`ed the Ray CLI](https://beacon-biosignals.github.io/Ray.jl/stable/installation/)) and then do:
```sh
ray start --head
```to start and
```sh
ray stop
```to stop.
### Where can I find log files?
The directory `/tmp/ray/session_latest/logs` contains logs for the current or last ran ray backend.
The `raylet.err` is particularly informative when debugging workers failing to start, since error output before connecting to the Ray server is printed there.
Driver logs generated by Ray are printed in `julia-core-driver-$(JOBID)_$(PID).log`, and julia worker logs are in `julia_worker_$(PID).log` (although this may change).
### My workers aren't starting, help?
Check the raylet logs in `/tmp/ray/session_latest/logs/raylet.err`. If you see something about Revise (or another package) not being found, make sure you're not doing something like unconditionally `using Revise` in your `~/.julia/config/startup.jl` file; it's generally a good idea to wrap any `using`s in your startup.jl in a `try`/`catch` block [like the Revise docs recommend](https://timholy.github.io/Revise.jl/stable/config/#Using-Revise-by-default-1).