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

Crash when generate image #34

Open
zhouhao27 opened this issue Jul 17, 2024 · 0 comments
Open

Crash when generate image #34

zhouhao27 opened this issue Jul 17, 2024 · 0 comments

Comments

@zhouhao27
Copy link

Here are the steps:

  • diffuzers app
  • then load model.
  • Keep the default prompt blue elephant and click Generate

App crashes. Here is the error message:

INFO Args: Namespace(output=None, device='cpu')
INFO {}
INFO Args: Namespace(output=None, device='cpu')
INFO {'output_path': None, 'device': 'cpu', 'FormSubmitter:x2img_model_form-Load model': True}
Keyword arguments {'use_auth_token': False} are not expected by StableDiffusionPipeline and will be ignored.

Loading pipeline components...: 0%| | 0/6 [00:00<?, ?it/s]
Loading pipeline components...: 17%|█▋ | 1/6 [00:00<00:00, 6.90it/s]
Loading pipeline components...: 50%|█████ | 3/6 [00:00<00:00, 13.12it/s]
Loading pipeline components...: 100%|██████████| 6/6 [00:00<00:00, 18.83it/s]
You have disabled the safety checker for <class 'diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_img2img.StableDiffusionImg2ImgPipeline'> by passing safety_checker=None. Ensure that you abide to the conditions of the Stable Diffusion license and do not expose unfiltered results in services or applications open to the public. Both the diffusers team and Hugging Face strongly recommend to keep the safety filter enabled in all public facing circumstances, disabling it only for use-cases that involve analyzing network behavior or auditing its results. For more information, please have a look at huggingface/diffusers#254 .
You have disabled the safety checker for <class 'diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_instruct_pix2pix.StableDiffusionInstructPix2PixPipeline'> by passing safety_checker=None. Ensure that you abide to the conditions of the Stable Diffusion license and do not expose unfiltered results in services or applications open to the public. Both the diffusers team and Hugging Face strongly recommend to keep the safety filter enabled in all public facing circumstances, disabling it only for use-cases that involve analyzing network behavior or auditing its results. For more information, please have a look at huggingface/diffusers#254 .
INFO Args: Namespace(output=None, device='cpu')
INFO {'x2img_model': 'stabilityai/stable-diffusion-2-base', 'output_path': None, 'textual_inversion_token_identifier': '', 'textual_inversion_embeddings': '', 'x2img': X2Image(device='cpu', model='stabilityai/stable-diffusion-2-base', output_path=None, custom_pipeline=None, embeddings_url='', token_identifier=''), 'device': 'cpu', 'x2img_custom_pipeline': 'Vanilla', 'FormSubmitter:x2img_model_form-Load model': False}
/opt/miniconda3/envs/sd/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '

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