How to use dream-textures/texture-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("dream-textures/texture-diffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "pbr brick wall" image = pipe(prompt).images[0]
I know in the blender version there’s a seamless option, how do we do this with the huggingface version?
· Sign up or log in to comment