Closed ChenZhao44 closed 2 years ago
Thanks for the issue, this is caused by https://github.com/JuliaGPU/GPUArrays.jl/issues/340 The permutedims in GPUArrays is very bad for high dimensional tensors, there are some other issues like: https://github.com/JuliaGPU/GPUArrays.jl/issues/375
So I rewrite the permutedims kernel in PR #128 .
Thanks for your quick fix! However, the new branch doesn't fix the issue for me.
Sorry, now it should be fine. FYI: This bug is fixed in Julia 1.7
You probably will be insterested in this patch: https://github.com/JuliaGPU/GPUArrays.jl/pull/334/files to make your code work properly in Julia-1.6.
Thanks, Julia 1.7 works fine. I will use 1.7.
My CUDA.jl version is 3.5.0.
Here is a MWE. It seems like an issue from
CUDA.jl
.