EnzymeAD/Reactant.jl

SpecialFunctions meta-issue

Open

#381 opened on Dec 15, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Julia (64 forks)github user discovery
good first issue

Repository metrics

Stars
 (336 stars)
PR merge metrics
 (Avg merge 2d 10h) (36 merged PRs in 30d)

Description

Each of the following functions from the SpecialFunctions.jl package should have a method added here that handles TracedRNumber or TracedRArray inputs (depending on whether the expected input is a scalar or vector). This should be implemented using corresponding calls to stablehlo methods https://github.com/openxla/stablehlo/blob/c2fccec9f02daa2d709001ed5f37924d2526676f/stablehlo/dialect/StablehloOps.td#L938 or chlo methods https://github.com/openxla/stablehlo/blob/c2fccec9f02daa2d709001ed5f37924d2526676f/stablehlo/dialect/ChloOps.td . Ideally it should directly call operations within Ops.jl which wrap these stablehlo and chlo utilities. If one needs to call a stablehlo or chlo method which doesn't have an interface in Ops, it should be added to Ops, with a corresponding test, and then use that new Ops.jl method.

Contributor guide