derwenai / ray_tutorial Goto Github PK
View Code? Open in Web Editor NEWAn introductory tutorial about leveraging Ray core features for distributed patterns.
License: MIT License
An introductory tutorial about leveraging Ray core features for distributed patterns.
License: MIT License
I created a container based on the python:3.9-buster image to run the notebooks.
After cloning the repo into the container and moving to the repo's root folder, I ran the following commands:
python -m venv venv
source venv/bin/activate
python3 -m pip install -U pip
python3 -m pip install -r requirements.txt
The last command threw the following error:
ERROR: Could not find a version that satisfies the requirement ray>=1.2
ERROR: No matching distribution found for ray>=1.2
Using the python:3.7-buster and python:3.8-buster image which comes with python 3.7.10 and python 3.8.9 respectively works fine.
I followed the installation instructions using pip
on Python 3.7.
This part of the pi.ipynb notebook:
roots = objgraph.get_leaking_objects()
objgraph.show_refs(roots[:3], refcounts=True)
threw the following exception:
ExecutableNotFound: failed to execute ['dot', '-Kdot', '-Tsvg'], make sure the Graphviz executables are on your systems' PATH
I think we should add getting the graphviz executable as part of the installation process. On ubuntu, it's:
sudo apt install graphviz
the steps to get the executable on other platforms is here.
Hello,
Creating documentation and if this helps others when playing with ray:
On Macbook the firewall needs to be turned off so that the distributed components like Redis and ray processes can talk to each other, To turn off the firewall go to, System Preferences -> security & privacy -> Firewall.
Adding the screenshot of manual accept messages that I was getting repeatedly:
Hi, was walking thru the tutorial and came across this:
$ python3 -m pip install -r requirements.txt
Collecting yarl==1.4.2
Using cached yarl-1.4.2.tar.gz (163 kB)
Collecting multidict==4.7.3
Using cached multidict-4.7.3.tar.gz (50 kB)
Collecting graphviz>=0.14
Using cached graphviz-0.16-py2.py3-none-any.whl (19 kB)
Collecting icecream>=1.2
Using cached icecream-2.1.0-py2.py3-none-any.whl (8.0 kB)
Collecting jupyterlab>=3.0
Using cached jupyterlab-3.0.12-py3-none-any.whl (8.3 MB)
Collecting matplotlib>=3.3
Using cached matplotlib-3.3.4-cp36-cp36m-macosx_10_9_x86_64.whl (8.5 MB)
**ERROR: Could not find a version that satisfies the requirement numpy>=1.20
ERROR: No matching distribution found for numpy>=1.20**
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.