erator"


	Copied
Found 8 JAX devices of type Cloud TPU.
Then we import all the dependencies.


	Copied
import numpy as np
import jax
import jax.numpy as jnp

from pathlib import Path
from jax import pmap
from flax.jax_utils import replicate
from flax.training.common_utils import shard
from PIL import Image

from huggingface_hub import notebook_login
from diffusers import FlaxStableDiffusionPipeline

Model Loading
	
TPU devices support bfloat16