From 1f09b2b479dd9d82cb6d982ff5a142a3c8b83f39 Mon Sep 17 00:00:00 2001 From: ZYX Date: Sun, 3 Aug 2025 12:56:28 -0700 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index e006969e5..66cf66c3a 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,13 @@ These images are available on Docker Hub under `runpod/worker-comfyui`: Replace `` with the current release tag, check the [releases page](https://github.com/runpod-workers/worker-comfyui/releases) for the latest version. +## Loading custom models to Docker images + +* Rebuild Docker image: download models (including checkpoints, lora, and other data items) in [Dockerfile](./Dockerfile). +* Network volume: pre-load models into RunPod network volume, and attach to serverless or pod (note they have different mount point). + * To pre-load models, mount network volume to a pod, and then download all models to the mounted position, verify that everything works. + * And then use the updated network volume to a new place. + ## API Specification The worker exposes standard RunPod serverless endpoints (`/run`, `/runsync`, `/health`). By default, images are returned as base64 strings. You can configure the worker to upload images to an S3 bucket instead by setting specific environment variables (see [Configuration Guide](docs/configuration.md)).