Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TorchMeter, MIT license
# TorchMeter, AGPL-3.0 license
# Author: Ahzyuan
# Repo: https://github.com/TorchMeter/torchmeter

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/badge_updater.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TorchMeter, MIT license
# TorchMeter, AGPL-3.0 license
# Author: Ahzyuan
# Repo: https://github.com/TorchMeter/torchmeter

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compatibility_test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TorchMeter, MIT license
# TorchMeter, AGPL-3.0 license
# Author: Ahzyuan
# Repo: https://github.com/TorchMeter/torchmeter

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/minimal_test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TorchMeter, MIT license
# TorchMeter, AGPL-3.0 license
# Author: Ahzyuan
# Repo: https://github.com/TorchMeter/torchmeter

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_autolabel.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TorchMeter, MIT license
# TorchMeter, AGPL-3.0 license
# Author: Ahzyuan
# Repo: https://github.com/TorchMeter/torchmeter

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TorchMeter, MIT license
# TorchMeter, AGPL-3.0 license
# Author: Ahzyuan
# Repo: https://github.com/TorchMeter/torchmeter

Expand Down
662 changes: 657 additions & 5 deletions LICENSE

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a href="https://www.python.org/"><img alt="Python-Badge" src="https://img.shields.io/badge/Python-%3E%3D3.8-white?logo=python&logoColor=%232EA9DF&color=%233776AB"></a>
<a href="https://pytorch.org/"><img alt="Pytorch-Badge" src="https://img.shields.io/badge/Pytorch-%3E%3D1.7.0-white?logo=pytorch&logoColor=%23EB5F36&color=%23EB5F36"></a>
<a href="https://github.com/astral-sh/ruff"><img alt="Ruff-Badge" src="https://img.shields.io/badge/Ruff-Lint_%26_Format-white?logo=ruff&color=%238B70BA"></a>
<a href="https://github.com/TorchMeter/torchmeter/blob/master/LICENSE"><img alt="Static Badge" src="https://img.shields.io/badge/License-MIT-green"></a>
<a href="https://github.com/TorchMeter/torchmeter/blob/master/LICENSE"><img alt="Static Badge" src="https://img.shields.io/badge/License-AGPL--3.0-green"></a>
</p>

<!-- simple introduction -->
Expand Down Expand Up @@ -353,4 +353,4 @@ Thanks again !

## ℱ. 𝐿𝒾𝒸𝑒𝓃𝓈𝑒

`TorchMeter` is released under the **MIT License**, see the [LICENSE](LICENSE) file for the full text. Please carefully review the terms in the [LICENSE](LICENSE) file before using or distributing `TorchMeter`. Ensure compliance with the licensing conditions, especially when integrating this project into larger systems or proprietary software.
`TorchMeter` is released under the **AGPL-3.0 License**, see the [LICENSE](LICENSE) file for the full text. Please carefully review the terms in the [LICENSE](LICENSE) file before using or distributing `TorchMeter`. Ensure compliance with the licensing conditions, especially when integrating this project into larger systems or proprietary software.
2 changes: 1 addition & 1 deletion examples/demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"\n",
"---\n",
"\n",
"- 📜 𝐋𝐢𝐜𝐞𝐧𝐬𝐞: [MIT](https://github.com/TorchMeter/torchmeter/blob/master/LICENSE)\n",
"- 📜 𝐋𝐢𝐜𝐞𝐧𝐬𝐞: [AGPL-3.0](https://github.com/TorchMeter/torchmeter/blob/master/LICENSE)\n",
"- 👨‍🎨 𝐀𝐮𝐭𝐡𝐨𝐫: [Ahzyuan](https://github.com/Ahzyuan)\n",
"- 🎯 𝐑𝐞𝐩𝐨 𝐇𝐨𝐦𝐞: https://github.com/TorchMeter/torchmeter\n",
"- 📦 𝐏𝐲𝐏𝐈: https://pypi.org/project/torchmeter/\n",
Expand Down
2 changes: 1 addition & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TorchMeter, MIT license
# TorchMeter, AGPL-3.0 license
# Author: Ahzyuan
# Repo: https://github.com/TorchMeter/torchmeter

Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TorchMeter, MIT license
# TorchMeter, AGPL-3.0 license
# Author: Ahzyuan
# Repo: https://github.com/TorchMeter/torchmeter

Expand All @@ -16,10 +16,10 @@ long_description_content_type = text/markdown

url = https://github.com/TorchMeter/torchmeter
keywords = pytorch, model, parameter-estimation, model-analysis, inference-throughput, memory-estimation, calculation-estimation
license = MIT
license = AGPL-3.0

classifiers =
License :: OSI Approved :: MIT License
License :: OSI Approved :: GNU Affero General Public License v3
Development Status :: 4 - Beta
Topic :: Software Development :: Libraries :: Python Modules
Programming Language :: Python :: Implementation :: CPython
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python

# TorchMeter, MIT license
# TorchMeter, AGPL-3.0 license
# Author: Ahzyuan
# Repo: https://github.com/TorchMeter/torchmeter

Expand Down
4 changes: 1 addition & 3 deletions torchmeter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Copyright (C) 2024 TorchMeter, Ahzyuan. - All Rights Reserved
# * You may use, distribute and modify this code under the terms of the MIT license.
# * You should have received a copy of the MIT license with this file.
# * If not, please visit https://rem.mit-license.org/ for more information.
# You may use, distribute and modify this code under the terms of the AGPL-3.0 license.

"""
torchmeter 🚀
Expand Down
Loading