Skip to content

Commit

Permalink
chore!: remove Reexport of NNlib (will be done via Lux)
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Aug 18, 2024
1 parent 7c8d876 commit 6813462
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ NNlib = "0.9.21"
Octavian = "0.3.28"
Polyester = "0.7.15"
Random = "1.10"
Reexport = "1"
Reexport = "1.2"
ReverseDiff = "1.15"
SLEEFPirates = "0.6.43"
Static = "0.8.4, 1"
Expand Down
2 changes: 0 additions & 2 deletions src/LuxLib.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ using LuxCore: LuxCore
using MLDataDevices: get_device_type, AbstractGPUDevice
using NNlib: NNlib, ConvDims, σ

@reexport using NNlib

const Optional{T} = Union{Nothing, T}
const Numeric = Union{AbstractArray{<:T}, T} where {T <: Number}
const ∂∅ = NoTangent()
Expand Down
4 changes: 2 additions & 2 deletions test/common_ops/dense_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ end
end

@testitem "Fused Dense: StaticArrays" tags=[:dense] begin
using StaticArrays
using StaticArrays, NNlib

x = @SArray rand(2, 4)
weight = @SArray rand(3, 2)
Expand All @@ -112,7 +112,7 @@ end
end

@testitem "Fused Dense: CPU No Scalar Indexing" tags=[:dense] begin
using JLArrays
using JLArrays, NNlib

x = JLArray(rand(Float32, 2, 4))
weight = JLArray(rand(Float32, 3, 2))
Expand Down
2 changes: 1 addition & 1 deletion test/others/qa_tests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@testitem "Aqua: Quality Assurance" tags=[:others] begin
using Aqua, ChainRulesCore, EnzymeCore
using Aqua, ChainRulesCore, EnzymeCore, NNlib
using EnzymeCore: EnzymeRules

Aqua.test_all(
Expand Down

0 comments on commit 6813462

Please sign in to comment.