Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tinygrad/tinygrad
/ compile.py
File
compile.py
examples/webgpu/stable_diffusion/compile.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
os
2
from
extra.export_model
import
compile_net, jit_model, dtype_to_js_type
3
from
extra.f16_decompress
import
u32_to_f16
4
from
examples.stable_diffusion
import
StableDiffusion
Callers
nothing calls this directly
Calls
15
StableDiffusion
Class · 0.90
load_state_dict
Function · 0.90
torch_load
Function · 0.90
fetch
Function · 0.90
get_state_dict
Function · 0.90
safe_save
Function · 0.90
fetch_dep
Function · 0.85
Step
Class · 0.85
compile_step
Function · 0.85
convert_f32_to_f16
Function · 0.85
split_safetensor
Function · 0.85
randint
Method · 0.80
Tested by
no test coverage detected