Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returned a non-zero code: 1 #12

Open
greathun opened this issue Mar 11, 2023 · 0 comments
Open

Returned a non-zero code: 1 #12

greathun opened this issue Mar 11, 2023 · 0 comments

Comments

@greathun
Copy link

Hello. I am using this template. Added my huggingface.co token. When deploying I get one error:

{"stream":"\u001b[91m\rFetching 23 files: 100%|██████████| 23/23 [02:00\u003c00:00, 5.24s/it]\u001b[0m"}
{"stream":"\u001b[91m\n\u001b[0m"}
{"stream":"\u001b[91mTraceback (most recent call last):\n File "download.py", line 25, in \u003cmodule\u003e\n download_model()\n File "download.py", line 18, in download_model\n model = StableDiffusionPipeline.from_pretrained(\n File "/opt/conda/lib/python3.8/site-packages/diffusers/pipeline_utils.py", line 238, in from_pretrained\n load_method = getattr(class_obj, load_method_name)\nTypeError: getattr(): attribute name must be string\n\u001b[0m"}
{"errorDetail":{"code":1,"message":"The command '/bin/sh -c python3 download.py' returned a non-zero code: 1"},"error":"The command '/bin/sh -c python3 download.py' returned a non-zero code: 1"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant