This release is a pre-release and may not be stable for production use.
ibm-vpc-ray-connector enables Ray cluster to be deployed over IBM VPC infrastructure
Setup
Use of python virtual environment, e.g. virtualenv, is greatly encouraged to avoid installing Python packages globally, which could break system tools or other projects
- Install ibm-vpc-ray-connector on your machine
pip install ibm-vpc-ray-connector
-
Configure ibm vpc
-
Create/Update security group to have SSH, Redis and Ray Dashboard ports open: 22, 8265 and 6379
-
Create cluster config file
- Use interactive
ibm-ray-configconfig tool to generate cluster.yaml configuration file
pip install ibm-ray-config ibm-ray-config -o cluster.yaml - Use interactive
Usage
- Use generated file to bring ray cluster up, e.g
ray up cluster.yaml.
- After finished, find cluster head node and worker nodes ips:
ray get-head-ip cluster.yaml
ray get-worker-ips cluster.yaml
- To get status of the cluster
ray status --address PUBLIC_HEAD_IP:6379
-
Use browser to open ray dashboard on PUBLIC_HEAD_IP:8265. Alternatively use
ray dashboardto forward ray cluster dashboard to your localhost. -
Submit example task
ray submit cluster.yaml templates/example.py
Logs
Logs for the node_provider can be found under /tmp/connector_logs/.
Logs of all levels will be written to connector_logs.
The default log level for console output is INFO.
Release files for ibm-vpc-ray-connector 1.0.0b75
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ibm-vpc-ray-connector-1.0.0b75.tar.gz | 17.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ibm_vpc_ray_connector-1.0.0b75-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.4 kB
Release files / ibm-vpc-ray-connector-1.0.0b75.tar.gz
| Download URL | ibm-vpc-ray-connector-1.0.0b75.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ba218153a199f742739df5e1a16dc80235a6dff84f4b77b8b168e0a5f662d30
|
|
BLAKE2b-256 checksum How to use checksums |
fe49a5c1b304a3aa8e3882ad68ffa6a95dfc7aad1c9bd784dcb5685a4e0f6540
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / ibm_vpc_ray_connector-1.0.0b75-py3-none-any.whl
| Download URL | ibm_vpc_ray_connector-1.0.0b75-py3-none-any.whl |
|---|---|
| Size | 19.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42a7c0e2f7a8ea3554bcdede9ffc85c7c1df5c9977aab97de7e4e1bf9d963f27
|
|
BLAKE2b-256 checksum How to use checksums |
dea100a789834e2455367abcbef4c75f7bcf16601b45ca0b42899a56c452321d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|