ai-dock / comfyui

ComfyUI docker images for use in GPU cloud and local environments. Includes AI-Dock base for authentication and improved user experience.
Other
649 stars 224 forks source link

Serverless(Runpod) with "error": "'str' object has no attribute 'get'" #99

Closed hlktrkn closed 2 months ago

hlktrkn commented 2 months ago

Kudos to the developer. It's an amazing serverless repo.

I've been using runpod serverless with a custom Docker image but now the worker generates images and save it to the storage but gives this error.

How can I solve it? Thanks in advance

{
  "delayTime": 135847,
  "error": "'str' object has no attribute 'get'",
  "executionTime": 62601,
  "id": "1cb9d739-9c31-4a64-80ca-0e004b8d8710-e1",
  "status": "FAILED"
}

this is the server log:


 88%|████████▊ | 22/25 [00:07<00:01,  2.95it/s]
 92%|█████████▏| 23/25 [00:07<00:00,  2.95it/s]
 96%|█████████▌| 24/25 [00:08<00:00,  2.95it/s]
2024-09-10T07:31:03.118465811Z ==> /var/log/supervisor/serverless.log <==
2024-09-10T07:31:03.118466971Z Waiting for running job to complete
2024-09-10T07:31:03.118468251Z Waiting for running job to complete
2024-09-10T07:31:04.118650292Z 
2024-09-10T07:31:04.118666552Z ==> /var/log/supervisor/comfyui.log <==
2024-09-10T07:31:04.118669272Z 
100%|██████████| 25/25 [00:08<00:00,  3.48it/s]
100%|██████████| 25/25 [00:08<00:00,  2.98it/s]
2024-09-10T07:31:04.118671872Z Requested to load AutoencoderKL
2024-09-10T07:31:04.118674182Z Loading 1 new model
2024-09-10T07:31:04.118676172Z WAS Node Suite: Image file saved to: /runpod-volume/ComfyUI/output/2024-09-10/Text2Image_0003.jpeg
2024-09-10T07:31:04.118678112Z Prompt executed in 57.18 seconds
2024-09-10T07:31:04.118680072Z 
hlktrkn commented 2 months ago

It seems the issue comes from WAS Node suit (Image Save node) got an update and now it doesn't work with preview:true parameter.