niata:

whereas i don’t see an easy solution for that in Sequential


Actually you can disable dropout/batchnorm easily in this as well
model = nn.Sequential(*args)
model.eval()

model.eval() puts the model into evaluation mode which disables dropout and use population statistics for batchnorm