Skip to content

Commit

Permalink
supposedly fix cuda for IsoRun
Browse files Browse the repository at this point in the history
  • Loading branch information
axsk committed Feb 14, 2024
1 parent c9d9543 commit e16e90e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cuda.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ move the model and data of the given `IsoRun` to the GPU for CUDA support
function gpu!(iso::IsoRun)
iso.model = Flux.gpu(iso.model)
iso.data = Flux.gpu(iso.data)
iso.opt = Flux.gpu(iso.opt)
return
end

Expand Down

0 comments on commit e16e90e

Please sign in to comment.