Skip to content

Commit

Permalink
cl/deprdev (#2512)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloLucibello authored Nov 3, 2024
1 parent 4018708 commit 9b0ee07
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 @@ -151,6 +151,12 @@ end
const GPU_BACKEND = @load_preference("gpu_backend", "CUDA")


# help out with https://github.com/chengchingwen/Transformers.jl/issues/201
const FluxCPUAdaptor = CPUDevice
const FluxCUDAAdaptor = CUDADevice
const FluxAMDGPUAdaptor = AMDGPUDevice
const FluxMetalAdaptor = MetalDevice

# v0.15 deprecations

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

0 comments on commit 9b0ee07

Please sign in to comment.