We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4018708 commit 9b0ee07Copy full SHA for 9b0ee07
src/deprecations.jl
@@ -151,6 +151,12 @@ end
151
const GPU_BACKEND = @load_preference("gpu_backend", "CUDA")
152
153
154
+# help out with https://github.com/chengchingwen/Transformers.jl/issues/201
155
+const FluxCPUAdaptor = CPUDevice
156
+const FluxCUDAAdaptor = CUDADevice
157
+const FluxAMDGPUAdaptor = AMDGPUDevice
158
+const FluxMetalAdaptor = MetalDevice
159
+
160
# v0.15 deprecations
161
162
# Enable these when 0.15 is released, and delete const ClipGrad = Optimise.ClipValue etc:
0 commit comments