# How to move optimiser from gpu to cpu?

**URL:** https://discourse.julialang.org/t/how-to-move-optimiser-from-gpu-to-cpu/69622
**Category:** Machine Learning
**Tags:** flux
**Created:** [October 12, 2021, 1:38pm UTC](https://discourse.julialang.org/t/how-to-move-optimiser-from-gpu-to-cpu/69622 "2021-10-12T13:38:42Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![ToucheSir](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/touchesir/32/14411_2.png) [@ToucheSir](https://discourse.julialang.org/u/ToucheSir)
#### Post date: [December 12, 2021, 6:29pm UTC](https://discourse.julialang.org/t/how-to-move-optimiser-from-gpu-to-cpu/69622/11 "2021-12-12T18:29:18Z")

</div>

So it turns out there is an easier way to go about this, see [Deepcopy Flux Model - #9 by ToucheSir](https://discourse.julialang.org/t/deepcopy-flux-model/72930/9).

---

_[View the full topic](https://discourse.julialang.org/t/how-to-move-optimiser-from-gpu-to-cpu/69622)._
