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 Ray release 1.8.0 using pip install ray[default]==1.8.0

  2. Install gen2-connector on your machine

pip install gen2-connector
  1. Configure ibm vpc

  2. Create cluster config file

    • Use interactive lithopscloud config tool to generate cluster.yaml configuration file
    pip install lithopscloud
    lithopscloud -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.0b54.tar.gz (24.4 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.0b54-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gen2-connector-1.0.0b54.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.3

File hashes

Hashes for gen2-connector-1.0.0b54.tar.gz
Algorithm Hash digest
SHA256 d2489f658bbe0f0a74a41175441bb20438a1269327a71fdc8680b3a40f9f5d88
MD5 99335007e1af90f65db2eb98a73acf5b
BLAKE2b-256 316cdee3b4c0acdacc226636da83b213eb08bb5a34849d0c2aabcae8db67ead5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gen2_connector-1.0.0b54-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.3

File hashes

Hashes for gen2_connector-1.0.0b54-py3-none-any.whl
Algorithm Hash digest
SHA256 d58254c469e20940a7e3e26805aa1557723afc7f93a6bbe3176eea1282da6e77
MD5 d0e1551f584dbb92e60aac10a61fa4c3
BLAKE2b-256 0e3e7e83063ef97686c5be05f52d5bcdfa32aa3fb4beb6068d22f44be6ca084e

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