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

Commit adcb3ca

Browse files
committed
v1.4.0
- updated README with deprecation notice - cap pytorch support to 1.9
1 parent ee1e25c commit adcb3ca

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
[![PyPI version](https://badge.fury.io/py/torchprof.svg)](https://pypi.org/project/torchprof/)
44
[![CircleCI](https://circleci.com/gh/awwong1/torchprof.svg?style=svg)](https://circleci.com/gh/awwong1/torchprof)
55

6+
> 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!
7+
68
A minimal dependency library for layer-by-layer profiling of PyTorch models.
79

810
All metrics are derived using the PyTorch autograd profiler.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def find_version(*file_paths):
3434
url="https://github.com/awwong1/torchprof",
3535
packages=setuptools.find_packages(),
3636
license="MIT",
37-
install_requires=["torch>=1.1.0,<2"],
37+
install_requires=["torch>=1.1.0,<1.9"],
3838
classifiers=[
3939
"License :: OSI Approved :: MIT License",
4040
"Operating System :: OS Independent",

torchprof/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
name = "torchprof"
44

55
__all__ = ["Profile"]
6-
__version__ = "1.3.4"
6+
__version__ = "1.4.0"
77

0 commit comments

Comments
 (0)