RunPod: Configure the pod to download your AI models from Storj automatically - storj/secure-stable-diffusion GitHub Wiki
The template will download the Stable Diffusion v1.5 AI model by default. You can customize your pod deployment if you want to use a different model from your Storj bucket.
Follow the instructions to deploy and launch a pod until you reach the screen to customize the deployment.
Customize the deployment
Click on the Customize Deployment button.
Enter the environment variables
Expand the Environment Variables section and enter the below environment variables.
Var name | Description |
---|---|
STORJ_ACCESS | The access grant to use for transferring files from and to your Storj DCS account |
STORJ_BUCKET | The bucket to use for transferring files from and to your Storj DCS account |
STORJ_MODEL_PATH | The object key to a specific AI model or a prefix/folder with multiple AI models to automatically download at startup |
If STORJ_MODEL_PATH
points to an object key prefix, all the files with the prefix will be downloaded. Ensure you have enough space on the Volume Disk (Persistent) storage.
Confirm your changes using the Set Overrides button.
Next step
Continue following the instructions to deploy and launch a pod.