Skip to content

Instantly share code, notes, and snippets.

@SirVirgo
SirVirgo / invoke.sh
Last active January 8, 2025 21:19
invoke file for vast
#!/bin/bash
# This file will be executed by init.sh
# https://raw.githubusercontent.com/ai-dock/invokeai/main/config/provisioning/default.sh
## NOTICE ##
## Invoke AI does not support directly downloading models.
## You will need to manually scan your $WORKSPACE/storage/ directory
### Edit the following arrays to suit your workflow - values must be quoted and separated by newlines or spaces.
#!/bin/bash
# This file will be sourced in init.sh
# https://raw.githubusercontent.com/ai-dock/comfyui/main/config/provisioning/default.sh
# Packages are installed after nodes so we can fix them...
DEFAULT_WORKFLOW="https://raw.githubusercontent.com/ai-dock/comfyui/main/config/workflows/flux-comfyui-example.json"
#!/bin/bash
source /venv/main/bin/activate
COMFYUI_DIR=${WORKSPACE}/ComfyUI
# Packages are installed after nodes so we can fix them...
APT_PACKAGES=(
#"package-1"
#"package-2"
@SirVirgo
SirVirgo / default.sh
Last active May 14, 2025 12:52
For forge vast ai
#!/bin/bash
# This file will be sourced in init.sh
# Namespace functions with provisioning_
# https://raw.githubusercontent.com/ai-dock/stable-diffusion-webui/main/config/provisioning/default.sh
### Edit the following arrays to suit your workflow - values must be quoted and separated by newlines or spaces.
### If you specify gated models you'll need to set environment variables HF_TOKEN and/orf CIVITAI_TOKEN
DISK_GB_REQUIRED=30