Files
tinygrad/examples
Stan 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 04:23:26 +00:00
2023-03-11 16:28:10 -08:00
2023-06-25 15:37:51 -07:00
2023-07-02 15:07:30 -07:00
2023-07-02 15:07:30 -07:00
2023-07-04 13:50:26 -07:00
2023-07-02 15:07:30 -07:00
2023-02-18 16:36:12 -08:00
2023-03-29 05:07:06 +04:00