benedict-96

Results 4 comments of benedict-96

Thanks for the quick response and sorry for not providing the error message! For me `norm(Metal.MtlArray(rand(Float16, 10)))` does not fail (Mac mini 2023 with M2 and Metal `v0.5.1`). `Metal.rand(Float16, 10)`...

Oh, sorry; should have checked this before. The problem seems to be `p -> tanh.(p)`. `gradient(p -> norm(p), Metal.rand(Float16, 10))[1]` works, but ```julia julia> pullback(p -> tanh.(p), Metal.rand(Float16, 10))[2](Metal.rand(Float16, 10))...

I have the same problem and, unfortunately, adding this doesn't seem to fix it: ```julia function create_array(::Type{

Short update: I think adding ```julia function create_array(::Type{