Skip to content

Commit 0943c49

Browse files
authored
Merge pull request #361 from FluxML/compact
Update compact
2 parents cba3bb0 + 53b54c2 commit 0943c49

File tree

6 files changed

+21
-21
lines changed

6 files changed

+21
-21
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
version:
23-
- '1.6'
23+
# - '1.9'
2424
- '1'
2525
- 'nightly'
2626
os:

Project.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ authors = ["Yueh-Hua Tu <a504082002@gmail.com>"]
44
version = "0.13.10"
55

66
[deps]
7-
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
87
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
98
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
109
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
@@ -15,36 +14,37 @@ Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
1514
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1615
MLDatasets = "eb30cadb-4394-5ae3-aed4-317e484a6458"
1716
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
18-
NNlibCUDA = "a00861dc-f156-4864-bf3c-e6376f28a68d"
1917
Optimisers = "3bd65402-5787-11e9-1adc-39752487f4e2"
2018
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
2119
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
20+
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
2221
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
2322
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2423
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
2524
Word2Vec = "c64b6f0f-98cd-51d1-af78-58ae84944834"
2625

2726
[compat]
28-
CUDA = "3, 4"
2927
ChainRulesCore = "1"
3028
DataStructures = "0.18"
31-
FillArrays = "0.13, 1"
32-
Flux = "0.12 - 0.13"
33-
GraphSignals = "0.7 - 0.8"
29+
DelimitedFiles = "1"
30+
FillArrays = "1"
31+
Flux = "0.14"
32+
GraphSignals = "0.9"
3433
Graphs = "1"
3534
MLDatasets = "0.7"
36-
NNlib = "0.8"
37-
NNlibCUDA = "0.2"
38-
Optimisers = "0.2"
35+
NNlib = "0.9"
36+
Optimisers = "0.2, 0.3"
3937
Reexport = "1"
38+
Requires = "1"
4039
StatsBase = "0.33, 0.34"
4140
Word2Vec = "0.5"
42-
julia = "1.6"
41+
julia = "1.9"
4342

4443
[extras]
4544
Clustering = "aaaa29a8-35af-508c-8bc3-b662a17a0fe5"
45+
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
4646
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
4747
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
4848

4949
[targets]
50-
test = ["Clustering", "SparseArrays", "Test"]
50+
test = ["Clustering", "CUDA", "SparseArrays", "Test"]

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ using GeometricFlux
66

77
const ASSETS = ["assets/flux.css", "assets/favicon.ico"]
88

9-
bib = CitationBibliography(joinpath(@__DIR__, "bibliography.bib"), sorting=:nyt)
9+
bib = CitationBibliography(joinpath(@__DIR__, "bibliography.bib"))
1010

1111
DocMeta.setdocmeta!(GeometricFlux, :DocTestSetup, :(using GeometricFlux, GraphSignals, Flux); recursive=true)
1212

src/GeometricFlux.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ using LinearAlgebra
77
using Random
88
using Reexport
99

10-
using CUDA, CUDA.CUSPARSE
1110
using ChainRulesCore
1211
using ChainRulesCore: @non_differentiable
1312
using FillArrays: Fill
1413
using Flux
1514
using Flux: glorot_uniform, leakyrelu, GRUCell, @functor
1615
@reexport using GraphSignals
1716
using Graphs
18-
using NNlib, NNlibCUDA
17+
using NNlib
1918
using Optimisers
2019

2120
import Word2Vec: word2vec, wordvectors, get_vector

test/layers/graph_conv.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@
320320

321321
@testset "GINConv" begin
322322
nn = Flux.Chain(Dense(in_channel, out_channel))
323-
eps = 0.001
323+
eps = T(0.001)
324324
@testset "layer without graph" begin
325325
gc = GINConv(nn, eps)
326326
@test gc.nn == nn

test/runtests.jl

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
using LinearAlgebra
2+
using SparseArrays: SparseMatrixCSC
3+
using Statistics: mean
4+
using Test
5+
16
using GeometricFlux
27
using GeometricFlux.Datasets
38
using Clustering
@@ -7,11 +12,7 @@ using Flux: @functor
712
using FillArrays
813
using GraphSignals
914
using Graphs
10-
using LinearAlgebra
11-
using NNlib, NNlibCUDA
12-
using SparseArrays: SparseMatrixCSC
13-
using Statistics: mean
14-
using Test
15+
using NNlib
1516

1617
cuda_tests = [
1718
"cuda/graph_conv",

0 commit comments

Comments
 (0)