MCPcopy Index your code
hub / github.com/tinygrad/tinygrad / compile.py

File compile.py

examples/tinychat/tinychat-browser/compile.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import os, json, hashlib, math
2from extra.export_model import export_model
3from examples.llama3 import build_transformer, Tokenizer
4from tinygrad.nn.state import get_state_dict, load_state_dict

Callers

nothing calls this directly

Calls 14

fetchFunction · 0.90
TokenizerClass · 0.90
TensorClass · 0.90
build_transformerFunction · 0.90
get_state_dictFunction · 0.90
ContextClass · 0.90
export_modelFunction · 0.90
load_state_dictFunction · 0.90
validate_modelFunction · 0.85
prepare_browser_chunksFunction · 0.85
VariableFunction · 0.50
bindMethod · 0.45

Tested by

no test coverage detected