This message was deleted.
# ask-for-help
s
This message was deleted.
m
I added a little try/expect block to be more explicit -
Copy code
try: 
                images = self.txt2img_pipe(
                    prompt=prompt,
                    guidance_scale=guidance_scale,
                    height=height,
                    width=width,
                    num_inference_steps=num_inference_steps,
                    generator=generator
                ).images
                image = images[0]
                return image
            except Exception as e:
                print(e)
                return e
And it looks like the error is a missing library -
Could not load library libcudnn_cnn_infer.so.8. Error: libcuda.so: cannot open shared object file: No such file or directory
🤔 is there a missing requirement/dependency from the install?
a
Hi there, are you running this on a GPU machine?