{"library":"calflops","type":"library","category":null,"description":"CalFlops is a PyTorch-based FLOPs, MACs, and parameter counter for neural networks including CNNs, RNNs, GCNs, and Transformers (e.g., BERT, LLaMA). Version 0.3.2 supports custom models. Released as needed on GitHub.","language":"python","status":"active","version":"0.3.2","tags":["flops","macs","parameters","pytorch","model-analysis"],"last_verified":"Mon Apr 27","install":[{"cmd":"pip install calflops","imports":["from calflops import calculate_flops","from calflops import FlopsCounter"]}],"homepage":null,"github":"https://github.com/MrYxJ/calculate-flops.pytorch","docs":null,"changelog":null,"pypi":"https://pypi.org/project/calflops/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}