Skip to content

Commit 2796aac

Browse files
authored
Merge branch 'master' into master
2 parents a5afde4 + f3021ba commit 2796aac

File tree

9 files changed

+38
-32
lines changed

9 files changed

+38
-32
lines changed

.github/workflows/Downstream.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ jobs:
3030
- {user: SciML, repo: OperatorLearning.jl, group: All}
3131
if: contains(github.event.pull_request.labels.*.name, 'run downstream test')
3232
steps:
33-
- uses: actions/checkout@v4.1.5
33+
- uses: actions/checkout@v4.1.7
3434
- uses: julia-actions/setup-julia@v2
3535
with:
3636
version: ${{ matrix.julia-version }}
3737
arch: x64
3838
- uses: julia-actions/julia-buildpkg@latest
3939
- name: Clone Downstream
40-
uses: actions/checkout@v4.1.5
40+
uses: actions/checkout@v4.1.7
4141
with:
4242
repository: ${{ matrix.package.user }}/${{ matrix.package.repo }}
4343
path: downstream

.github/workflows/JuliaFormatter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-20.04
1616
timeout-minutes: 30
1717
steps:
18-
- uses: actions/checkout@v4.1.5
18+
- uses: actions/checkout@v4.1.7
1919

2020
- uses: dorny/paths-filter@v3.0.2
2121
id: filter

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
version: '1'
3030
arch: x64
3131
steps:
32-
- uses: actions/checkout@v4.1.5
32+
- uses: actions/checkout@v4.1.7
3333
- uses: julia-actions/setup-julia@v2
3434
with:
3535
version: ${{ matrix.version }}
@@ -65,7 +65,7 @@ jobs:
6565
name: Documentation
6666
runs-on: ubuntu-latest
6767
steps:
68-
- uses: actions/checkout@v4.1.5
68+
- uses: actions/checkout@v4.1.7
6969
- uses: julia-actions/setup-julia@v2
7070
with:
7171
version: '1'

.github/workflows/clean_preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout gh-pages branch
13-
uses: actions/checkout@v4.1.5
13+
uses: actions/checkout@v4.1.7
1414
with:
1515
ref: gh-pages
1616
- name: Delete preview and history + push changes

.github/workflows/fluxbot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
julia-arch: [x86]
1515
os: [ubuntu-latest]
1616
steps:
17-
- uses: actions/checkout@v4.1.5 # v1.0.0
17+
- uses: actions/checkout@v4.1.7 # v1.0.0
1818
- uses: julia-actions/setup-julia@v2
1919
with:
2020
version: ${{ matrix.julia-version }}

.github/workflows/nightly-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
os: [ubuntu-latest]
2121
arch: [x64]
2222
steps:
23-
- uses: actions/checkout@v4.1.5
23+
- uses: actions/checkout@v4.1.7
2424
- uses: julia-actions/setup-julia@v2
2525
with:
2626
version: ${{ matrix.version }}

Project.toml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,11 @@ FluxCUDAcuDNNExt = ["CUDA", "cuDNN"]
3636
FluxMetalExt = "Metal"
3737

3838
[compat]
39-
AMDGPU = "0.7, 0.8"
39+
AMDGPU = "0.9.3"
4040
Adapt = "3, 4"
4141
CUDA = "4, 5"
4242
ChainRulesCore = "1.12"
4343
Compat = "4.10.0"
44-
Enzyme = "0.12.4"
45-
FiniteDifferences = "0.12"
4644
Functors = "0.4"
4745
MLUtils = "0.4"
4846
MacroTools = "0.5"
@@ -55,27 +53,6 @@ ProgressLogging = "0.1"
5553
Reexport = "1.0"
5654
SpecialFunctions = "2.1.2"
5755
Statistics = "1"
58-
Tracker = "0.2.33"
5956
Zygote = "0.6.67"
6057
cuDNN = "1"
6158
julia = "1.9"
62-
63-
[extras]
64-
AMDGPU = "21141c5a-9bdb-4563-92ae-f87d6854732e"
65-
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0"
66-
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
67-
ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
68-
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
69-
Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9"
70-
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
71-
FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000"
72-
IterTools = "c8e1da08-722c-5040-9ed9-7db0dc04731e"
73-
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
74-
Metal = "dde4c033-4e86-420c-a63e-0dd931031962"
75-
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
76-
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
77-
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
78-
cuDNN = "02a925ec-e4fe-4b08-9a7e-0d78e3d38ccd"
79-
80-
[targets]
81-
test = ["Test", "Documenter", "IterTools", "LinearAlgebra", "FillArrays", "ComponentArrays", "BSON", "Pkg", "CUDA", "cuDNN", "Metal", "AMDGPU", "Enzyme", "FiniteDifferences", "Tracker"]

test/Project.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[deps]
2+
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0"
3+
ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
4+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
5+
Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9"
6+
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
7+
FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000"
8+
Functors = "d9f16b24-f501-4c13-a1f2-28368ffc5196"
9+
IterTools = "c8e1da08-722c-5040-9ed9-7db0dc04731e"
10+
MLUtils = "f1d291b0-491e-4a28-83b9-f70985020b54"
11+
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
12+
Optimisers = "3bd65402-5787-11e9-1adc-39752487f4e2"
13+
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
14+
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
15+
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
16+
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
17+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
18+
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
19+
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
20+
21+
[compat]
22+
FiniteDifferences = "0.12"
23+
Tracker = "0.2.33"
24+
Enzyme = "0.12.4"

test/runtests.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ using Test
55
using Random, Statistics, LinearAlgebra
66
using IterTools: ncycle
77
using Zygote
8+
using Pkg
89

910
# ENV["FLUX_TEST_AMDGPU"] = "true"
1011
# ENV["FLUX_TEST_CUDA"] = "true"
@@ -73,6 +74,7 @@ Random.seed!(0)
7374
end
7475

7576
if get(ENV, "FLUX_TEST_CUDA", "false") == "true"
77+
Pkg.add(["CUDA", "cuDNN"])
7678
using CUDA, cuDNN
7779
Flux.gpu_backend!("CUDA")
7880

@@ -88,6 +90,7 @@ Random.seed!(0)
8890
end
8991

9092
if get(ENV, "FLUX_TEST_AMDGPU", "false") == "true"
93+
Pkg.add("AMDGPU")
9194
using AMDGPU
9295
Flux.gpu_backend!("AMDGPU")
9396

@@ -103,6 +106,7 @@ Random.seed!(0)
103106
end
104107

105108
if get(ENV, "FLUX_TEST_METAL", "false") == "true"
109+
Pkg.add("Metal")
106110
using Metal
107111
Flux.gpu_backend!("Metal")
108112

@@ -118,6 +122,7 @@ Random.seed!(0)
118122
end
119123

120124
@testset "Enzyme" begin
125+
Pkg.add(["CUDA", "cuDNN"])
121126
import Enzyme
122127
include("ext_enzyme/enzyme.jl")
123128
end

0 commit comments

Comments
 (0)