Skip to main content

Ray gen2 node provider

Project description

Gen2-connector enables Ray cluster to be deployed over IBM Gen2 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 gen2-connector on your machine
pip install gen2-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


Release history Release notifications | RSS feed

Download files

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

Source Distribution

gen2-connector-1.0.0b67.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gen2_connector-1.0.0b67-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file gen2-connector-1.0.0b67.tar.gz.

File metadata

  • Download URL: gen2-connector-1.0.0b67.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for gen2-connector-1.0.0b67.tar.gz
Algorithm Hash digest
SHA256 146716d87f8174e2afa1cbfdf3f64dce4a529a431be9893e29cb91b8234dfd97
MD5 0a1542c716f3fcd1f0daf74f6980848e
BLAKE2b-256 ebd913496f093abb79183d96bd0fc8c4f47fd8b0bc719b727d0d169e795f3399

See more details on using hashes here.

File details

Details for the file gen2_connector-1.0.0b67-py3-none-any.whl.

File metadata

File hashes

Hashes for gen2_connector-1.0.0b67-py3-none-any.whl
Algorithm Hash digest
SHA256 bb6f3f2a4d7d513cfd24b56aa178842b66a3e28c28da0a7aeca2ddac103aeee3
MD5 e0a08e8523c10f92129dbc3e6e3903aa
BLAKE2b-256 23ca07ac3d3e25529d1d44bb326b5f65f7f2db83b37e58e923dddf90a592b00e

See more details on using hashes here.

Supported by

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