Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beacon-biosignals/ray.jl
Julia API for Ray
https://github.com/beacon-biosignals/ray.jl
Last synced: about 5 hours 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-08T16:10:22.000Z (4 months ago)
- Last Synced: 2024-07-09T13:49:22.586Z (4 months ago)
- Language: Julia
- Homepage:
- Size: 731 KB
- Stars: 9
- Watchers: 19
- Forks: 1
- Open Issues: 49
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ray.jl
[![CI](https://github.com/beacon-biosignals/Ray.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/beacon-biosignals/Ray.jl/actions/workflows/CI.yml?query=workflow%3ACI+branch%3Amain)
[![codecov](https://codecov.io/gh/beacon-biosignals/Ray.jl/graph/badge.svg)](https://codecov.io/gh/beacon-biosignals/Ray.jl)
[![Code Style: YASGuide](https://img.shields.io/badge/code%20style-yas-violet.svg)](https://github.com/jrevels/YASGuide)
[![Stable Documentation](https://img.shields.io/badge/docs-stable-blue.svg)](https://beacon-biosignals.github.io/Ray.jl/stable)
[![Dev Documentation](https://img.shields.io/badge/docs-dev-blue.svg)](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).