{"author":"George Hotz","author_email":"72895+geohot@users.noreply.github.com","author_time":1704734953,"commit_time":1704734953,"committer":"GitHub","committer_email":"noreply@github.com","hash":"c5a941d466937037ea136377c5509ee1033aa304","message":"webgl backend in extra (#3041)\n\n* WebGL WIP\r\n\r\n* 84% of ops passing test\r\n\r\n* tests passing 100%\r\n\r\n* Cleanup, refactor\r\n\r\n* Shave off some lines\r\n\r\n* Work on dtypes\r\n\r\n* TestOps at 100% again\r\n\r\n* Efficient net shaders compile in browser webgl2\r\n\r\n* Compile all efficientnet shaders in browser\r\n\r\n* Create empty textures for tensor buffers\r\n\r\n* Run program. Up next weight loading\r\n\r\n* Exported WebGL model working\r\n\r\n* Add tests, refactor\r\n\r\n* Explicit cast alu for GLSL\r\n\r\n* Fix CI tests\r\n\r\n* WebGL efficientnet demo\r\n\r\n* Compile and run yolov8 in browser\r\n\r\n* Fix imports\r\n\r\n* Simplify yolo compile\r\n\r\n* Fix bool*bool and cast cmplt to float\r\n\r\n* More tests\r\n\r\n* Do std tests pass on CI?\r\n\r\n* Skip std tests on CI\r\n\r\n* Remove explicit_cast_alu hack, and solve it in code_for_op\r\n\r\n* Move to new dtype-less alloc api\r\n\r\n* Remove local size hack: optimize local_size only if device has local\r\n\r\n* Remove glsl.py, and move content to cstyle\r\n\r\n* dont_use_locals in opts\r\n\r\n* Fix dtype tests\r\n\r\n* type_map in CStyleLanguage\r\n\r\n* Make core changes smaller, cleaner, refactor export_model and demo\r\n\r\n* Skip pad_slice\r\n\r\n* Simplify: render_const, render_conditional\r\n\r\n* solve bool alu for other binops, cleaner ops_webgl\r\n\r\n* Fix noopt hack\r\n\r\n* Remove some skipIfs\r\n\r\n* WebGL image hack\r\n\r\n* type_names is a better name\r\n\r\n* global_max\r\n\r\n* Fix dtype import\r\n\r\n* Fix type_names -> type_map\r\n\r\n* Fix lint\r\n\r\n* Remove webgpu, back to 5k lines (#3040)\r\n\r\n* remove webgpu\r\n\r\n* max 5000 lines\r\n\r\n* revert those to master\r\n\r\n* retain that cstyle\r\n\r\n---------\r\n\r\nCo-authored-by: Ahmed Harmouche <ahmedharmouche92@gmail.com>","parents":["8cbcd1b342e9d65eff682e9384d71af54f79b097"],"tree_hash":"91d2693ba67727ff64679443c3d27c34b4e1a507"}