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
508 stars 16 forks source link

gated models do not work #31

Open mohbay opened 3 months ago

mohbay commented 3 months ago

Hi, This is a very useful application, but it does not work with gated models, I tried using huggingface-cli login and also logging in from python, but still gated models do not work and tell me to login. Even the huggingface app does not work and gives me similar errors. I tried with "mistralai/Mistral-7B-v0.3" after ensuring access to the model and nothing worked. Thanks a lot.

sorenchiron commented 2 weeks ago

same issue +1