use upstream tinygrad (#26178)

* use upstream tinygrad

* add networkx to pipfile

* Revert "add networkx to pipfile"

This reverts commit 6cfa164378.

* dont need networkx and update tinygrad

* submodule sync

* add new thneed file

* fix release files

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 68e7f42d68
taco
YassineYousfi 3 years ago committed by GitHub
parent b6700f6f54
commit 78f0a175ae
  1. 2
      .gitmodules
  2. 1
      release/files_common
  3. 1
      selfdrive/modeld/SConscript
  4. 1
      selfdrive/test/setup_device_ci.sh
  5. 2
      tinygrad_repo

2
.gitmodules vendored

@ -18,4 +18,4 @@
url = ../../commaai/body.git url = ../../commaai/body.git
[submodule "tinygrad"] [submodule "tinygrad"]
path = tinygrad_repo path = tinygrad_repo
url = ../../commaai/tinygrad.git url = https://github.com/geohot/tinygrad.git

@ -565,6 +565,7 @@ opendbc/tesla_powertrain.dbc
tinygrad_repo/openpilot/compile.py tinygrad_repo/openpilot/compile.py
tinygrad_repo/accel/opencl/* tinygrad_repo/accel/opencl/*
tinygrad_repo/extra/onnx.py tinygrad_repo/extra/onnx.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/llops/ops_gpu.py
tinygrad_repo/tinygrad/llops/ops_opencl.py tinygrad_repo/tinygrad/llops/ops_opencl.py

@ -83,6 +83,7 @@ if use_thneed and arch == "larch64" or GetOption('pc_thneed'):
"#tinygrad_repo/accel/opencl/ops_opencl.py", "#tinygrad_repo/accel/opencl/ops_opencl.py",
"#tinygrad_repo/accel/opencl/preprocessing.py", "#tinygrad_repo/accel/opencl/preprocessing.py",
"#tinygrad_repo/extra/onnx.py", "#tinygrad_repo/extra/onnx.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/llops/ops_gpu.py",
"#tinygrad_repo/tinygrad/llops/ops_opencl.py", "#tinygrad_repo/tinygrad/llops/ops_opencl.py",

@ -60,6 +60,7 @@ find . -maxdepth 1 -not -path './.git' -not -name '.' -not -name '..' -exec rm -
git reset --hard $GIT_COMMIT git reset --hard $GIT_COMMIT
git checkout $GIT_COMMIT git checkout $GIT_COMMIT
git clean -xdff git clean -xdff
git submodule sync
git submodule update --init --recursive git submodule update --init --recursive
git submodule foreach --recursive "git reset --hard && git clean -xdff" git submodule foreach --recursive "git reset --hard && git clean -xdff"

@ -1 +1 @@
Subproject commit 870ea766eec7a38d7d590c81436f15271ba2667e Subproject commit 8e22d5ee675277181e1eff644dde9e844fc40fce
Loading…
Cancel
Save