Skip to main content

Quick Start

Introduction

To explore the features of DeepSquare, all you need is a Google account. This guide will walk you through the process of creating and deploying a workflow on the DeepSquare Grid using the Web2 version of the DeepSquare Portal.

The example provided will illustrate how credits gets allocated, how jobs are submitted and running, and how to watch their status and logs.

Writing and submitting your first workflow

  1. Log in to the DeepSquare Portal.

    image-20240111185515478

  2. From the sidebar, open the Dev page:

    image-20240111190120949

  3. Let's run a Stable Diffusion inference, i.e., a text to image. Copy the follwing YAML content into the editor:

    stable-diffusion.yaml
    resources:
    tasks: 1
    gpus: 1
    cpusPerTask: 1
    memPerCpu: 32000

    enableLogging: true

    steps:
    - name: stable-diffusion
    use:
    source: github.com/deepsquare-io/workflow-modules/stable-diffusion@v1
    args:
    - key: PROMPT
    value: spatioport scifi deep_space

    You can replace the value of the PROMPT, if you want.

  4. Submit the job to the DeepSquare Grid by clicking on the SUBMIT button:

    image-20240111190436467

    After submitting the jobs, credits are allocated for the job. Since we are using Web2, credits are hidden from the user.

  5. Go the the Job Status page. You should see your job running, or finished.

    image-20240111191135087

    You can check the logs and outputs by clicking on the image-20240111191215557 button.

    image-20240111191334343

Explore more workflows

Deepsquare provides multiple workflows that you can edit to create you own job. You can explore the workflows in the deepsquare-io/workflow-catalog repository.

You can also use fully fledge applications that uses DeepSquare in the Apps sidebar.

image-20240111191723873

Next steps

Are you ready to get started? Here are some helpful resources for taking your next steps with DeepSquare: