FluxML/Zygote.jl

Unable to differentiate a broadcasted constructor with CUDA array inputs

Open

#1,528 opened on Oct 3, 2024

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Julia (1,568 stars) (220 forks)batch import
CUDAhelp wanted

Description

Due to a CUDA bug: https://github.com/JuliaGPU/CUDA.jl/issues/2514, crossposted for reference.

Encountered when differentiating over:

using Distributions
using CUDA
a = cu(ones(5)); b = cu(zeros(5));

Normal.(a, b)

Contributor guide