From 20c5629b41b44a7d4feccd0c3e72230c805d304b Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Sun, 15 Dec 2024 09:02:46 +0530 Subject: [PATCH] fix: remove old patches around reactant bug --- Project.toml | 2 +- ext/LuxReactantExt/patches.jl | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Project.toml b/Project.toml index 96113212aa..10bad812d6 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Lux" uuid = "b2108857-7c20-44ae-9111-449ecde12c47" authors = ["Avik Pal and contributors"] -version = "1.4.1" +version = "1.4.2" [deps] ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b" diff --git a/ext/LuxReactantExt/patches.jl b/ext/LuxReactantExt/patches.jl index 0af6705e4c..e69de29bb2 100644 --- a/ext/LuxReactantExt/patches.jl +++ b/ext/LuxReactantExt/patches.jl @@ -1,7 +0,0 @@ -# For some reason xlogx and xlogy with boolean inputs leads to incorrect results sometimes -# XXX: Once https://github.com/EnzymeAD/Reactant.jl/pull/278 is merged and tagged -LuxOps.xlogx(x::TracedRNumber{Bool}) = zero(x) - -function LuxOps.xlogy(x::TracedRNumber, y::TracedRNumber) - return invoke(LuxOps.xlogy, Tuple{Number, Number}, float(x), float(y)) -end