Skip to content

Commit

Permalink
Merge pull request #162 from FluxML/compathelper/new_version/2024-02-…
Browse files Browse the repository at this point in the history
…03-01-00-27-780-02072116814

CompatHelper: bump compat for ParameterSchedulers to 0.4, (keep existing compat)
  • Loading branch information
darsnack authored Mar 9, 2024
2 parents 8d24b56 + 09bc2bc commit 2fa2fb3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "FluxTraining"
uuid = "7bf95e4d-ca32-48da-9824-f0dc5310474f"
authors = ["lorenzoh <[email protected]>"]
version = "0.3.9"
version = "0.3.10"

[deps]
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0"
Expand Down Expand Up @@ -40,7 +40,7 @@ ImageCore = "0.8, 0.9, 0.10"
InlineTest = "0.2"
OnlineStats = "1.5"
Optimisers = "0.2, 0.3"
ParameterSchedulers = "0.3.1"
ParameterSchedulers = "0.3.1, 0.4"
Parameters = "0.12"
PrecompileTools = "1"
PrettyTables = "1, 1.1, 1.2, 2"
Expand Down
3 changes: 2 additions & 1 deletion src/FluxTraining.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ using Statistics: mean
using UUIDs
using Zygote
using ChainRulesCore
using ParameterSchedulers
import ParameterSchedulers
import ParameterSchedulers: Sequence, Shifted, Sin
using TensorBoardLogger: TBLogger, log_value, log_image, log_text, log_histogram, tb_overwrite
using Zygote: Grads, gradient
using ValueHistories
Expand Down
2 changes: 1 addition & 1 deletion test/callbacks/scheduler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ include("../imports.jl")
end

@testset "Regression test for #122" begin
learner = testlearner(Recorder(), Scheduler(LearningRate => ParameterSchedulers.CosAnneal(λ0=0,λ1=0,period=0)), ToGPU())
learner = testlearner(Recorder(), Scheduler(LearningRate => CosAnneal(λ0=0,λ1=0,period=0)), ToGPU())
@test_nowarn FluxTraining.Graphs.topological_sort_by_dfs(learner.callbacks.graph)
end
end
2 changes: 1 addition & 1 deletion test/imports.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using ReTest
import Optimisers
using FluxTraining
using ParameterSchedulers
import ParameterSchedulers: Interpolator, Poly, CosAnneal
using Colors
using ImageIO
using FluxTraining: protect, Events, Phases, runstep, runepoch, epoch!, step!, testlearner, SanityCheckException
Expand Down

2 comments on commit 2fa2fb3

@darsnack
Copy link
Member 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/102577

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

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 the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.10 -m "<description of version>" 2fa2fb36ff09cdbd6b84e53a5524d6eb75022025
git push origin v0.3.10

Please sign in to comment.