tinygrad: bump to 0.5 (#27505)

* bump tinygrad to 0.5

* update release files

* ref commit + bump tinygrad

* save 220 mW

---------

Co-authored-by: Comma Device <device@comma.ai>
pull/27513/head
George Hotz 2 years ago committed by GitHub
parent e729f5b763
commit 3892c60980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      release/files_common
  2. 2
      selfdrive/modeld/SConscript
  3. 2
      selfdrive/test/process_replay/model_replay_ref_commit
  4. 2
      system/hardware/tici/test_power_draw.py
  5. 2
      tinygrad_repo

@ -577,13 +577,14 @@ opendbc/tesla_can.dbc
opendbc/tesla_radar.dbc opendbc/tesla_radar.dbc
opendbc/tesla_powertrain.dbc opendbc/tesla_powertrain.dbc
tinygrad_repo/accel/opencl/*
tinygrad_repo/tinygrad/llops/ops_opencl.py
tinygrad_repo/openpilot/compile.py tinygrad_repo/openpilot/compile.py
tinygrad_repo/extra/onnx.py tinygrad_repo/extra/onnx.py
tinygrad_repo/extra/onnx_ops.py
tinygrad_repo/extra/thneed.py tinygrad_repo/extra/thneed.py
tinygrad_repo/extra/utils.py tinygrad_repo/extra/utils.py
tinygrad_repo/tinygrad/llops/ops_gpu.py tinygrad_repo/tinygrad/codegen/ast.py
tinygrad_repo/tinygrad/shape/* tinygrad_repo/tinygrad/codegen/gpu.py
tinygrad_repo/tinygrad/nn/* tinygrad_repo/tinygrad/nn/*
tinygrad_repo/tinygrad/runtime/ops_gpu.py
tinygrad_repo/tinygrad/shape/*
tinygrad_repo/tinygrad/*.py tinygrad_repo/tinygrad/*.py

@ -70,7 +70,7 @@ lenv.Program('_dmonitoringmodeld', [
if use_thneed and arch == "larch64" or GetOption('pc_thneed'): if use_thneed and arch == "larch64" or GetOption('pc_thneed'):
fn = File("models/supercombo").abspath fn = File("models/supercombo").abspath
tinygrad_opts = ["NATIVE_EXPLOG=1", "VALIDHACKS=1", "OPTWG=1", "IMAGE=2", "GPU=1", "CLCACHE=0"] tinygrad_opts = ["NATIVE_EXPLOG=1", "VALIDHACKS=1", "OPTLOCAL=1", "IMAGE=2", "GPU=1", "ENABLE_METHOD_CACHE=1"]
if not GetOption('pc_thneed'): if not GetOption('pc_thneed'):
# use FLOAT16 on device for speed + don't cache the CL kernels for space # use FLOAT16 on device for speed + don't cache the CL kernels for space
tinygrad_opts += ["FLOAT16=1", "PYOPENCL_NO_CACHE=1"] tinygrad_opts += ["FLOAT16=1", "PYOPENCL_NO_CACHE=1"]

@ -1 +1 @@
ba947edbb131a2a36ced7c490dfcf3280ad5b167 ab64afd1abd1059c14f50c67b51e5ef89029f216

@ -20,7 +20,7 @@ class Proc:
PROCS = [ PROCS = [
Proc('camerad', 2.15), Proc('camerad', 2.15),
Proc('modeld', 1.15, atol=0.2), Proc('modeld', 0.93, atol=0.2),
Proc('dmonitoringmodeld', 0.4), Proc('dmonitoringmodeld', 0.4),
Proc('encoderd', 0.23), Proc('encoderd', 0.23),
] ]

@ -1 +1 @@
Subproject commit 2e1d47b16625ff343516287cdd9e4bcb26f5c4ef Subproject commit d8dda2af3afcef0bb772fff580cfa8b3eabf7f69
Loading…
Cancel
Save