Instructions to use doji-tech/tiny-marigold-depth-pipe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use doji-tech/tiny-marigold-depth-pipe with Diffusers:
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] - Notebooks
- Google Colab
- Kaggle
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
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support