Skip to content

Commit

Permalink
Make it compatible with Adapt 4 and Metal 1
Browse files Browse the repository at this point in the history
  • Loading branch information
joelreymont committed Feb 28, 2024
1 parent f574ecb commit d9146a5
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 16 deletions.
13 changes: 8 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name = "ReinforcementLearning"
uuid = "158674fc-8238-5cab-b5ba-03dfc80d1318"
authors = ["Johanni Brea <[email protected]>", "Jun Tian <[email protected]>"]
authors = [
"Johanni Brea <[email protected]>",
"Jun Tian <[email protected]>",
]
version = "0.11.0-dev"

[deps]
Expand All @@ -15,10 +18,10 @@ ReinforcementLearningZoo = "d607f57d-ee1e-4ba7-bcf2-7734c1e31854"
[compat]
Reexport = "0.2, 1"
julia = "1.6"
ReinforcementLearningBase = "0.11"
ReinforcementLearningCore = "0.9"
ReinforcementLearningEnvironments = "0.7"
ReinforcementLearningZoo = "0.6"
ReinforcementLearningBase = "0.12"
ReinforcementLearningCore = "0.15"
ReinforcementLearningEnvironments = "0.8"
ReinforcementLearningZoo = "0.10"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
4 changes: 2 additions & 2 deletions src/ReinforcementLearningCore/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ cuDNN = "02a925ec-e4fe-4b08-9a7e-0d78e3d38ccd"

[compat]
AbstractTrees = "0.3, 0.4"
Adapt = "3"
Adapt = "3, 4"
CUDA = "4, 5"
ChainRulesCore = "1"
CircularArrayBuffers = "0.1"
Expand All @@ -38,7 +38,7 @@ Distributions = "0.25"
FillArrays = "0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 1"
Flux = "0.13, 0.14"
Functors = "0.1, 0.2, 0.3, 0.4"
GPUArrays = "8, 9"
GPUArrays = "8, 9, 10"
ProgressMeter = "1"
Reexport = "1"
ReinforcementLearningBase = "0.12"
Expand Down
15 changes: 8 additions & 7 deletions src/ReinforcementLearningDatasets/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,25 @@ ReinforcementLearningEnvironments = "25e41dd2-4622-11e9-1641-f1adca772921"
Setfield = "efcf1570-3423-57d1-acb7-fd33fddbac46"
TFRecord = "841416d8-1a6a-485a-b0fc-1328d0f53d5e"
UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"
cuDNN = "02a925ec-e4fe-4b08-9a7e-0d78e3d38ccd"

[compat]
CodecZlib = "0.7"
DataDeps = "0.7"
Flux = "0.13, 0.14"
HDF5 = "0.15"
HDF5 = "0.15, 0.17"
ImageCore = "0.9"
NPZ = "0.4"
PNGFiles = "0.3"
Pickle = "0.2"
Pickle = "0.3"
Pipe = "1.3"
ProgressMeter = "1.7"
PyCall = "1.92"
ReinforcementLearningBase = "0.9"
ReinforcementLearningEnvironments = "0.6.3"
Setfield = "0.7"
TFRecord = "0.3"
UnicodePlots = "1.3"
ReinforcementLearningBase = "0.12"
ReinforcementLearningEnvironments = "0.8"
Setfield = "0.7, 1"
TFRecord = "0.4"
UnicodePlots = "1.3, 3"
julia = "1.6"

[extras]
Expand Down
14 changes: 13 additions & 1 deletion src/ReinforcementLearningEnvironments/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,16 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"

[targets]
test = ["ArcadeLearningEnvironment", "Conda", "DomainSets", "OpenSpiel", "OrdinaryDiffEq", "PyCall", "ReinforcementLearningCore", "StableRNGs", "Statistics", "Test", "TimerOutputs"]
test = [
"ArcadeLearningEnvironment",
"Conda",
"DomainSets",
"OpenSpiel",
"OrdinaryDiffEq",
"PyCall",
"ReinforcementLearningCore",
"StableRNGs",
"Statistics",
"Test",
"TimerOutputs",
]
2 changes: 1 addition & 1 deletion src/ReinforcementLearningZoo/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ LogExpFunctions = "0.3"
NNlib = "0.8, 0.9"
Optim = "1"
ReinforcementLearningBase = "0.12"
ReinforcementLearningCore = "0.15.1"
ReinforcementLearningCore = "0.15"
StatsBase = "0.33, 0.34"
Zygote = "0.6"
cuDNN = "1"
Expand Down

0 comments on commit d9146a5

Please sign in to comment.