Harald Schäfer
a98210aeec
modeld: ort helpers ( #34258 )
...
* ort helpers
* import from ort helpers
* import that too
* linter
* linter
* linter
6 months ago
Harald Schäfer
f6885dcbec
Revert Tinygrad ( #34243 )
...
* Revert "dmonitoringmodeld: use cl transform (#34235 )"
This reverts commit 684b0b9d4d
.
* Revert "load model before calling convert_fp16_to_fp32"
This reverts commit 31606a7d15
.
* Revert "bump tinygrad"
This reverts commit 44f58ff758
.
* Revert "Tinygrad runner (#34171 )"
This reverts commit 7b5a4fbb03
.
* Allow init buffer
* typo
6 months ago
ZwX1616
684b0b9d4d
dmonitoringmodeld: use cl transform ( #34235 )
...
* needs cleanup
* only if tici
* bump tinygrad
* check width
* base modelframe
* .
* need to be args
* more cleanup
* no _frame in base
* tici only
* its DrivingModelFrame
* .6 is fair
---------
Co-authored-by: Comma Device <device@comma.ai>
6 months ago
Harald Schäfer
8743bc4fe2
Null Pointer Model ( #34111 )
...
* e8cb7f27-e448-4c15-90c2-ac440cd5a042/400
* 0078ad07-4d46-4086-820f-23d61c90e07f/400
* 4bd74082-70af-47da-8156-e84ebf4d4812/400
* 2a074022-5c2c-4628-97f9-f54849a936a6/400
* 0660aa81-93c5-41b7-9cc2-dc8816a512cd/400
* Clip curvature to reasonable limits
* Better curvature and speed clips
* typo
* typo
* 31aa62c3-b373-4878-8f2e-5107305de187/400
* 384690ca-9b8a-41fe-9bcd-389b20fc6aa4/400
* ref commit
---------
Co-authored-by: Yassine <yassine.y10@gmail.com>
6 months ago
mitchellgoffpc
31606a7d15
load model before calling convert_fp16_to_fp32
6 months ago
Harald Schäfer
7b5a4fbb03
Tinygrad runner ( #34171 )
...
* squash
* bump tg
* bump tg
* debump tinygrad
* bump tinygrad
* bump tg
* Skip init iteration
* fixes
* cleanups
* skip first test sample
* typos
* linter unhappy
* update cpu usage
* OPENCL just zeros for now
* imports
* Try printing
* Runs again, but slower
* unused import
* Allow more buffer with tg and all on gpu
* bump tinygrad
* seems ok
* stricter timings for driving looser for dm
* try llvm
* check nvidia
* More timeout for now
* make test pass
* Revert "try llvm"
This reverts commit ef136e478320101fea262bae3579e558da991902.
* small fixes
* whitespace
* revert test timeout
* No model runners
* Always CPU always fast
* No onnx runtime GPU
* more cores
* cleanup
* Is this faster
* Is this faster
* at least runs
* FP32 is faster than 16
* fix deps
* whitespace
* comment
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
6 months ago
Maxime Desroches
216ebcaa50
Fix model runtime on PC ( #34210 )
...
exhaustive
6 months ago
YassineYousfi
57fc4f79d1
Postal Service Model ( #34183 )
...
0d68d465-9938-4327-a015-0cef58bc9f3a/400
6 months ago
Harald Schäfer
7a4169379d
Revert "PlayStation® model ( #34133 )" ( #34170 )
...
This reverts commit 5160bee543
.
7 months ago
Adeeb Shihadeh
1ec2c56b4e
gc old DM init param
7 months ago
YassineYousfi
5160bee543
PlayStation® model ( #34133 )
...
* e2a90efd-8986-4c97-8f55-22725cdee8b9/400
* bea47b6f-c2f9-460f-9658-73f202756294/400
* 7e8efd49-f1a4-4355-912e-610633e0e7f9/390
* 7e8efd49-f1a4-4355-912e-610633e0e7f9/400
---------
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
7 months ago
YassineYousfi
81252f549c
Alabama model ( #34108 )
...
e22d5e0c-1441-4953-b878-8f0f36e527c6/400
7 months ago
Harald Schäfer
fee1f29ce9
Last Horizon Model ( #34090 )
...
* 516b3968-82ec-4d7c-89ff-57ded21b3966/400
* 074f0168-aa4a-456b-a82c-464a6fc4ecdf/400
* f3dede04-b52d-4ca1-83aa-9686bd9d49ae/400
7 months ago
Bruce Wayne
612dbb32e1
Revert "Last Horizon Model ( #34024 )"
...
This reverts commit e123ac3d32
.
7 months ago
Harald Schäfer
e123ac3d32
Last Horizon Model ( #34024 )
...
516b3968-82ec-4d7c-89ff-57ded21b3966/400
7 months ago
Adeeb Shihadeh
d9d57e5d6f
Revert ISP image processing + tinygrad bump ( #34020 )
...
* Revert "Replace ThneedModel with TinygradModel (#33532 )"
This reverts commit da952e9b64
.
* Revert "camerad: move E + D cams image pipelines to the IFE (#33959 )"
This reverts commit f2a1cce42b
.
7 months ago
Mitchell Goff
da952e9b64
Replace ThneedModel with TinygradModel ( #33532 )
...
* squash
* bump tg
* bump tg
* debump tinygrad
* bump tinygrad
* bump tg
* Skip init iteration
* fixes
* cleanups
* skip first test sample
* typos
* linter unhappy
* update cpu usage
* OPENCL just zeros for now
* imports
* Try printing
* Runs again, but slower
* unused import
* Allow more buffer with tg and all on gpu
* bump tinygrad
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
7 months ago
YassineYousfi
47bd0f0166
Dragon Rider Model ( #33958 )
...
* c77e258c-8e59-46aa-a2ef-09398823e801/400
* 04a1d006-4d46-499a-a27e-dfe9651398a9/400
7 months ago
ZwX1616
a4848ceee9
Add driverStateV2 plots to model replay ( #33967 )
8 months ago
YassineYousfi
34dde0bb36
MLSIM V4 ( #33809 )
...
bf0b9aac-ca49-446d-9274-81dcc7c28621/400
8 months ago
YassineYousfi
682857f0cd
MLSIM V3 ( #33745 )
...
* 09366265-2385-4c47-85a9-009aaabc283d/400
* 7a744f78-ac70-4070-b2b2-fd25b736667b/400
* ff6c6166-a9e0-40bc-8867-b0b35bcad8b8/380
* 241215ad-05e1-4153-8fc9-5108c6002123/400
9 months ago
Adeeb Shihadeh
853febe21d
visionipc: remove RGB support ( #33739 )
...
* visionipc: remove RGB support
* bump
* msgq master
* fix sim
9 months ago
Harald Schäfer
2040f04c45
MLSIM V2 ( #33727 )
...
* bb2f7438-51f1-41ce-b337-238eaf2fd14d/100
* bb2f7438-51f1-41ce-b337-238eaf2fd14d/110
* bb2f7438-51f1-41ce-b337-238eaf2fd14d/330
* c3aa47aa-a00e-4b42-a40b-526039378a3a/400
* bd637aab-4274-41c1-95ac-25fb8bf88547/400
* Update ref
* 5705291a-5f7b-4849-91e8-4b0ea87f44d3/400
* 9f345169-a30d-4fec-bf06-2a457bf0071f/400
* update refs
---------
Co-authored-by: Yassine <yassine.y10@gmail.com>
9 months ago
Shane Smiskol
7556233cca
Reapply "move car.capnp to opendbc ( #33722 )" ( #33728 )
...
* Reapply "move car.capnp to opendbc" (#33725 )
This reverts commit 9d52a5b485
.
* why can't i repro?!
* Revert "why can't i repro?!"
This reverts commit 0435d218f7
.
* does this cause card to try and read it?
* better place
* wtf
* Reapply "why can't i repro?!"
This reverts commit d24fd5a0ab
.
* also here
9 months ago
Shane Smiskol
9d52a5b485
Revert "move car.capnp to opendbc" ( #33725 )
...
Revert "move car.capnp to opendbc (#33722 )"
This reverts commit 8149f7cb11
.
9 months ago
Shane Smiskol
8149f7cb11
move car.capnp to opendbc ( #33722 )
...
* move car.capnp to opendbc
* bump
* do card
* fix some more tests
* rm helpers
* format fp
* more
* whoops
* bump
* bump to master
9 months ago
YassineYousfi
2b486b15c6
MLSIM trained model V1 ( #33698 )
...
* 87c86ea8-9766-43e9-b72f-185496800301/400
* update ref
9 months ago
YassineYousfi
48bd5b9f6b
modeld: clip vego ( #33699 )
9 months ago
Harald Schäfer
e442425c9d
MLSIM trained model V0 ( #33676 )
...
* squash f7343ba0-3f7d-4776-9819-2219b8d2d667/270
* fix broken ref
* Model replay ref commit
9 months ago
Kacper Rączy
6c227a66a2
process_replay: drivingModelData migration ( #33686 )
...
* Migrate modelV2 to drivingModelData
* Add if statements
* Fix
9 months ago
Bruce Wayne
d4e257213d
Modeld: cannot run without wide img
9 months ago
Harald Schäfer
19bd96004e
Cleanup shift ( #33677 )
...
* Cleanup shift code
* Unsafe buffer copy
* fix bugs
9 months ago
Harald Schäfer
3b08501db3
Game Boy Model V3 ( #33674 )
...
* f4afab38-2ee3-4a71-904a-f2e5d4ec119a/400
* Model replay
* fix onnx cast
* tol
9 months ago
Bruce Wayne
390eee0717
Revert "onnx model needs cast"
...
This reverts commit a2b3b1540d
.
9 months ago
Bruce Wayne
a2b3b1540d
onnx model needs cast
9 months ago
Harald Schäfer
edf9522bc0
Model and YUV pipeline to uint8 ( #33671 )
...
* Squash
* 78cec5a0-577b-49ac-b443-f7cd327649bd/400
* bump tinygrad
9 months ago
Harald Schäfer
4da090a4e1
Game Boy Model V2 ( #33669 )
...
* 78cec5a0-577b-49ac-b443-f7cd327649bd/400
* ref commit
9 months ago
Harald Schäfer
04a266eaeb
Game Boy Model ( #33661 )
...
* 559069cd-40a6-4456-9052-08659f376ca3/370
* 028fb9bc-b33e-4c26-9cf7-e3c44a85276a/400
* Update ref
* Update tolerance
9 months ago
ZwX1616
876f192112
exec DM model with gpu ( #33609 )
...
* half
old-commit-hash: 9f72eca003d4637ca7fe847ebaf925c694fc2e84
* optimed
old-commit-hash: 6e36e2a12e09275ec21d1590012a92b05ca52ff5
* thneed
old-commit-hash: 419a06c09c0c767d828bcd1e118bc575898c343a
* exec
old-commit-hash: 0059c27ec11b076a37f65d604ed135ea6541b1a6
* runner
old-commit-hash: 34232ada94450ce541eaef546197fa219810a891
* runs but
old-commit-hash: 3db37c00b6a64908293b4de8d8b56e80308cd8f2
* it is 01
old-commit-hash: a160d81eb1a7e77abbef959b44f602610f68f665
* np
old-commit-hash: c1caff6ba648cc2c0094c71b2ea074f01c3c2dc8
* module url
old-commit-hash: 6f4902c4d384263a53e2c1d14d93b5ff864b6a5f
* new
old-commit-hash: 779ae79b1bc3df6374fb6663ac8592e107a6e504
* ds fast
* is this work
* corcention
* real timing
* no reg
* interim gather
* 0e4a9c7b
* fa69be01, and halve
* list
* cleanup
* slighly faster
* setprotlt
* expected
* replay ref
* more powar
* reluctantly
* bump tg
* 8
* less
* less
* bump tg
* better than exp
* closer
* cc
* see diff
* commits
* was right
* to 32 cast
* remove dlc file
* support both
* dspExecutionTime -> gpuExecutionTime
* ignore
* time ref
* ref commit
* last
---------
Co-authored-by: Comma Device <device@comma.ai>
9 months ago
YassineYousfi
36a9687d5d
long planner: use temporalPose for v_model_error calibration ( #33655 )
...
* long planner: add flag to disable v_model_error calibration
* use temporal pose instead of flag
* udpate model replay ref
9 months ago
Harald Schäfer
deb6b72091
Safe exp in parsing ( #33640 )
9 months ago
Harald Schäfer
251e2e9400
Clip sigmoid overlfow ( #33635 )
...
* No more C sigmoid
* Clipping
* Need to cast to float
* Update ref
* Clip
* Model refg
9 months ago
Harald Schäfer
e8bea2c78f
Tomb Raider Model ( #33629 )
...
* 69acff08-5383-4103-beea-822f0d228c76/160
* 53f39907-4763-4d19-ba26-e757527c2b61/200
* 21afb89f-1397-4652-b423-abc2da32417a/200
* 21afb89f-1397-4652-b423-abc2da32417a/400
* 53f39907-4763-4d19-ba26-e757527c2b61/400
* 3fb967fd-16a8-4569-ba57-359e54deeab3/395
* Try other policy again
* 3fb967fd-16a8-4569-ba57-359e54deeab3/400
* 0136cabf-539a-4a43-bc7f-06c3654a493c/4400
* 473c0686-1ac9-4c05-9b0b-d1f1afdb6cc3/400
* 83b7993d-51a9-4e3f-904e-3fcd5763c231/400
* 021566c7-cff3-431d-8da2-17a96c888c5f/400
* Fix bugs
* Update longitudinal_planner.py
* Update fill_model_msg.py
* 8be6b59d-4449-42fd-b8e0-93c48387070f/400
* f670a748-3591-4489-a0b3-215118ddad01/400
* 790a2950-c713-4eec-838b-4f55f4fe0ccb/400
* Update model ref
* Plans start at ego
* Update ref
9 months ago
ZwX1616
b2976631d2
onnxmodel fp16_to_fp32: misc improvements ( #33615 )
9 months ago
Kacper Rączy
48938098e0
Add modelExecutionTime to DrivingModelData ( #33606 )
...
* Add model execution time to DrivingModelData
* Update model replay ref commit
* Update ref commit again
* Ignore this field in model replay
* Back to original ref commit
* Bring back
---------
Co-authored-by: Comma Device <device@comma.ai>
9 months ago
ZwX1616
ffb6e11f96
Revert "exec DM model with gpu" ( #33604 )
...
Revert "exec DM model with gpu (#33397 )"
This reverts commit f79aca8e1e
.
9 months ago
ZwX1616
f79aca8e1e
exec DM model with gpu ( #33397 )
...
* half
old-commit-hash: 9f72eca003d4637ca7fe847ebaf925c694fc2e84
* optimed
old-commit-hash: 6e36e2a12e09275ec21d1590012a92b05ca52ff5
* thneed
old-commit-hash: 419a06c09c0c767d828bcd1e118bc575898c343a
* exec
old-commit-hash: 0059c27ec11b076a37f65d604ed135ea6541b1a6
* runner
old-commit-hash: 34232ada94450ce541eaef546197fa219810a891
* runs but
old-commit-hash: 3db37c00b6a64908293b4de8d8b56e80308cd8f2
* it is 01
old-commit-hash: a160d81eb1a7e77abbef959b44f602610f68f665
* np
old-commit-hash: c1caff6ba648cc2c0094c71b2ea074f01c3c2dc8
* module url
old-commit-hash: 6f4902c4d384263a53e2c1d14d93b5ff864b6a5f
* new
old-commit-hash: 779ae79b1bc3df6374fb6663ac8592e107a6e504
* ds fast
* is this work
* corcention
* real timing
* no reg
* interim gather
* 0e4a9c7b
* fa69be01, and halve
* list
* cleanup
* slighly faster
* setprotlt
* expected
* replay ref
* more powar
* reluctantly
* bump tg
* 8
* less
* less
* bump tg
* better than exp
* closer
* cc
* see diff
* commits
* was right
* to 32 cast
* remove dlc file
* support both
---------
Co-authored-by: Comma Device <device@comma.ai>
9 months ago
Mitchell Goff
6bb9e72c64
Add gas/brake press probs to ModelDataV2 ( #33382 )
...
* Add gas/brake press probs to ModelDataV2
* Updated model_replay_ref_commit
old-commit-hash: 40fb90a8a2
10 months ago
Dean Lee
965aea8eab
scons: remove duplicate linker flags for -ljson11, -lzmq ( #33361 )
...
fix duplicate link
old-commit-hash: 908aa525ec
10 months ago
Shane Smiskol
4f019b5f60
move selfdrive/car to opendbc ( #32630 )
...
* move most of /car
* move some car tests
move some car tests
* fix selfdrive/car/tests
* fix selfdrive/controls tests
* fix the rest of the selfdrive tests
* bump opendbc
* fix all tests
* few more non-test references
* remove opcar and move docs to car
fix these debugging scripts
fix docs
* bump opendbc and panda
forgot panda
old-commit-hash: e735a7f379
10 months ago