Quick Start

Here is the guide to help setup ELBO environment in your local machine.

Good to know: We are just getting started with this service and are actively building it. If you face any problems with the service or API, please reach out to us at [email protected]

Get your API keys

Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an HTTP Authentication error.

Sign up for an account (with a 14 day trial period). You can get the API key from your here at any time on the website.

Setup your Virtual Environment

It's better to run Python in a virtual environment or use conda. To install your virtual environment run:

pip3 install virtualenv virtualenvwrapper

And create an environment using:

virtualenv -p python3 .venv

or if virtualenv is not in path:

~/Library/Python/3.9/bin/virtualenv -p python3 .venv

This creates a virtual Python environment in the .venv folder. To activate this environment use the command:

. .venv/bin/activate

Or the following if you are using the fish shell:

. .venv/bin/activate.fish

If you hit a Command not found error while running virtualenvthen try running virtual env from the user install location. This happens if the package was installed in the user path instead of the system global path.

~/Library/Python/3.9/bin/virtualenv

Install the library

The best way to interact with our API is to use our elbo library. You can install it using the command line below:

Good to know: The elbo package still resides in the test pypi repository. We will move it to the official repository once we are out of beta development.

Login to ELBO

Use the command line tool to login.

This will prompt you to enter your token. The token can be obtained by logging into the ELBO welcome page.

Make your first task submission

Try out one of the sample ML submission from our examples Github repository. First clone the repository:

Submit the sample task:

Here is a sample output of the command that prompts with a list of compute options from our providers:

Thats it! 🥳 Monitor your task progression using elbo show <task_id>.

Good to know: The list of compute options is sorted in the order of best price to performance. Note that the cheapest option may not always be the best nor is the most expensive option.

Last updated

Was this helpful?