Skip to content

Commit

Permalink
reintroduce GPU_BACKEND (#2511)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloLucibello authored Nov 1, 2024
1 parent eb9ec4a commit 2569ac9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/deprecations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ function supported_devices()
return MLDataDevices.supported_gpu_backends()
end

# This was previosly documented.
# As of v0.14.23 we silently deprecate it.
# Later we will deprecate it loudly and then remove it.
const GPU_BACKEND = @load_preference("gpu_backend", "CUDA")


# v0.15 deprecations

# Enable these when 0.15 is released, and delete const ClipGrad = Optimise.ClipValue etc:
Expand Down

0 comments on commit 2569ac9

Please sign in to comment.