Skip to content

Commit

Permalink
updating Julia to 1.9 (#26)
Browse files Browse the repository at this point in the history
* updating Julia to 1.9
  • Loading branch information
farhadrclass authored Nov 3, 2023
1 parent 441bf6e commit c91b63c
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ['1.6', '1']
version: ['1.9', '1']
os: [ubuntu-latest, macOS-latest, windows-latest]
arch: [x64]
allow_failure: [false]
Expand Down
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ NLPModels = "a4795742-8479-5a88-8948-cc11e1c8c1a6"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[compat]
Flux = "0.13.16"
Flux = "0.14.6"
MLDatasets = "0.7.9"
NLPModels = "0.20.0"
Zygote = "0.6.49"
julia = "^1.6.0"
Zygote = "0.6.60"
julia = "^1.9.0"

[extras]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["LinearAlgebra","CUDA" ,"Test"]
test = ["LinearAlgebra", "CUDA", "Test"]
8 changes: 4 additions & 4 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[compat]
Documenter = "0.27.24"
CUDA = "4.2.0"
Flux = "0.13.16"
CUDA = "4.4.1"
Flux = "0.14.6"
JSOSolvers = "0.10.0"
MLDatasets = "0.7.9"
NLPModels = "0.20.0"
Zygote = "0.6.49"
julia = "^1.6.0"
Zygote = "0.6.60"
julia = "^1.9.0"
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# FluxNLPModels.jl

## Compatibility
Julia ≥ 1.6.
Julia ≥ 1.9.

## How to install

Expand Down
2 changes: 1 addition & 1 deletion docs/src/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ We will cover the following:
using FluxNLPModels
using Flux, NLPModels
using Flux.Data: DataLoader
using Flux: onehotbatch, onecold, @epochs
using Flux: onehotbatch, onecold
using Flux.Losses: logitcrossentropy
using MLDatasets
using JSOSolvers
Expand Down
2 changes: 1 addition & 1 deletion example/MNIST_cnn.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using FluxNLPModels
using CUDA, Flux, NLPModels
using Flux.Data: DataLoader
using Flux: onehotbatch, onecold, @epochs
using Flux: onehotbatch, onecold
using Flux.Losses: logitcrossentropy
using MLDatasets
using JSOSolvers
Expand Down
2 changes: 1 addition & 1 deletion src/FluxNLPModels.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module FluxNLPModels

using Flux, NLPModels
using Flux: onehotbatch, onecold, @epochs
using Flux: onehotbatch, onecold
export AbstractFluxNLPModel, FluxNLPModel
export reset_minibatch_train!, reset_minibatch_test!
export minibatch_next_train!, minibatch_next_test!
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ using Test
using FluxNLPModels
using CUDA, Flux, NLPModels
using Flux.Data: DataLoader
using Flux: onehotbatch, onecold, @epochs
using Flux: onehotbatch, onecold
using Flux.Losses: logitcrossentropy
using Base: @kwdef
using MLDatasets
Expand Down

0 comments on commit c91b63c

Please sign in to comment.