Skip to content

Commit a3afbf8

Browse files
committed
fix: remove old patches around reactant bug
1 parent d5e96cd commit a3afbf8

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Lux"
22
uuid = "b2108857-7c20-44ae-9111-449ecde12c47"
33
authors = ["Avik Pal <avikpal@mit.edu> and contributors"]
4-
version = "1.4.1"
4+
version = "1.4.2"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"

ext/LuxReactantExt/patches.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
1-
# For some reason xlogx and xlogy with boolean inputs leads to incorrect results sometimes
2-
# XXX: Once https://github.com/EnzymeAD/Reactant.jl/pull/278 is merged and tagged
3-
LuxOps.xlogx(x::TracedRNumber{Bool}) = zero(x)
41

5-
function LuxOps.xlogy(x::TracedRNumber, y::TracedRNumber)
6-
return invoke(LuxOps.xlogy, Tuple{Number, Number}, float(x), float(y))
7-
end

0 commit comments

Comments
 (0)