model = GCN(10, 10, 10, 10, 5, device='cpu')
print(model)
GCN(
(histories): ModuleList(
(0): History(10, 10, emb_device=cpu, device=cpu)
(1): History(10, 10, emb_device=cpu, device=cpu)
(2): History(10, 10, emb_device=cpu, device=cpu)
(3): History(10, 10, emb_device=cpu, device=cpu)
)
(lins): ModuleList()
(convs): ModuleList(
(0): GCNConv(10, 10)
(1): GCNConv(10, 10)
(2): GCNConv(10, 10)
(3): GCNConv(10, 10)
(4): GCNConv(10, 10)
)
(bns): ModuleList(
(0): BatchNorm1d(10, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
(1): BatchNorm1d(10, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
(2): BatchNorm1d(10, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
(3): BatchNorm1d(10, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
(4): BatchNorm1d(10, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
)
)
but I noticed that there is a process in cuda:0 (I have multiple gpus), which I don't understand why. Is this desirable behavior?
Also, in general, should I always set the device in GCN class as none? I noticed this is what you did in the large_benchmark/main.py.
Hello Matthias,
Thank you very much for the code. Nice work as always.
I was wondering what is the difference between emb_device and device for the History class?
When I initialized a GCN like this
I get
but I noticed that there is a process in cuda:0 (I have multiple gpus), which I don't understand why. Is this desirable behavior?
Also, in general, should I always set the device in GCN class as none? I noticed this is what you did in the large_benchmark/main.py.