RunPod

Ready to contribute to cutting-edge AI while earning rewards? This guide helps Flexstack users seamlessly deploy a Flexstack AI Host on Runpod.io, a powerful cloud platform ideal for AI and machine learning.

Before You Start:

  • RunPod Account: Make sure you have a runpod.io account with sufficient credits. Sign up and top up your account if needed (pricing details available here).

  • Flexstack AI: Sign up for a free Flexstack network account at https://flexstack.ai to obtain your username and password.

Step 1: Configure Your Runpod.io Environment

  1. GPU Cloud Creation: Head to the Runpod.io console and choose "GPU Cloud" under "Create New.

  2. "Select Resources: We recommend 1x RTX 4090 for optimal performance (minimum requirement: RTX 4000 Ada).

RTX 4090 is recommended

Uncheck "Start Jupyter Notebook" while creating the pod.

  1. Connect and Access: Once your pod is up and running, expand its panel and choose "Connect"

You can see your pod displyed on the avalable pod panel.
Connect to Web Terminal to start deploying.

Step 2: Deploy Your Flexstack AI Host

  1. Clone and Navigate: Open the Web Terminal

Connecting window.

Run the following command to clone the Flexstack AI Host code:

git clone https://github.com/parrotnetwork/parrot-host
  1. Move and Install: Navigate to the Flexstack Host directory:

cd parrot-host

Then, install required packages:

pip install -r requirements.txt
  1. Authentication and Environment: Obtain your Flexstack AI Network credentials from https://flexstack.ai/ and run the following command, replacing with your actual username and password:

python get_token_and_create_env.py --username <your_username> --password <your_password>
  1. Verification: Ensure the .env file is created (check with ls -a). This file stores your credentials securely.

  2. Choose Your Task: Select the Flexstack AI task you wish to deploy.

  • For Image Generation task (with Stable Diffusion 1.5, SDXL, or SDXL Lightning model) run:

sh scripts/parrot_{sd/sdxl/sdxl_lightning}.sh
  • For Video Generation task, run:

sh scripts/parrot_txt2vid.sh
  • For LLMs task (with google/gemma-7b model), run:

sh scripts/parrot_llm_gemma.sh
  • For SD LoRA training task, run:

sh scripts/parrot_lora.sh

You're In! Congratulations! Your Flexstack Host is now running on Runpod.io, actively contributing to the Flexstack A network and potentially earning rewards based on your usage.

Additional Tips:

  • Refer to the official Flexstack AI Host documentation for further details and troubleshooting.

  • Join the Flexstack Network community forum for discussions, support, and updates.

By deploying your Flexstack AI Host on Runpod.io, you're joining a vibrant community pushing the boundaries of AI. Welcome aboard!

Last updated

Was this helpful?