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)
PythonMIT
Issues
- 1
- 1
Can this support StableDiffusion?
#23 opened by sunzhe09 - 3
Library `diffusers` is not supported yet
#12 opened by XianweiC - 1
RuntimeError: A view was created in no_grad mode and is being modified inplace with grad mode enabled. Given that this use case is ambiguous and error-prone, it is forbidden. You can clarify your code by moving both the view and the inplace either both inside the no_grad block (if you don't want the inplace to be tracked) or both outside (if you want the inplace to be tracked).
#44 opened by JokeQ666 - 1
Why the unit of fwd FLOPs is FLOPS?
#16 opened by Fibonacci43 - 0
- 2
Ran the example code but got wrong results
#42 opened by nameongithub - 1
AttributeError: 'list' object has no attribute 'shape' in function _einsum_flops_compute()
#40 opened by Necolizer - 2
- 5
- 1
gated models do not work
#31 opened by mohbay - 0
How to test models deployed on multiple GPUs?
#39 opened by May2064 - 0
- 1
Flops for GNN
#37 opened by ritamartinspereira - 0
- 0
Add support of non-linear operations
#34 opened by Ther-nullptr - 0
MACs for ConvTranspose2d
#33 opened by qiuzidian - 0
How to calculate the FLOPs when the model has some freezed variables, or using LoRA?
#30 opened by Ledzy - 1
What is the difference between the 'forward' mode and the 'generate' mode?
#20 opened by AboveParadise - 0
On the calculation of FLOPs for SAM/MobileSAM
#29 opened by BeliverK - 1
评价Gemma的时候参数量为0
#28 opened by JackeyWang777 - 1
Why is the proportion of FLOPs in each submodule always half of the proportion of MACS
#7 opened by wulinunu - 2
- 1
Please make a CITATION file
#19 opened by Livioni - 1
Cannot calculate EfficientNet
#11 opened by QingyuLiu - 1
Library `gpt-neox` is not supported yet
#18 opened by melisa-writer - 1
flops percent wrong
#24 opened by Lix1993 - 1
- 0
- 0
- 1
error with the example code
#14 opened by tranlm - 2
访存量的计算
#10 opened by Amanda-Barbara - 0
about 3D object detection
#13 opened by ouyangziyao - 4
- 2
- 1
why I can not find transformers.modeling_outputs,Can you tell me your vision of transformers
#9 opened by kingofengineer - 1
why seq_len of llm is 128?
#8 opened by LinglingGreat - 1
- 3
ImportError at 'from calflops import calculate_flops': cannot import name 'is_timm_available' from 'accelerate.utils'
#2 opened by biplob1ly - 1
给的示例无法运行
#3 opened by Arcmoon-Hu