Files
tinygrad/test
chenyuandGitHub 03b367c014 handle float16 overflow in PYTHON (#5022)
* handle float16 overflow in PYTHON

use `truncate` when constructing tensor from list to make sure all values are packable (might be slow, but should be correct). add truncate_fp16 to cast overflowed values to inf/-inf.

* all valid fmt supports truncate
2024-06-17 21:12:52 -04:00
..
2023-12-01 11:34:47 -08:00
2020-12-15 23:44:08 -08:00
2023-06-25 10:38:58 -07:00
2024-06-14 15:38:45 -04:00
2024-03-18 16:47:07 -04:00
2024-06-09 11:33:03 +03:00
2024-03-26 21:02:46 -07:00
2023-12-07 17:07:05 -08:00
2024-05-15 23:46:08 +03:00
2024-06-17 19:47:30 -04:00
2024-05-15 23:46:08 +03:00
2024-05-15 23:46:08 +03:00
2024-06-14 02:31:59 -07:00