Open ChuniHiro opened 1 year ago
Could you please share some suggestions on FLOPs counting for the converted model?
I have tried: thop : https://github.com/Lyken17/pytorch-OpCounter flop-counter : https://github.com/sovrasov/flops-counter.pytorch pthflops: https://github.com/1adrianb/pytorch-estimate-flops torchprofile: https://github.com/zhijian-liu/torchprofile deepspeed: https://www.deepspeed.ai/tutorials/flops-profiler/
Seems non of them support the calculations of the converted models, any advice will be highly appreciated, thanks!
Hi! I am not really sure about this, I think that any tool working with pytorch should work. What are the errors you are getting?
Could you please share some suggestions on FLOPs counting for the converted model?
I have tried: thop : https://github.com/Lyken17/pytorch-OpCounter flop-counter : https://github.com/sovrasov/flops-counter.pytorch pthflops: https://github.com/1adrianb/pytorch-estimate-flops torchprofile: https://github.com/zhijian-liu/torchprofile deepspeed: https://www.deepspeed.ai/tutorials/flops-profiler/
Seems non of them support the calculations of the converted models, any advice will be highly appreciated, thanks!