Files
tinygrad/extra
StanandGitHub 9b6e57eccd helpers.py: improved test coverage + exception handling (#1165)
* Fixes + improved test coverage for helpers.py

- added exception handling in `proc`, if an exception was thrown, the thread would hang
- made `_early_exec_process` catch any Exception, before if an exception was thrown before the process was started, it would hand the thread

* Made `_early_exec_process` catch any Exception

 Otherwise, if an exception was thrown before the process was started, it would hang the thread. For example a type error for an argument passed to `subprocess.check_output`

* Fixed `from tinygrad.helpers import Timing` import

oops, for some reason my IDE cleaned that import from extra/helpers.

* Fixed import in llama.py

Another one that I skipped by accident, mybad

* Extracted a class for tests of early exec

* Normalize line endings, windows uses /r/n

* Made `cross_process` not a daemon
2023-07-07 10:26:05 -07:00
..
2023-06-28 19:54:33 +00:00
2023-05-26 19:28:51 -07:00
2023-06-16 12:06:38 -07:00
2023-05-03 19:34:17 +00:00
2023-07-05 15:36:22 -07:00
2023-06-28 19:21:01 +00:00
2023-03-18 14:40:23 -07:00
2023-03-11 07:50:07 -08:00
2023-03-04 07:49:25 -08:00