Lyken17 / pytorch-OpCounter

Count the MACs / FLOPs of your PyTorch model.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does it support torch.einsum for FLOPs?

wztdream opened this issue · comments

Hi,
I use a lot of torch.einsum in my model, does this repo account it's FLOPs?

Unfornately, it is not supported yet. Einsum is a very flexible operation and it is hard to trace the actual computaion details.