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

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
    
  3. 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

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.0b69.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

ibm_vpc_ray_connector-1.0.0b69-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ibm-vpc-ray-connector-1.0.0b69.tar.gz
Algorithm Hash digest
SHA256 e9b556980551e7ee54a1f351f8dd558d8733a9f63035d945ffcffb51d8b461bd
MD5 3af79a16e944c979f4a2761816f6b256
BLAKE2b-256 abb4c3c3f98b294035395c8f2e34b01a56ace6d058892091d3e35f7dd5415de4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ibm_vpc_ray_connector-1.0.0b69-py3-none-any.whl
Algorithm Hash digest
SHA256 cdb2d9837ee719d8f04bf2903c4b253d87bd6e43db9649ac98526c301410d458
MD5 3065275a737cc8197dfac4a2b52ce27b
BLAKE2b-256 68770aca94503c69823d133963b9672c5a4f3b37e2e2a8345f8bdc96be796888

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