Closed yangpc615 closed 5 years ago
Must be the network of the sequence structure?
model = cast(nn.Sequential, model) model = GPipe(model, balance, devices=devices, chunks=chunks)
torchgpipe supports only nn.Sequential modules. Users have a responsibility to design a module fitting into nn.Sequential.
nn.Sequential
OK, Thank you.
Must be the network of the sequence structure?
model = cast(nn.Sequential, model) model = GPipe(model, balance, devices=devices, chunks=chunks)