MCPcopy
hub / github.com/tinygrad/tinygrad / fuzz_matmul.py

File fuzz_matmul.py

extra/gemm/fuzz_matmul.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import numpy as np
2from tinygrad.helpers import getenv
3from tinygrad import dtypes, Tensor
4dtype_in = dtypes.half if getenv("HALF") else dtypes.bfloat16 if getenv("BFLOAT16") else dtypes.float

Callers

nothing calls this directly

Calls 8

getenvFunction · 0.90
realizeMethod · 0.80
randMethod · 0.80
matmulMethod · 0.80
appendMethod · 0.80
iscloseMethod · 0.80
numpyMethod · 0.45
whereMethod · 0.45

Tested by

no test coverage detected