Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
3
import
tempfile
4
from
pathlib
import
Path
Callers
nothing calls this directly
Calls
15
profile_marker
Function · 0.90
WallTimeEvent
Class · 0.90
fetch
Function · 0.90
torch_load
Function · 0.90
load_state_dict
Function · 0.90
get_state_dict
Function · 0.90
Tensor
Class · 0.90
Context
Class · 0.90
getenv
Function · 0.90
tqdm
Class · 0.90
Timing
Class · 0.90
colored
Function · 0.90
Tested by
no test coverage detected