Comfy-Org / Comfy-Org/ComfyUI

Load models from mounted AWS S3 bucket

Open
#8,589 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

Hi,

I've uploaded my models on a AWS S3 bucket, then I've mounted it as drive on my cloud instance.
The absolute models' paths (from the mounted volume) look like this:

```
/home/ec2-user/mnt/models/checkpoints/...
/home/ec2-user/mnt/models/loras/...
...
```

I've also updated the extra_model_paths.yaml file:

```
comfyui:
base_path: /home/ec2-user/mnt
checkpoints: models/checkpoints/
loras: models/loras/
...
```

When I start ComfyUI, I can see from the logs that the extra models paths are correctly added:

```
Adding extra search path checkpoints /home/ec2-user/mnt/models/checkpoints
Adding extra search path loras /home/ec2-user/mnt/models/loras
...
```

However, when I try to run a workflow, I get this error message (model not found):

```
FileNotFoundError: Model in folder 'checkpoints' with filename 'v1-5-pruned-emaonly-fp16.safetensors' not found.
```

Am I missing something about the configuration?
Has someone successfully done something like this?

Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.