-
-
I was trying to calculate the flops of InstructPix2Pix from huggingface using the method described in the README, but I got this error:
```
ValueError: Library `diffusers` is not supported yet, pl…
-
Very excellent work, but we would like to further evaluate the efficacy of the model.
How do we test the FLOPs of the model?
-
请问一下pytorch版本的flops怎么计算?感谢!!
-
` Preparing metadata (setup.py) ... done
Requirement already satisfied: torch in e:\tools\anaconda\envs\changemamba\lib\site-packages (from selective_scan==0.0.2) (2.4.1+cu124)
Requirement already …
-
请问RT-DETR在测试速度时,是否包括后处理过程
```python
results = postprocessors(outputs, orig_target_sizes)
```
-
lamaForCausalLM(
8.03 B = 100% Params, 30.74 TMACs = 100% MACs, 61.48 TFLOPS = 50% FLOPs
should be 100%,but result is 50%
-
请问我使用了如下代码测试resnet50
```
from calflops import calculate_flops
from torchvision import models
model = models.resnet50()
calculate_flops(model, input_shape=(1, 3, 224, 224))
```
输出的第一行 `25.…
-
I am trying to run:
```python
from calflops import calculate_flops_hf
model_name = "EleutherAI/pythia-70m"
batch_size = 1
max_seq_length = 10
flops, macs, params = calculate_flops_hf(model…
-
I tried to calculate the FLOPs of EfficientNet, but there were some errors. Can you help me?
`
File "/.conda/envs/test/lib/python3.8/site-packages/calflops/pytorch_ops.py", line 361, in newFunc
…