Skip to content

Commit 98da3f8

Browse files
GNNlib depends on GNNGraphs
1 parent 622d592 commit 98da3f8

File tree

3 files changed

+7
-30
lines changed

3 files changed

+7
-30
lines changed

GNNlib/Project.toml

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,14 @@ authors = ["Carlo Lucibello and contributors"]
44
version = "0.1.0"
55

66
[deps]
7-
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
87
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
98
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
10-
Functors = "d9f16b24-f501-4c13-a1f2-28368ffc5196"
9+
GNNGraphs = "aed8fd31-079b-4b5a-b342-a13352159b8c"
1110
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
12-
KrylovKit = "0b1a1467-8014-51b9-945f-bf0ae24f4b77"
1311
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1412
MLUtils = "f1d291b0-491e-4a28-83b9-f70985020b54"
1513
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
1614
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
17-
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
18-
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1915
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2016

2117
[weakdeps]
@@ -25,36 +21,19 @@ CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
2521
GNNlibCUDAExt = "CUDA"
2622

2723
[compat]
28-
Adapt = "3, 4"
24+
ChainRulesCore = "1.24"
2925
CUDA = "4, 5"
30-
ChainRulesCore = "1"
3126
DataStructures = "0.18"
32-
Functors = "0.4.1"
33-
Graphs = "1.4"
34-
KrylovKit = "0.6, 0.7"
27+
GNNGraphs = "1.0"
3528
LinearAlgebra = "1"
36-
MLDatasets = "0.7"
3729
MLUtils = "0.4"
3830
NNlib = "0.9"
3931
Random = "1"
40-
Reexport = "1"
41-
SparseArrays = "1"
4232
Statistics = "1"
43-
cuDNN = "1"
4433
julia = "1.10"
4534

4635
[extras]
47-
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
48-
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
49-
ChainRulesTestUtils = "cdddcdb0-9152-4a09-a978-84456f9df70a"
50-
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
51-
FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000"
52-
InlineStrings = "842dd82b-1e85-43dc-bf29-5d0ee9dffc48"
53-
MLDatasets = "eb30cadb-4394-5ae3-aed4-317e484a6458"
54-
SimpleWeightedGraphs = "47aef6b3-ad0c-573a-a1e2-d07658019622"
5536
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
56-
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
57-
cuDNN = "02a925ec-e4fe-4b08-9a7e-0d78e3d38ccd"
5837

5938
[targets]
60-
test = ["Test", "Adapt", "DataFrames", "InlineStrings", "SimpleWeightedGraphs", "Zygote", "FiniteDifferences", "ChainRulesTestUtils", "MLDatasets", "CUDA", "cuDNN"]
39+
test = ["Test"]

GNNlib/src/GNNlib.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@ module GNNlib
22

33
using Statistics: mean
44
using LinearAlgebra, Random
5-
using MLUtils
5+
using MLUtils: zeros_like
66
using NNlib
77
using NNlib: scatter, gather
8-
using ChainRulesCore
9-
using SparseArrays, Graphs # not needed but if removed Documenter will complain
108
using DataStructures: nlargest
11-
using Reexport: @reexport
9+
using ChainRulesCore: @non_differentiable
1210
using GNNGraphs
1311
using .GNNGraphs: COO_T, ADJMAT_T, SPARSE_T,
1412
check_num_nodes, check_num_edges,

GNNlib/src/layers/conv.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ function gatv2_message(l, Wxi, Wxj, e)
199199
end
200200

201201

202-
# TODO remove after https://github.com/JuliaDiff/ChainRules.jl/pull/521
202+
# TODO PIRACY! remove after https://github.com/JuliaDiff/ChainRules.jl/pull/521
203203
@non_differentiable fill!(x...)
204204

205205
function gated_graph_conv(l, g::GNNGraph, H::AbstractMatrix{S}) where {S <: Real}

0 commit comments

Comments
 (0)