This error cropped up suddenly in this pull request to my custom RNN package:
https://github.com/grero/RecurrentNetworkModels.jl/actions/runs/18002287527/job/51214239409?pr=16
I got the advice in this julia discourse thread to use Random.default_rng() instead of StableRNGs.StableRNG, but as the above job shows, the error still persists.
The offending line seems to be this one
z₃ = rnn.η*Lux.randn32(st.rng, rnn.out_dims, size(x,2))