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 (220 forks)batch import
CUDAhelp wanted

Repository metrics

Stars
 (1,568 stars)
PR merge metrics
 (Avg merge 2d 16h) (39 merged PRs in 30d)

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