ops_cpu is required now

pull/30254/head
George Hotz 2 years ago
parent 024cdd1a3d
commit 5ceee95e6a
  1. 1
      release/files_common
  2. 2
      selfdrive/modeld/SConscript

@ -598,6 +598,7 @@ tinygrad_repo/tinygrad/features/image.py
tinygrad_repo/tinygrad/nn/*
tinygrad_repo/tinygrad/renderer/cstyle.py
tinygrad_repo/tinygrad/runtime/lib.py
tinygrad_repo/tinygrad/runtime/ops_cpu.py
tinygrad_repo/tinygrad/runtime/ops_gpu.py
tinygrad_repo/tinygrad/shape/*
tinygrad_repo/tinygrad/*.py

@ -56,7 +56,7 @@ lenvCython.Program('models/driving_pyx.so', 'models/driving_pyx.pyx', LIBS=[driv
if arch == "larch64" or GetOption('pc_thneed'):
fn = File("models/supercombo").abspath
tinygrad_opts = ["NATIVE_EXPLOG=1", "VALIDHACKS=1", "OPTLOCAL=1", "IMAGE=2", "GPU=1", "ENABLE_METHOD_CACHE=1"]
tinygrad_opts = ["NOLOCALS=1", "IMAGE=2", "GPU=1"]
if not GetOption('pc_thneed'):
# use FLOAT16 on device for speed + don't cache the CL kernels for space
tinygrad_opts += ["FLOAT16=1", "PYOPENCL_NO_CACHE=1"]

Loading…
Cancel
Save