Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

Commit

Permalink
v1.4.0
Browse files Browse the repository at this point in the history
- updated README with deprecation notice
- cap pytorch support to 1.9
  • Loading branch information
awwong1 committed May 23, 2021
1 parent ee1e25c commit adcb3ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
[![PyPI version](https://badge.fury.io/py/torchprof.svg)](https://pypi.org/project/torchprof/)
[![CircleCI](https://circleci.com/gh/awwong1/torchprof.svg?style=svg)](https://circleci.com/gh/awwong1/torchprof)

> Attention! [This library is deprecated due to the PyTorch 1.9 changes to the torch profiler. Please use the official profiler.](https://pytorch.org/docs/1.9.0/profiler.html?highlight=profiler#module-torch.profiler) Thank you!
A minimal dependency library for layer-by-layer profiling of PyTorch models.

All metrics are derived using the PyTorch autograd profiler.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def find_version(*file_paths):
url="https://github.com/awwong1/torchprof",
packages=setuptools.find_packages(),
license="MIT",
install_requires=["torch>=1.1.0,<2"],
install_requires=["torch>=1.1.0,<1.9"],
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
Expand Down
2 changes: 1 addition & 1 deletion torchprof/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name = "torchprof"

__all__ = ["Profile"]
__version__ = "1.3.4"
__version__ = "1.4.0"

0 comments on commit adcb3ca

Please sign in to comment.