Commit Graph

19 Commits

Author SHA1 Message Date
Willem Melching c0098cec09 Manager cleanup (#20231)
* move manager in folder

* inital refactor

* call start

* small cleanup

* add comments

* use self.signal()

* order shouldnt matter

* newlines

* add helpers

* newlines

* add process config

* split out build part of manager

* this should fix most tests

* no sensord on pc

* dont start athena

* remove comment

* fix old athena test

* fix inject model

* fix test car models

* should be not none

* fix helpers exitcode

* ignore manage_athenad

* Use time.monotonic()

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* combine init, remove spinner

* move manager test

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5a3b51130649356b14b24e3c82e014b3a0be95a8
2021-03-05 11:03:23 +01:00
Dean Lee 04adbaf8e1 Don't call function in assert (#19997)
old-commit-hash: 91504176e403ca1bb6bd9491ce9e2075b7f4bae0
2021-02-02 13:18:11 +01:00
Adeeb Shihadeh c09d84218d model timing benchmark script
old-commit-hash: 5ba7276118a458c0caf377d34d0c82b58db607bc
2020-12-13 19:08:49 -08:00
Comma Device 8de3c8cf75 simpler repro for dmon lag issue
old-commit-hash: 06f6f245ffbfed49d6bf691d821c044a4371024d
2020-11-20 17:30:31 +00:00
George Hotz 599ee894cd other includes to build repro on pc
old-commit-hash: 6fc7c0c0052ae10614c70768dcfe67a5be89d3cf
2020-11-20 09:09:43 -08:00
Comma Device 04e6e04bb4 simpler repro, no vector required
old-commit-hash: b9a8e7b209b92d18b795f3c4e12252f7b7212eea
2020-11-20 17:03:49 +00:00
Comma Device 6d764d4ade repros better with cache clears
old-commit-hash: 97b716512a75e2f73b8f3623fd909952ee7059bf
2020-11-20 16:50:25 +00:00
Comma Device 67d4a60288 reproduce dmon lag
old-commit-hash: 52673f0532ce13ac29ef1f90cbcfe20b9c8bd762
2020-11-20 16:39:12 +00:00
Adeeb Shihadeh cc2c6180f9 Sound stability test (#2089)
* play sound

* clean this up

* no cereal

* fix module issue

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 685340d57897b8a0db4aa1c754c1760c59b92ead
2020-08-27 15:50:48 -07:00
Adeeb 9027018368 Update Flake8 config (#1624)
* update flake8 checks

* add E502

* no whitespace warnings

* fix violations

* no W391

Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a0c9fb698c8248a5c28c66c2987ae65
2020-06-03 16:13:34 -07:00
Willem Melching 2ac27def5a Running pre-commit in CI (#1590)
* Running pre-commit in CI

* fix dockerfile syntax

* dont run on submodule repo folders

* Fix some import errors in ci

* more stuff

* That should be the last one
old-commit-hash: ba2ac1207a554d277e01af5b9514de4500d4f66a
2020-05-28 15:40:48 -07:00
George Hotz 6a68510918 remove the clCreateProgramWithSource interceptor (#1559)
* remove the clCreateProgramWithSource interceptor

* that's old code, thneed is better

* label them thneed_, we shouldn't need to touch CL for anything not SNPE related
old-commit-hash: b8571710e09e58b9e67170a9924eef79f32c480b
2020-05-24 03:33:36 -07:00
Willem Melching aedf223401 remove eigen from phonelibs (#1505)
old-commit-hash: add784a7df0bd27aa1df115e38d43d5159c832f9
2020-05-13 16:41:52 -07:00
George Hotz 3f5d11ff3b Preparing for the efficientnet (#1255)
* snpe version 1.35.0.698

* fix files common for new snpe

* efficient net with normal names

* compiling with 1.32 works

* actual snpe files

* fix monitoring, delete unneeded

* point the symlinks to the right places

* err, modeld needs the CPU

* benchmark for 50 its

* put back old model for now

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: 6e5a2d404bfbc33e5a63986f7d618d07d9c9c07f
2020-03-30 14:20:51 -07:00
Comma Device 52f3c1aca3 add program dumping to opencl hooks
old-commit-hash: 9a50e0445a13e774b5e392818d004c5dbf9cbd95
2020-03-18 03:30:39 +00:00
George Hotz f2d189c077 hook opencl to profile SNPE (#1249)
* hook for snpe speed

* hook works

* prints kernel names

* add timing to hook

* clean up printing

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 774912075af3bb23b6e25e8921ce7da940bcc039
2020-03-17 20:04:55 -07:00
Comma Device 3174d0f76f actually fix benchmark script
old-commit-hash: 042415b021ae8b9ab904569881e2be1a98e00d3b
2020-02-19 02:27:31 +00:00
Comma Device 7bc5e62ca7 fix snpe_benchmark script
old-commit-hash: a8f55620814380b2a933f4fc95e09ea638fa579a
2020-02-19 02:13:46 +00:00
George Hotz 510b718f0f logcatd, loggerd, mapd, modeld, proclogd
old-commit-hash: da079d47d7
2020-01-17 11:20:17 -08:00