Setting Up Clients#

Setting up clients for interacting with the HPE Machine Learning Development Environment master through the CLI provides users with efficient access for task execution without having to go through the WebUI.

Follow these step-by-step instructions to set up clients.

Step 1 - Set DET_MASTER Environment Variable#

Set the DET_MASTER environment variable, which is the network address of the HPE Machine Learning Development Environment master. You can override the value in the command line using the -m option.

Note

You can skip this step when deploying locally.

Step 2 - Install the HPE Machine Learning Development Environment CLI#

The HPE Machine Learning Development Environment CLI is a command-line tool that lets you launch new experiments and interact with an HPE Machine Learning Development Environment cluster. The CLI can be installed on any machine you want to use to access HPE Machine Learning Development Environment. To install the CLI, follow the installation instructions.

The -m or --master flag determines the network address of the HPE Machine Learning Development Environment master that the CLI connects to. If this flag is not specified, the value of the DET_MASTER environment variable is used; if that environment variable is not set, the default address is localhost. The master address can be specified in three different formats:

  • example.org:port (if port is omitted, it defaults to 8080)

  • http://example.org:port (if port is omitted, it defaults to 80)

  • https://example.org:port (if port is omitted, it defaults to 443)

Examples:

# Connect to localhost, port 8080.
$ det experiment list

# Connect to example.org, port 8888.
$ det -m example.org:8888 e list

# Connect to example.org, port 80.
$ det -m http://example.org e list

# Connect to example.org, port 443.
$ det -m https://example.org e list

# Connect to example.org, port 8080.
$ det -m example.org e list

# Set default Determined master address to example.org, port 8888.
$ export DET_MASTER="example.org:8888"