Skip to content

Commit

Permalink
fix: compat entries need to be 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Nov 8, 2024
1 parent a44c931 commit d68581a
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ MacroTools = "0.5.13"
Markdown = "1.10"
NCCL = "0.1.1"
NNlib = "0.9.24"
Optimisers = "0.3.3, 4"
Optimisers = "0.3.3, 0.4"
Preferences = "1.4.3"
Random = "1.10"
Reactant = "0.2.4"
Expand Down
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ LuxCore = "1"
LuxLib = "1.3.4"
LuxTestUtils = "1.5"
MLDataDevices = "1.4"
Optimisers = "0.3.3, 4"
Optimisers = "0.3.3, 0.4"
Pkg = "1.10"
Printf = "1.10"
Random = "1.10"
Expand Down
2 changes: 1 addition & 1 deletion examples/Basics/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ ComponentArrays = "0.15"
ForwardDiff = "0.10"
Lux = "1"
LuxCUDA = "0.3"
Optimisers = "0.3.3, 4"
Optimisers = "0.3.3, 0.4"
Zygote = "0.6"
2 changes: 1 addition & 1 deletion examples/ConvMixer/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ LuxCUDA = "0.3.2"
MLDatasets = "0.7.14"
MLUtils = "0.4.4"
OneHotArrays = "0.2.5"
Optimisers = "0.3.3, 4"
Optimisers = "0.3.3, 0.4"
PreferenceTools = "0.1.2"
Printf = "1.10"
ProgressBars = "1.5.1"
Expand Down
8 changes: 2 additions & 6 deletions examples/ConvMixer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,7 @@ Flags

## Notes

1. Weight-Decay with Adam in Optimisers.jl works differently from `torch.optim.AdamW`,
so you might need to adjust the value of `--weight-decay` to get the same results.
Pytorch multiplies the weight decay with the learning rate, whereas in Optimisers.jl
the learning rate is decoupled from the weight decay.
2. To match the results from the original repo, we need more augmentation strategies, that
1. To match the results from the original repo, we need more augmentation strategies, that
are currently not implemented in DataAugmentation.jl.
3. Don't compare the reported timings in that repo against the numbers here. They time the
2. Don't compare the reported timings in that repo against the numbers here. They time the
entire loop. We only time the training part of the loop.
2 changes: 1 addition & 1 deletion examples/HyperNet/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ LuxCUDA = "0.3"
MLDatasets = "0.7"
MLUtils = "0.4"
OneHotArrays = "0.2"
Optimisers = "0.3.3, 4"
Optimisers = "0.3.3, 0.4"
Setfield = "1"
Statistics = "1"
Zygote = "0.6"
2 changes: 1 addition & 1 deletion examples/ImageNet/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ MLUtils = "0.4.4"
MPI = "0.20.21"
NCCL = "0.1.1"
OneHotArrays = "0.2.5"
Optimisers = "0.3.3, 4"
Optimisers = "0.3.3, 0.4"
ParameterSchedulers = "0.4.2"
Random = "1.10"
Setfield = "1.1.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/NeuralODE/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ LuxCUDA = "0.3"
MLDatasets = "0.7"
MLUtils = "0.4"
OneHotArrays = "0.2"
Optimisers = "0.3.3, 4"
Optimisers = "0.3.3, 0.4"
OrdinaryDiffEqTsit5 = "1"
SciMLSensitivity = "7.63"
Statistics = "1"
Expand Down
2 changes: 1 addition & 1 deletion examples/PINN2DPDE/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Lux = "1"
LuxCUDA = "0.3.3"
MLUtils = "0.4.4"
OnlineStats = "1.7.1"
Optimisers = "0.3.3, 4"
Optimisers = "0.3.3, 0.4"
Printf = "1.10"
Random = "1.10"
Statistics = "1.10"
Expand Down
2 changes: 1 addition & 1 deletion examples/PolynomialFitting/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ ADTypes = "1"
CairoMakie = "0.12"
Lux = "1"
LuxCUDA = "0.3"
Optimisers = "0.3.3, 4"
Optimisers = "0.3.3, 0.4"
Statistics = "1"
Zygote = "0.6"
2 changes: 1 addition & 1 deletion examples/SimpleChains/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Lux = "1"
MLDatasets = "0.7.14"
MLUtils = "0.4"
OneHotArrays = "0.2.5"
Optimisers = "0.3.3, 4"
Optimisers = "0.3.3, 0.4"
Random = "1"
SimpleChains = "0.4.6"
Zygote = "0.6.69"
2 changes: 1 addition & 1 deletion examples/SimpleRNN/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ JLD2 = "0.5"
Lux = "1"
LuxCUDA = "0.3"
MLUtils = "0.4"
Optimisers = "0.3.3, 4"
Optimisers = "0.3.3, 0.4"
Statistics = "1"
Zygote = "0.6"
2 changes: 1 addition & 1 deletion lib/LuxCore/test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ EnzymeCore = "0.8.5"
ExplicitImports = "1.9.0"
Functors = "0.4.12"
MLDataDevices = "1.0.0"
Optimisers = "0.3.3, 4"
Optimisers = "0.3.3, 0.4"
Random = "1.10"
Test = "1.10"
2 changes: 1 addition & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ MLUtils = "0.4.3"
NNlib = "0.9.24"
Octavian = "0.3.28"
OneHotArrays = "0.2.5"
Optimisers = "0.3.3, 4"
Optimisers = "0.3.3, 0.4"
Pkg = "1.10"
Preferences = "1.4.3"
Random = "1.10"
Expand Down

2 comments on commit d68581a

@avik-pal
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 updated: JuliaRegistries/General/118940

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 v1.2.3 -m "<description of version>" d68581aff98c8a8c043bf4107b3e1370c38c1d8f
git push origin v1.2.3

Please sign in to comment.