Start relying on randomkit
and slowly deprecate use of leesper/go_rng
#205
Labels
randomkit
and slowly deprecate use of leesper/go_rng
#205
This is a profile from a recent NN run (resnet + extras)
The reason why
leespe/go_rng
is slow is due to mutex locking (and reliance on themath/rand
package. A better idea is to use a PCG random number generator (h/t: @dgryski) , which is whatgorgonia.org/randomkit
aims to be.The text was updated successfully, but these errors were encountered: