MCPcopy 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

1import os
2from extra.export_model import compile_net, jit_model, dtype_to_js_type
3from extra.f16_decompress import u32_to_f16
4from examples.stable_diffusion import StableDiffusion

Callers

nothing calls this directly

Calls 15

StableDiffusionClass · 0.90
load_state_dictFunction · 0.90
torch_loadFunction · 0.90
fetchFunction · 0.90
get_state_dictFunction · 0.90
safe_saveFunction · 0.90
fetch_depFunction · 0.85
StepClass · 0.85
compile_stepFunction · 0.85
convert_f32_to_f16Function · 0.85
split_safetensorFunction · 0.85
randintMethod · 0.80

Tested by

no test coverage detected