no rng for op test

This commit is contained in:
George Hotz
2023-02-24 00:23:20 -08:00
parent f6d946853c
commit d3029c91c5

View File

@@ -43,6 +43,7 @@ def model_exec(run_onnx, using_graph, **inputs):
return ret.realize()
def compile(dat, output_fn):
Tensor.manual_seed(1337)
Tensor.no_grad = True
using_graph = graph.GRAPH
graph.GRAPH = False