LambdaNetworks icon indicating copy to clipboard operation
LambdaNetworks copied to clipboard

Wall-clock performance issues

Open verbose-void opened this issue 3 years ago • 2 comments

LambdaResNet50 in comparison to a normal ResNet50 from my testing is 7x slower. I am training on ImageNet, and I am comparing your LambdaResNet50 to a torch.hub ResNet50.

Is this to be expected?

verbose-void avatar Nov 12 '20 07:11 verbose-void

Perhaps the torch.einsum computation time is too slow. I will find another way to reduce the computation time.

Thanks

leaderj1001 avatar Nov 16 '20 07:11 leaderj1001

yeah, that was the conclusion i came to as well. it's significantly faster than torch's einops still.

verbose-void avatar Nov 16 '20 07:11 verbose-void