Skip to content
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

Merged
merged 4 commits into from
Jul 8, 2024
Merged

Fix pre-built installation instructions #248

merged 4 commits into from
Jul 8, 2024

Conversation

omus
Copy link
Member

@omus omus commented Jul 8, 2024

Improve the documentation in preparation for JuliaCon.

Copy link

codecov bot commented Jul 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.64%. Comparing base (c89cc85) to head (585c3f8).
Report is 2 commits behind head on main.

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           
Flag Coverage Δ
Ray.jl 97.64% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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)
Copy link
Member Author

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
Copy link
Member Author

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
Copy link
Member Author

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

@omus omus requested a review from glennmoy July 8, 2024 11:07
docs/src/getting-started.md Outdated Show resolved Hide resolved
Co-authored-by: Glenn Moynihan <glennmoy@gmail.com>
@omus omus merged commit 3cabf25 into main Jul 8, 2024
6 of 8 checks passed
@omus omus deleted the cv/installation-fix branch July 8, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants