How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("doji-tech/tiny-marigold-depth-pipe", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

Tiny random Marigold depth pipeline

Random weights, for tests only. Its outputs are noise.

The components are the dummy components of the official diffusers 0.43.0 test tests/pipelines/marigold/test_marigold_depth.py (get_dummy_components, seeded with torch.manual_seed(0)), saved with save_pretrained.

The regression tests of tools.doji.diffusers use it. tools/tiny_pipelines/make_tiny_safetensors.py in that repository makes it.

Downloads last month
14
Safetensors
Model size
1.43M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support