Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assert for memory allocation failures (tinygrad#2337)
* assert adequate memory has been freed * cleaned up runtime error message * improved metal buffer alloc error catching and reporting * decreased lines and altered messages * removed unnecessary _get_cur_free_space() call * improved assert message * added allocate massive buffer test * added test_lru_allocator_metal_max_buffer_length * split into two asserts and removed walrus assignment from assert expression * update assert message and use byte data type for clarity
- Loading branch information