Skip to content

Commit

Permalink
fix missing method for
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-Portal committed Jan 21, 2024
1 parent 590adf2 commit fa7dc1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ext/FluxCUDAExt/FluxCUDAExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ end
ChainRulesCore.@non_differentiable check_use_cuda()

include("functor.jl")
include("utils.jl")

function __init__()
Flux.CUDA_LOADED[] = true
Expand Down
2 changes: 1 addition & 1 deletion ext/FluxCUDAExt/utils.jl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rng_from_array(::CuArray) = CUDA.default_rng()
Flux.rng_from_array(::CuArray) = CUDA.default_rng()

0 comments on commit fa7dc1f

Please sign in to comment.