in_channels and out_channels should be both divisible by groups.
If your code is working fine in PyTorch, I’m a bit confused if glow adds some other checks to the transposed convolutions.
Did you narrow it down to a nn.ConvTranpose2d layer, which creates the issue in the export?