Skip to content

This repository is only to document, release and store Phoenix client binaries. You can find the latest CLI for different platforms in the "Releases" page.

License

Notifications You must be signed in to change notification settings

RoboEpics/phoenix-binaries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Phoenix

Run your data science workloads on high-performance cloud infrastructure in the fewest of steps.

Table of contents

CLI Installation

You can download and install the CLI for any of the following platforms.

Supported Platform Download (Latest)
Windows Link
Linux Link
macOS Link

To download a specific version, visit the releases page.

After you downloaded the binary, add executable permission if needed and add it to the executable path of your system.

CLI Usage

First you need to initialize Phoenix in your data science project directory:

phx init

This will create a .phoenix folder inside your project root directory.

Next you need to login to the Phoenix Platform by running this command and filling out your credentials in the prompts:

phx login

As easily as that, now your project is ready for the cloud.

Running jobs

You can run a job:

phx run --cluster $CLUSTER_NAME --flavor $FLAVOR_NAME --name $YOUR_JOB_NAME $COMMAND $ARGS

Creating Jupyter Notebooks

You can also run a Jupyter Notebook on-demand and attach it to Google Colab as an external powerful non-interrupting runtime kernel:

phx jupyter create --cluster $CLUSTER_NAME --flavor $FLAVOR_NAME --name $YOUR_JUPYTER_INSTANCE_NAME
phx jupyter attach

Now, as long as your terminal is open, you can connect your Colab to this runtime using the "Connect to a local runtime" button in Colab interface.

You can read more about how to connect Colab to a local runtime here.

Agent Setup

If you want to be a compute resource provider, you can install the Agent on your machine and connect it to the Compute Marketplace.

Prerequisites

  • Docker
  • A user who has access to the Docker engine (e.g. has the docker group)
  • Graphics Driver for your hardware and platform (NVIDIA or AMD)

Note: The Agent does not need to be run with sudo privileges.

Install

Download the Agent for your platform:

Supported Platform Download (Latest)
Windows Link
Linux Link
macOS Link

After you downloaded the binary, rename the binary to agent, add executable permission if needed and add it to the executable path of your system.

Setup

Run the connect subcommand of the Agent in a persistant terminal session (e.g. tmux):

./agent connect <NODE-NAME> <API-ADDRESS> [<GATEWAY-ADDRESS>]

You should see three logs showing that the Agent is connected to the different API resources. As long as the Agent is running, your machine is connected to the marketplace and users can use the compute resource to run their workloads.

Contact

If you had any questions or problems, join our server on Discord.

About

This repository is only to document, release and store Phoenix client binaries. You can find the latest CLI for different platforms in the "Releases" page.

Resources

License

Stars

Watchers

Forks