calflops

View on PyPIReverse Dependencies (0)

0.2.9 calflops-0.2.9-py3-none-any.whl

Wheel Details

Project: calflops
Version: 0.2.9
Filename: calflops-0.2.9-py3-none-any.whl
Download: [link]
Size: 30450
MD5: 5990f6247fc8e36ceb9e22625ef1401b
SHA256: 8fba715ce4b331f0d2a482049e662e844dc762ca6e0572b44cd4e34bc24e658d
Uploaded: 2023-09-13 08:38:49 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: calflops
Version: 0.2.9
Summary: This package is designed to compute the theoretical amount of FLOPs(floating-point operations)、MACs(multiply-add operations) and Parameters in all various neural networks, such as Linear、 CNN、 RNN、 GCN、Transformer(Bert、LlaMA etc Large Language Model),including any custom models via torch.nn.function.* as long as based on the Pytorch implementation.
Author-Email: MrYXJ <yxj2017[at]gmail.com>
Project-Url: Homepage, https://github.com/MrYxJ/calculate-flops.pytorch
License: MIT License Copyright (c) [2023] [MrYXJ] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.6
Requires-Dist: accelerate (>=0.22.0)
Requires-Dist: huggingface-hub (>=0.16.4)
Requires-Dist: torch (>=1.1.0)
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 26782 characters]

WHEEL

Wheel-Version: 1.0
Generator: hatchling 1.18.0
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
calflops/.DS_Store sha256=GMd7rem9pBMzD5BBjyjmluX5OkB2u3VdZnzIKcgQ1sc 6148
calflops/__init__.py sha256=Bci0QFnugvgne4N8tiHohq4l_iKm6I1HRD5O1dsviks 665
calflops/calculate_pipline.py sha256=kybOj8b8w_dc0sGAKq1uDinCIRR-gTArD00tOVEyycU 18139
calflops/estimate.py sha256=4y9YzV4nhUm05fgQfOq3w_LTMc95-Nun_EHZFVHbLSs 10585
calflops/flops_counter.py sha256=R47HQeBsQxtjAaE05bxBZgn8bmXXjGm1OjITBsz15EM 9500
calflops/flops_counter_hf.py sha256=qFJM72aiu72Jgffvj8xWiL7XnvDBR4TlmSx7Fu82Ccc 7431
calflops/pytorch_ops.py sha256=IQLQcGuGUYfUL9VE3Nm68NMW--l2CSVDM-OXzQrYP74 22734
calflops/utils.py sha256=8ae0rHbaCkxgAsC0h4-gDoLrC8OkooPLYg59ryKNkHU 12095
calflops-0.2.9.dist-info/METADATA sha256=HFS08yuRFQCUQxKGfbFL5OgfFJnSzzBhV36O5Ye8JPw 28926
calflops-0.2.9.dist-info/WHEEL sha256=9QBuHhg6FNW7lppboF2vKVbCGTVzsFykgRQjjlajrhA 87
calflops-0.2.9.dist-info/licenses/LICENSE sha256=BthwU49w2jhBKZ05VqcPun46N6lBd-YwzZqCNzoxThA 1066
calflops-0.2.9.dist-info/RECORD