Files
tinygrad/test
Casey Primozic 52b7105f87 Dedup params in Optimizer (#1047)
* Dedup params in optimizer

 * Passing the same tensor multiple times in the set of learnable params passed to optimizers can result in models completely failing to learn, but no errors are produced.  This dedups tensors to avoid the problem.

* Fix types

* Use new variable to satisfy linter

* Use `helpers.dedup` instead of `set()` to dedup params

* Add test for duped params in optimizers
2023-06-26 00:49:23 -07:00
..
2023-06-25 15:24:26 -07:00
2023-06-25 15:22:56 -07:00
2020-12-15 23:44:08 -08:00
2023-06-25 10:38:58 -07:00
2023-06-03 09:40:43 -07:00
2023-05-28 15:40:37 -07:00
2023-06-22 14:15:50 -07:00
2023-02-27 06:53:18 -08:00
2023-05-05 21:56:32 -07:00
2023-06-25 15:22:56 -07:00
2023-06-25 15:37:51 -07:00
2023-06-03 09:40:43 -07:00
2023-06-21 11:50:43 -07:00
2023-06-01 11:32:02 -07:00