Skip to content

Commit 6209e2d

Browse files
cleanup
1 parent 38949a8 commit 6209e2d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/test_GraphNeuralNetworks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
version:
1717
- '1.10' # Replace this with the minimum Julia version that your package supports.
18-
# - '1' # '1' will automatically expand to the latest stable 1.x release of Julia.
18+
- '1' # '1' will automatically expand to the latest stable 1.x release of Julia.
1919
# - 'pre'
2020
os:
2121
- ubuntu-latest

GraphNeuralNetworks/test/test_module.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,21 @@ end
2323
if get(ENV, "GNN_TEST_AMDGPU", "false") == "true"
2424
Pkg.add("AMDGPU")
2525
using AMDGPU
26+
AMDGPU.allowscalar(false)
2627
end
2728
if get(ENV, "GNN_TEST_Metal", "false") == "true"
2829
Pkg.add("Metal")
2930
using Metal
31+
Metal.allowscalar(false)
3032
end
3133

34+
# from Bse
35+
export mean, randn, SparseArrays, AbstractSparseMatrix
36+
3237
# from other packages
3338
export Flux, gradient, Dense, Chain, relu, random_regular_graph, erdos_renyi,
3439
BatchNorm, LayerNorm, Dropout, Parallel
35-
export mean, randn, SparseArrays, AbstractSparseMatrix
40+
3641
# from this module
3742
export D_IN, D_OUT, GRAPH_TYPES, TEST_GRAPHS,
3843
test_gradients, finitediff_withgradient,

0 commit comments

Comments
 (0)