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.0b60.tar.gz (23.2 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.0b60-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gen2-connector-1.0.0b60.tar.gz
  • Upload date:
  • Size: 23.2 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.0b60.tar.gz
Algorithm Hash digest
SHA256 12469181f6d09294db42f198533aa5cf45194477a528b222340fa7d46a5b0e05
MD5 ce63130cef6e96d5f70277f7438ba384
BLAKE2b-256 5d09bcb14883c0fa6f44a9ad27dfd75e66fee43c7f74b4c0981bd422fa8f3b6e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gen2_connector-1.0.0b60-py3-none-any.whl
  • Upload date:
  • Size: 25.4 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.0b60-py3-none-any.whl
Algorithm Hash digest
SHA256 0920378000b07efce39ea68d99c7a3dbb150894a9c29be217e6416940970718f
MD5 bbacaabe10f0a7372d5f22cdcb65152b
BLAKE2b-256 3569ac49e624e94167506367de282de23e4e06c869de1c4106658983cfa75fdc

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