Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.

Commit

Permalink
fix cugc
Browse files Browse the repository at this point in the history
  • Loading branch information
AStupidBear committed Mar 8, 2020
1 parent 9e4f540 commit 96b24db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "FluxUtils"
uuid = "479fec60-eb0f-11e8-3e82-6d728fa6b650"
authors = ["Yao Lu <[email protected]>"]
version = "0.1.4"
version = "0.1.5"

[deps]
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0"
Expand Down
2 changes: 1 addition & 1 deletion src/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export notrack, cugc
function cugc()
GC.gc()
isdefined(Flux, :CuArrays) &&
Flux.CuArrays.reclaim(true)
Flux.CuArrays.BinnedPool.reclaim()
end

function notrack(m)
Expand Down

2 comments on commit 96b24db

@AStupidBear
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/10697

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.5 -m "<description of version>" 96b24dbec1f91401bd849847a29c11e087cde83f
git push origin v0.1.5

Please sign in to comment.