Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinygrad/tinygrad
/ flat_llama.py
File
flat_llama.py
examples/mlperf/models/flat_llama.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
math, os
2
if
__name__ ==
"__main__"
:
3
os.environ[
"DEFAULT_FLOAT"
] =
"bfloat16"
4
os.environ[
"OPTIM_DTYPE"
] =
"bfloat16"
Callers
nothing calls this directly
Calls
15
getenv
Function · 0.90
round_up
Function · 0.90
colored
Function · 0.90
Timing
Class · 0.90
profile_marker
Function · 0.90
FlatTransformer
Class · 0.85
_make_grad
Function · 0.85
fwd_bwd
Function · 0.85
reshape
Method · 0.80
arange
Method · 0.80
realize
Method · 0.80
shard_
Method · 0.80
Tested by
no test coverage detected