 image. Thus, we’ll get 8 images in the same amount of time it takes for one chip to generate a single one.
After replicating the prompt, we obtain the tokenized text ids by invoking the prepare_inputs function of the pipeline. The length of the tokenized text is set to 77 tokens, as required by the configuration of the underlying CLIP Text model.


	Copied
prompt = "A cinematic film still of Morgan Freeman starring as Jimi Hendrix, portrait, 4