flexstack.ai
  • Welcome to Flexstack AI
  • How Flexstack AI works
    • Three roles in Flexstack AI
    • AI Stack architecture
    • Models Directory
    • Open Source AI Demo
      • Image generation
      • LLM (Text completion)
      • Video generation
  • Flexstack AI API: Start making things with Flexstack AI
    • Environment setup
    • Restful APIs
      • User Endpoints
        • Login
        • Refresh Token
        • User Profile
        • Task History
      • LLMs
        • Models
        • Text Completion
      • Image Generation
        • Models
        • LoRA
          • List Types
          • List Categories
          • List Models
        • Create Image
        • Get Result
      • Video Generation
        • Models
        • Create video
        • Get Result
      • Audio Generation
        • Models
        • Music / Sound Effects Generation
          • Create audio
          • Get Result
        • Speech Generation
          • Create audio
          • Get Result
      • Text Embeddings
        • Models
        • Create embedding
        • Get Result
      • Feedback & Retrain model
        • Train LORA
        • Feedback
        • Feedback Request
      • Error Handling
        • Error Response
  • Flexstack AI Host: Start contributing
    • Prerequisites
    • Deployment Guideline
      • RunPod
      • VALDI
  • Flexstack AI Validator
    • LLM Validation
      • Methodology
      • Restful APIs
  • Additional Information
    • Technical support
Powered by GitBook
On this page

Was this helpful?

  1. Flexstack AI Host: Start contributing
  2. Deployment Guideline

RunPod

PreviousDeployment GuidelineNextVALDI

Last updated 1 year ago

Was this helpful?

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 account with sufficient credits. Sign up and top up your account if needed (pricing details available ).

  • Flexstack AI: Sign up for a free Flexstack network account at 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"

Step 2: Deploy Your Flexstack AI Host

  1. Clone and Navigate: Open the Web Terminal

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
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!

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

Authentication and Environment: Obtain your Flexstack AI Network credentials from and run the following command, replacing with your actual username and password:

https://flexstack.ai/
runpod.io
here
https://flexstack.ai