Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace depreciated Flux.ADAM with Flux.Adam #203

Merged
merged 2 commits into from
Jul 25, 2022
Merged

Replace depreciated Flux.ADAM with Flux.Adam #203

merged 2 commits into from
Jul 25, 2022

Conversation

mplemay
Copy link
Contributor

@mplemay mplemay commented Jul 22, 2022

This PR replaces the depreciated Flux.ADAM optimizer with Flux.Adam across the entire project. This PR only changes, docs, performance benchmarks, tests, and examples so it should it should have not break end-user code.

@mplemay
Copy link
Contributor Author

mplemay commented Jul 22, 2022

@CarloLucibello I just noticed you created another PR that addresses this. I will close this.

@mplemay mplemay closed this Jul 22, 2022
@mplemay mplemay deleted the adam-depreciation branch July 22, 2022 16:02
@CarloLucibello
Copy link
Member

I actually I would prefer if we merge this PR instead of having an unrelated change in another PR

@mplemay mplemay restored the adam-depreciation branch July 22, 2022 16:21
@mplemay mplemay reopened this Jul 22, 2022
@mplemay mplemay changed the title replace depreciated Flux.ADAM with Flux.Adam Replace depreciated Flux.ADAM with Flux.Adam Jul 22, 2022
@codecov
Copy link

codecov bot commented Jul 22, 2022

Codecov Report

Merging #203 (0c42850) into master (93b6fa2) will decrease coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #203      +/-   ##
==========================================
- Coverage   86.44%   86.37%   -0.08%     
==========================================
  Files          15       15              
  Lines        1365     1365              
==========================================
- Hits         1180     1179       -1     
- Misses        185      186       +1     
Impacted Files Coverage Δ
src/GNNGraphs/transform.jl 96.53% <0.00%> (-0.44%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 93b6fa2...0c42850. Read the comment docs.

@CarloLucibello
Copy link
Member

We need to update Flux compat to 0.13.4

@mplemay
Copy link
Contributor Author

mplemay commented Jul 22, 2022

We need to update Flux compat to 0.13.4

@CarloLucibello In this case would it make more sense to set the compatibility to ^0.13.4 or ~0.13.4?

@CarloLucibello
Copy link
Member

See how it is done in #202

@CarloLucibello CarloLucibello merged commit 987fd03 into JuliaGraphs:master Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants