Skip to main content

IBM VPC connector for Ray

Project description

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

  1. Install ibm-vpc-ray-connector on your machine
pip install ibm-vpc-ray-connector
  1. Configure ibm vpc

  2. Create cluster config file

    • Use interactive ibm-ray-config config tool to generate cluster.yaml configuration file
    pip install ibm-ray-config
    ibm-ray-config -o cluster.yaml
    

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 dashboard to 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ibm-vpc-ray-connector-1.0.0b72.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

ibm_vpc_ray_connector-1.0.0b72-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file ibm-vpc-ray-connector-1.0.0b72.tar.gz.

File metadata

File hashes

Hashes for ibm-vpc-ray-connector-1.0.0b72.tar.gz
Algorithm Hash digest
SHA256 6a565264c5c71151fc765c0851fc262c9de02eb5198b8c71e2b84ec58c90d6dc
MD5 d47257e8f5be811384235164548fc41e
BLAKE2b-256 7ca38aec205944cc0a3aa9790f07a70ea0752fe9ba671672413d2dfd841e4841

See more details on using hashes here.

File details

Details for the file ibm_vpc_ray_connector-1.0.0b72-py3-none-any.whl.

File metadata

File hashes

Hashes for ibm_vpc_ray_connector-1.0.0b72-py3-none-any.whl
Algorithm Hash digest
SHA256 5916dd6f9516eaf026476119f986d6e9b01fad5a8ef395ae789d5963a46e5dd1
MD5 1d8d4cf2e8d0f4aa65c42be5e09df8a0
BLAKE2b-256 dacf79f4ae446140bcb633dac7720b438e9a06d1ff67073302954c5c250900e4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page