-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix pre-built installation instructions #248
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #248 +/- ##
=======================================
Coverage 97.64% 97.64%
=======================================
Files 12 12
Lines 808 808
=======================================
Hits 789 789
Misses 19 19
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
To install these dependencies and Ray.jl run the following: | ||
Additionally, the pre-built dependencies requires you are using the following versions of Julia and Python: | ||
|
||
- Julia 1.8 - 1.9 (Linux x86_64 / macOS aarch64) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restricted by the available ray_julia
artifacts: https://github.com/beacon-biosignals/Ray.jl/releases/tag/v0.0.4
Additionally, the pre-built dependencies requires you are using the following versions of Julia and Python: | ||
|
||
- Julia 1.8 - 1.9 (Linux x86_64 / macOS aarch64) | ||
- Python 3.7 - 3.11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restricted by the available ray wheels available: https://github.com/beacon-biosignals/ray/releases/tag/ray-2.5.1%2B1
@@ -15,8 +20,10 @@ ARCH=$(uname -m) | |||
RELEASE="ray-2.5.1+1" | |||
pip install -U "ray[default] @ https://github.com/beacon-biosignals/ray/releases/download/$RELEASE/${RELEASE%+*}-${PYTHON}-${OS}_${ARCH}.whl" "pydantic<2" | |||
|
|||
# Install the Julia packages "ray_julia_jll" and "Ray" | |||
TAG="v0.1.0" julia -e 'using Pkg; Pkg.add(PackageSpec(url="https://github.com/beacon-biosignals/Ray.jl", rev=ENV["TAG"]))' | |||
ray start --head && ray stop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works around this issue with brand new installations:
julia> Ray.init()
ERROR: IOError: realpath("/tmp/ray/session_latest/logs"): no such file or directory (ENOENT)
Manually creating that directory causes:
julia> Ray.init()
ERROR: SystemError: opening file "/tmp/ray/session_latest/logs/raylet.out": No such file or directory
and creating that file still causes another issue:
julia> Ray.init()
ERROR: Unable to locate agent process information
Even ray start --head
isn't fully reliable but seems to resolve a few initial issues
Co-authored-by: Glenn Moynihan <glennmoy@gmail.com>
Improve the documentation in preparation for JuliaCon.