MCPcopy
hub / github.com/tinygrad/tinygrad / stable_diffusion.py

File stable_diffusion.py

examples/stable_diffusion.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# https://arxiv.org/pdf/2112.10752.pdf
2# https://github.com/ekagra-ranjan/huggingface-blog/blob/main/stable_diffusion.md
3import tempfile
4from pathlib import Path

Callers

nothing calls this directly

Calls 15

profile_markerFunction · 0.90
WallTimeEventClass · 0.90
fetchFunction · 0.90
torch_loadFunction · 0.90
load_state_dictFunction · 0.90
get_state_dictFunction · 0.90
TensorClass · 0.90
ContextClass · 0.90
getenvFunction · 0.90
tqdmClass · 0.90
TimingClass · 0.90
coloredFunction · 0.90

Tested by

no test coverage detected