issues
search
MrYxJ
/
calculate-flops.pytorch
The calflops is designed to calculate FLOPs、MACs and Parameters in all various neural networks, such as Linear、 CNN、 RNN、 GCN、Transformer(Bert、LlaMA etc Large Language Model)
https://pypi.org/project/calflops/
MIT License
587
stars
21
forks
source link
大模型微调
#1
Closed
Pobby321
closed
1 year ago
Pobby321
commented
1 year ago
可以计算大模型微调时候的flops嘛
MrYxJ
commented
1 year ago
可以通过设置与微调时一致的batch_size计算FLOPs。
可以计算大模型微调时候的flops嘛