YassineYousfi
542e915982
new model: improved height estimation ( #27234 )
...
* 07a3a2b2-6dbe-43c3-9bb9-a8023932e054/449 c3d7d18a-6207-42e7-84d9-601ecb3c6f0e/700
* 07a3a2b2-6dbe-43c3-9bb9-a8023932e054/449 db92e7f3-3f4b-4f0f-95ff-76cb6ed6894a/700
* update ref commit
old-commit-hash: 1e49c54ffb
2023-02-08 22:21:31 -08:00
YassineYousfi
452031fcc7
new model: fixed weight decay logic ( #27068 )
...
* 07a3a2b2-6dbe-43c3-9bb9-a8023932e054/449 cdfa9e3c-2807-49fc-bdc7-a985f8ff1644/700
* update refs
old-commit-hash: 7316cd03fb
2023-01-26 19:09:12 -08:00
George Hotz
94fc9ef358
tinygrad: update to new version ( #27067 )
...
* tinygrad: bump and retain OPENCL behavior
* add graph.py to release, bump tiny
* update files_common and read from it in scons
* bump with typo fix
* switch tinygrad backend to GPU
* update ref commit
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 64ed44e3b5
2023-01-24 14:06:56 -08:00
Adeeb Shihadeh
b3e47c691b
move all third party stuff into third_party/ ( #26853 )
...
* mv fastcluster
* move msm_kgsl.h
* camerad include
* update path
* mv pyextra
* fix tici build
* add acados_template to release build
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: cd8e03d53e
2022-12-31 21:00:50 -08:00
Harald Schäfer
f315819d47
Navmodel and driving style: update runner ( #26762 )
...
* Navmodel and driving style: update runner
* No driving style yet
* thneedrunner without extra inputs
* nav feature ref
old-commit-hash: 160c9ba1d2
2022-12-11 15:25:36 -08:00
Adeeb Shihadeh
c2261c5372
navmodeld: only render necessary frames ( #26698 )
...
old-commit-hash: 6e0893299a
2022-12-05 17:41:32 -08:00
Mitchell Goff
46f70592ae
navmodeld ( #26665 )
...
* Added navmodeld
* New nav model: 7c306685-5476-4bd4-ab65-105b01b6bca8/300, feats only
* little cleanup
* Remove NAV flag
* Moved to_kj_array_ptr to commonmodel.h
* Switch from decimation to last_frame_id check
* add to release files
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: bb8a38a050
2022-12-02 13:14:30 -08:00
YassineYousfi
30414a7305
Revert "Albert Einstein Model" ( #26576 )
...
Revert "Albert Einstein Model (#26456 )"
This reverts commit 0129c20611bd21fb5b94d19b96d435c7e02041f1.
old-commit-hash: ceb94f1bcd
2022-11-22 11:41:22 -08:00
YassineYousfi
5bb8ff4a90
Albert Einstein Model ( #26456 )
...
* d0bc247d-9529-4e50-a5dd-95a8a5733874/440 38fb1ce9-18d7-4292-9ffd-678f8483ebf4/700
* update model replay ref commit
old-commit-hash: 34c80a6fbd
2022-11-18 17:50:24 -08:00
Harald Schäfer
f86b44d516
E2e long model: calibrate model speed to wheel speed ( #26395 )
...
* calibrate!
* Fix test
* Fix proc replay
* check len
* get v_ego from model 8501d20-bb59-4193-aa82-82b2737dedd6/449 609d90f3-65e6-4617-a60c-d6d99eead408/700
* bump cereal
* initialize v_model_error
* typo
* better names
* cleanup
* bump cereal
* update model replay ref commit
* bump to cereal master
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu >
old-commit-hash: f63f0de80a
2022-11-07 17:49:36 -08:00
YassineYousfi
eafe85c1eb
Model trained with headlight augmentation ( #26284 )
...
* d8501d20-bb59-4193-aa82-82b2737dedd6/449 ddfe2a22-fb0e-4ff0-a97f-0157b95eb44d/700
* update ref
old-commit-hash: c3388d216c
2022-10-30 23:55:48 -07:00
HaraldSchafer
4b0d7997ac
Model trained with more long noise ( #26241 )
...
* d8501d20-bb59-4193-aa82-82b2737dedd6/449 d37d320d-7d78-479a-9be2-d58c75284307/700
* Update model ref
old-commit-hash: 2b7290a142
2022-10-26 00:20:30 -07:00
YassineYousfi
78f0a175ae
use upstream tinygrad ( #26178 )
...
* use upstream tinygrad
* add networkx to pipfile
* Revert "add networkx to pipfile"
This reverts commit 6cfa164378fa072b325a27040f0388730771437c.
* 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
2022-10-21 13:11:50 -07:00
HaraldSchafer
e7d3c730b6
Modeld: Add comment ( #26188 )
...
Rename and add comment
old-commit-hash: 0edbbdeaf9
2022-10-21 11:20:52 -07:00
HaraldSchafer
bcb1ba7bfe
Wide transform model ( #26165 )
...
* d8501d20-bb59-4193-aa82-82b2737dedd6/449 f78009d1-2184-4136-9fbc-1c5de55d460d/700
* Change model outs
* Add cereal
* Publish transform
* d8501d20-bb59-4193-aa82-82b2737dedd6/449 f78009d1-2184-4136-9fbc-1c5de55d460d/700
* Bump cereal to master
* Bump cereal to master
* Update model ref
old-commit-hash: d25ab3e366
2022-10-21 01:29:58 -07:00
Bruce Wayne
b15ff51d59
Revert "d8501d20-bb59-4193-aa82-82b2737dedd6/449 f78009d1-2184-4136-9fbc-1c5de55d460d/700"
...
This reverts commit 762b554862395cf7d9c7475fae4801a8e0733980.
old-commit-hash: 3a50d5fd85
2022-10-21 00:32:34 -07:00
Bruce Wayne
a325c8ca1e
d8501d20-bb59-4193-aa82-82b2737dedd6/449 f78009d1-2184-4136-9fbc-1c5de55d460d/700
...
old-commit-hash: 0ac12b82c7
2022-10-21 00:24:11 -07:00
YassineYousfi
4323014a2b
desire: give the pulse at t=0 ( #26180 )
...
input desire at t0
old-commit-hash: 6b36f73870
2022-10-20 15:13:58 -07:00
ZwX1616
426286f24f
DM: add use of e2e preds ( #26078 )
...
* try ml
* de56
* j914ef75a
* jd1124586
* jd1124586
* d112
* oops
* set
* update ref
* use offset
* bump DM power usage
* new ref
old-commit-hash: d522492ba0
2022-10-17 19:40:06 -07:00
Adeeb Shihadeh
eec2ca1e8b
CI speedup ( #26096 )
...
* CI speedup
* use the new stuff
* push
* no regressions
* try that
* don't let this slip
* fix modeld tests
* fix linter
* modernize prebuilt
* cleanup
* fix those
* increase a bit
old-commit-hash: 00494a44f4
2022-10-16 15:54:36 -07:00
HaraldSchafer
f428c9de30
Refactor model: no klblock ( #26035 )
...
* ff138dc0-d097-4818-b40e-dba5ba89d5d6/449 13274b7d-b546-4b91-a587-33b4af7dec6a/700
* b1bb39be-c6ce-4744-8e63-92969fda6bfc/449 f3ebfba1-f686-448f-be9b-b4d5010be91c/700
* model ref
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu >
old-commit-hash: b654ebdd25
2022-10-15 20:04:35 -07:00
YassineYousfi
523ad86756
faster rocket launcher model ( #26009 )
...
* cache tokens 1456d261-d232-4654-8885-4d9fde883894/440 e63ab895-2222-4abd-a9a5-af86bb70e260/700
* udpate ref commit
* bump tinygrad to master
old-commit-hash: 6c5693e965
2022-10-07 17:22:42 -07:00
HaraldSchafer
a8ec6f4cfd
Rocket Launcher Model ( #25963 )
...
* 1456d261-d232-4654-8885-4d9fde883894/440 6b7d7cec-ead8-40f3-86cc-86d52c9b03fe/300
* compute only 9 tokens: 1456d261-d232-4654-8885-4d9fde883894/440 6b7d7cec-ead8-40f3-86cc-86d52c9b03fe/300
* tinygrad: cleanup gather
* 1456d261-d232-4654-8885-4d9fde883894/440 6b7d7cec-ead8-40f3-86cc-86d52c9b03fe/700
* empty commit for tests
* bump tinygrad
* dont use tinygrad matmul for now
* bump tinygrad
* 1456d261-d232-4654-8885-4d9fde883894/440 e63ab895-2222-4abd-a9a5-af86bb70e260/700
* float16 1456d261-d232-4654-8885-4d9fde883894/440 e63ab895-2222-4abd-a9a5-af86bb70e260/700
* increase steer rate cost
* Revert "increase steer rate cost"
This reverts commit 74ce9ab9be7ef17ecfec931f96851b12f37f2336.
* fork tinygrad
* empty commit for tests
* basics
* Kinda works
* new lat
* new tuning
* Move LATMPCN so scons compiles
* Update long weights
* Add tinygrad optim
* Update model ref
* update weights
* Update ref
* Try
* Error message for field ignore
* update model regf
* ref commit
* Fix onnx test
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu >
old-commit-hash: cb0b7375b7
2022-10-05 21:43:38 -07:00
Dean Lee
58de00a5db
modeld: removed extra spaces ( #25880 )
...
old-commit-hash: 2f878830c8
2022-09-23 10:54:13 -07:00
Adeeb Shihadeh
30326c5a39
Revert "modeld: bug fix in single camera mode of modeld ( #25658 )"
...
This reverts commit 4f058225a71ae8678d890a3183b43475ff26bb60.
old-commit-hash: 48efd8374b
2022-09-06 13:00:49 -07:00
Inoichan
fcfa38dc50
modeld: bug fix in single camera mode of modeld ( #25658 )
...
old-commit-hash: 7cdb538043
2022-09-05 17:52:12 -07:00
George Hotz
273fab518b
modeld: delete unused SNPE stuff after move to tinygrad ( #25635 )
...
* delete unused stuff
* remove CL interceptor from thneed since we don't use SNPE anymore
* remove dead files from release
* that's removed
* oops, didn't save
old-commit-hash: 6c39382d71
2022-09-01 18:28:20 -07:00
HaraldSchafer
4b8547c7a4
Support e2e long in longitudinal planner ( #25636 )
...
* refactor
* Add planer modes to support offline, acc, and blended
* add acceleration
* Fix index
* Update model ref
* Read in model outputs
* Add model msg
* Add e2e logic
* Add source
old-commit-hash: e1b7a37a1f
2022-09-01 15:40:25 -07:00
George Hotz
29cd51b876
modeld: Move from SNPE to tinygrad ( #25207 )
...
* compiling, won't work yet
* running with inputs and outputs
* there's some magic chance this works
* no more dlc, include onnx
* yolo tests plz
* bump tinygrad
* files_common + delete dlc
* tinygrad_repo -> tinygrad
* pre commit config
* llops needed
* extra in files_common
* bump tinygrad
* fix indent
* tinygrad/nn/__init__
* tinygrad_repo
* bump tinygrad repo
* bump tinygrad
* bump with native_exp, match maybe
* native_explog is argument
* pyopencl no cache
* 5% chance this matches
* work in float32?
* bump tinygrad
* fix build
* no __init__
* fix recip
* dumb hack
* adding thneed PC support
* fix pc segfault
* pc thneed is working
* to_image
* prints stuff with debug=2
* it sort of works
* copy host ptr is simpler
* bug fix
* build on c3
* this correct?
* reenable float16
* fix private, fixup copy_inputs internal
* bump tinygrad and update ref commit
* fix OPTWG on PC
* maybe fix non determinism
* revert model replay ref commit
* comments, init zeroed out buffers
* upd ref commit
* bump tinygrad to fix initial image
* try this ref
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 40d6f4b65c
2022-09-01 10:31:14 -07:00
George Hotz
58f2a941da
modeld: PC Thneed prereqs ( #25615 )
...
* pc thneed prereqs
* ugh, out of date
* that can stay private
* memcpy here is fine in SNPE variant
* release files
* thneed docs don't work anymore. they didn't look too useful
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: b6e355a933
2022-08-30 17:57:14 -07:00
Adeeb Shihadeh
35ff65121e
pre-commit: add codespell ( #25571 )
...
old-commit-hash: 6590fb2b93
2022-08-30 11:20:55 -07:00
Dean Lee
51ac3a7fe3
modeld: delete wide_frame in model_free ( #25562 )
...
old-commit-hash: 68b1dbc0ea
2022-08-26 11:19:05 -07:00
HaraldSchafer
8413d5ddf1
Nuclear Grade Model: less memory, more accuracy ( #25524 )
...
* c9d10c64-bea4-41ec-8ca3-d8c886fda172/440 6d1c8a6b-4070-4780-80f1-6f08f234275e/900
* update ref
old-commit-hash: 2f46fe5d85
2022-08-25 00:01:21 -07:00
HaraldSchafer
48522500ea
Falcon Punch Model: turn cutting improvements ( #25413 )
...
* simplified change to mpc dynamics
* add jerk pts
* increase jerk cost
* increase jerk pts multipler to master value
* Add final commit
* 1456d261-d232-4654-8885-4d9fde883894/440 ac1a6744-85b0-4ec6-8ba7-608d0717b8f1/750
* some copies are useful
* update model replay ref
* less frames in model replay onnx cpu
* 1456d261-d232-4654-8885-4d9fde883894/440 264b67f5-3f52-4b58-b11f-58dd8aaf08bf/950
* 1456d261-d232-4654-8885-4d9fde883894/440 236fc556-fba3-4255-8ccf-684b22637160/950
* c9d10c64-bea4-41ec-8ca3-d8c886fda172/440 26d73dd2-862a-44ae-bbdd-32cc4f397ad7/900
* Fix couple tests
* Update ref
* Unused for now
* Add lateral factor comment
* Unused variable
Co-authored-by: nuwandavek <vivekaithal44@gmail.com >
Co-authored-by: Bruce Wayne <yassine@comma.ai >
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu >
Co-authored-by: Bruce Wayne <batman@gpu06.internal >
old-commit-hash: 041458f632
2022-08-12 00:47:59 -07:00
YassineYousfi
6709805020
Model file too big: Revert "New model: minor fixes" ( #25390 )
...
Revert "New model: minor fixes (#25368 )"
This reverts commit 4e69dfab07507510eb52f532e7038b01f83471b7.
old-commit-hash: 3afe7464df
2022-08-08 12:42:46 -07:00
HaraldSchafer
f8a05617a3
New model: minor fixes ( #25368 )
...
* 1456d261-d232-4654-8885-4d9fde883894/440 ac1a6744-85b0-4ec6-8ba7-608d0717b8f1/750
* some copies are useful
* update model replay ref
* less frames in model replay onnx cpu
Co-authored-by: Bruce Wayne <yassine@comma.ai >
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu >
old-commit-hash: 55bf938504
2022-08-05 17:28:15 -07:00
HaraldSchafer
e5589e572f
Cleanup calibration code ( #25119 )
...
* First attempt
* worksish
* tests pass
* cleanup
* get rid of garbahe
* fix name
* Still used in xx
* add debug functions
* used
* Revert "used"
This reverts commit 276e8ebab06d2d4f0e9927ba32b7d8aca2bf88c3.
* Update ref
old-commit-hash: 772b748689
2022-08-01 20:35:14 -07:00
ZwX1616
6e5393367d
Remove RHD toggle: determine by driver side instead ( #24802 )
...
* driverview
* auto choose
* useless
* remove
* modeld not use toggle
* remove from params
* should have commissue anyway
* delete icon file
* deal with init more elegantly and prohibit switching when engaged
* nonblock save when not unstable
* filter very low speeds
* a few more secs dont harm
* draw icon
* match
* radius
* use const
* ref commit
* new transs
* put_bool_nonblocking
* 5k route tune
* ref comm
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 22408781f7
2022-07-29 13:52:24 -07:00
ZwX1616
7179696f6c
DM: track RHD predictions ( #24947 )
...
* driverview
* auto choose
* useless
* remove
* modeld not use toggle
* remove from params
* Revert "remove from params"
This reverts commit a08df0b4921e03deac24f4da2c0f1e9e9255a717.
* Revert "modeld not use toggle"
This reverts commit 2730bf8f57c8b057db2e4a76541e92880506cedd.
* Revert "remove"
This reverts commit 21f7cfaaee5452e53ee719762078cb153b3cc766.
* Revert "driverview"
This reverts commit 222d129711e6aa34c0468294b94f60ebbd1bb126.
* semi revert
old-commit-hash: a0c114b8b0
2022-06-22 13:51:37 -07:00
HaraldSchafer
a9108f29fa
Revert "Rocket league model ( #24869 )" ( #24936 )
...
* Revert rocket league
* revert ref commit
* New model ref commit
old-commit-hash: 0e0b5c4e24
2022-06-21 12:07:00 -07:00
ZwX1616
cd2a98aa11
fullframe DM model ( #24860 )
...
* Revert "put cereal on master"
This reverts commit 4646c132bae7358079c9b2867725f8382906c1e5.
* Revert "Revert fullframe DM model (#24812 )"
This reverts commit 59e8af4c3101785cead69a9880cc03e0a18081e1.
* revert revert cereal
* clip6
* 0.8 is fair
* Fiction compensation should be based on error
* Update refs
* Add deadzone
* not that
* good mg
* ref
* ref
* ee8f
* minor tweak
* ref
* recompile
* ref
* cereal
* match driverstatus
* new ref
* new ref
* pass token through jenkins credentials
* quote
* fix snpe dead weights
* final ref
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 1f2f9ea9c9
2022-06-20 16:24:51 -07:00
HaraldSchafer
b0b1aff5cc
Rocket league model ( #24869 )
...
* dd9a502d-c8e2-4831-b365-804b0ae0739d/600 80041070-d276-4fed-bdb9-0075e5442908/420
* no elementwise op
* 9dabf0fe-2e60-44bf-8d3a-d20a74aca072/600 ae746590-0bb5-4a16-80db-15f02d314f03/300 c4663a12-b499-4c9b-90dd-b169e3948cb1/60
* explicit slice
* some copies are useful
* 1456d261-d232-4654-8885-4d9fde883894/440 c06eba55-1931-4e00-9d63-acad00161be0/700 af2eb6ba-1935-4318-aaf8-868db81a4932/425
* 154f663e-d3e9-4020-ad49-0e640588ebbe/399 badb5e69-504f-4544-a99e-ba75ed204b74/800 08330327-7663-4874-af7a-dcbd2c994ba7/800
* set steer rate cost to 1.0
* smaller temporal size
* Update model reg
* update model ref again
* This did upload somehow
* Update steer rate cost
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu >
old-commit-hash: 9283040d84
2022-06-15 15:29:42 -07:00
George Hotz
33bed6d13b
remove weights fixup with new SNPE ( #24254 )
...
* remove weights fixup with new SNPE
* Update ref
Co-authored-by: Comma Device <device@comma.ai >
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com >
old-commit-hash: 7a6f57a28e
2022-06-14 15:46:03 -07:00
Adeeb Shihadeh
9a45a3b99b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
old-commit-hash: 1139fe507b
2022-06-11 16:38:24 -07:00
ZwX1616
c73d4e5fc6
Revert fullframe DM model ( #24812 )
...
* Revert "fullframe DM: flip RHD yaw to use matching thresholds"
This reverts commit ce7daabc8847d18ba46e5d1879f5a6958d04ccc7.
* Revert "fullframe DM model (#24762 )"
This reverts commit 817be81fb19004f4873881f6b29dcdfffbe7e3a8.
* revert cereal
old-commit-hash: c646eeee0a
2022-06-10 16:16:46 -07:00
ZwX1616
02f0f39b52
fullframe DM model ( #24762 )
...
* get log
* simplify two nonsense
* not needed
* libyuv is a joke
* clean up
* try small
* fast but not bad
* working
* clean up driverview
* simplified
* thats mirrored
* smol
* tweak
* ref is screen
* w/ ee
* update camera model
* no if TICI
* start
* update pose thresh
* less cpu more dsp
* new libyuv
* new snpe
* add files
* test
* should be fast
* update out len
* trigger test
* use master snpe
* add cereal
* update cereal
* refactor parsing
* missing ;
* get
* wrong type
* test model
* use driver data
* 10829278-72fe-4283-a118-2cef959ce174/1550
* no pf
* adapt driverview
* ;
* rhd learner
* update libyuv buildi x64
* ad4337ea
* remove blink slack
* test
* no
* use toggle
* b16
* fix for nv12
* 5b02cff5 both
* update test
* update cereal
* update cereal
* update cereal
* v2 packets
* revert libyuv
* no /
* update snpemodel
* ;
* memcpy
* fix test
* use toggle in driverview
* update power
* update replay
* Revert "update replay"
This reverts commit 1d0979ca59dbc89bc5890656e9501e83f0556d50.
* update model ref
* halve cpu
* fake 8bit onnx runner
* same thresh as report
* cereal master
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: d6c07a6b15
2022-06-08 20:13:46 -07:00
Adeeb Shihadeh
3df7552b7b
modeld: cleaner exit from onnx runner
...
old-commit-hash: 921a411da5
2022-06-02 20:16:21 -07:00
HaraldSchafer
248856d540
Update README.md
...
old-commit-hash: 5b0f660a0e
2022-06-02 14:19:29 -07:00
HaraldSchafer
4322483d7f
Modeld readme replaced with driving.h
...
old-commit-hash: f07f7cbc8e
2022-06-02 14:19:19 -07:00
Willem Melching
753045c73d
less TICI when not needed ( #24698 )
...
* less TICI when not needed
* fix process replay
* move reading voltages into hw abstraction layer
* Update selfdrive/hardware/tici/hardware.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Update selfdrive/hardware/hw.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Update selfdrive/hardware/base.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* rename init function
* Update selfdrive/athena/athenad.py
Co-authored-by: Robbe Derks <robbe.derks@gmail.com >
* Update selfdrive/boardd/boardd.cc
* Apply suggestions from code review
* Update selfdrive/thermald/thermald.py
* update ref
* fix alert width if all cameras are bad
* add ecam to test_loggerd
* bump cereal
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: Robbe Derks <robbe.derks@gmail.com >
old-commit-hash: f49a9c9fd2
2022-06-02 15:20:51 +02:00