Quickstart

Run your first experiment on VESSL

1. Sign up and create a Project

To run your first experiment on VESSL AI, first sign uparrow-up-right for a free account and add an organization. Organization is a shared working environment where you can find team assets such as datasets, models, and experiments.

While we are on the web console, let’s also add a project called "mnist". As you will see later, Project serves as a central repository equipped with a dashboard and visualizations for all of your experiments.

2. Install VESSL AI Client

VESSL AI comes with a powerful CLI and Python SDK useful for managing ML assets and workflow. Install VESSL AI Client on your local machine using pip install.

In this guide, we will be using an examplearrow-up-right from our GitHub. Git clone the repository.

Let's access the project we created using your first VESSL AI CLI command. The command will guide you to a page that grants CLI access and configurearrow-up-right your default organization and project.

3. Run an Experiment

Now that we have specified the project and obtained CLI access, you will run your first experiment on VESSL AI. On a local machine, this is as simple as running a python script.

You can also run experiments using VESSL AI's managed clusters by using the vessl run command. The command will upload your current directory and run command on the cluster asynchronously. You can use vessl experiment create command instead of vessl run to specify detailed options (e.g. volume mounts) in one line.

Once the command completes, you will be given a link to Experiments. The experiment page stores logs, visualizations, and files specific to the experiment.

This metrics and images of the experiment was made possible by calling the init()arrow-up-right and log() function from our Python SDK, which you can use in your code by simply importing the library as shown in the example codearrow-up-right.

4. Track and visualize experiments

When you click the project name on the navigation bar, you will be guided back to the project page. Under each tab, you can explore VESSL's main features:

  • Experiments – unified dashboard for tracking experiments

  • Tracking – visualization of model performance and system metrics

  • Sweeps – scalable hyperparameter optimization

  • Models – a repository for versioned models

5. Develop state-of-the-art models on VESSL AI

Let's try building a model with the resources and datasets of your choice. Under Datasets, you can mount and manage datasets from local or cloud storage.

Let's move over to Workspaces where you can configure a custom environment for Jupyter Notebooks with SSH. You can use either VESSL AI's managed cluster with spot instance support or your own custom clusters.

Launch a Juypter Notebook. Here, you will find an example Notebook which introduces how you can integrate local experiments with VESSL AI to empower your research workflow.

Next Step

Now that you are familiar with the overall workflow of VESSL AI, explore additional features available on our platform and start building!

Last updated