Skip to content

Commit 370bb55

Browse files
committed
release v1.9
1 parent c2a8e73 commit 370bb55

File tree

5 files changed

+18
-7
lines changed

5 files changed

+18
-7
lines changed

HISTORY.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
History
22
=======
3+
1.9 (2019-10-04)
4+
-----------------
5+
* Use new JIT backend for pytorch. This works better with pytorch 1.2 and 1.3
6+
* Supports hparams plugin
7+
* add_embedding now supports numpy array input
8+
39
1.8 (2019-07-05)
410
-----------------
511
* Draw label text on image with bounding box provided.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Write TensorBoard events with simple function call.
1111
* Support `scalar`, `image`, `figure`, `histogram`, `audio`, `text`, `graph`, `onnx_graph`, `embedding`, `pr_curve`, `mesh`, `hyper-parameters`
1212
and `video` summaries.
1313

14-
* requirement for `demo_graph.py` is tensorboardX>=1.6 and pytorch>=1.1
14+
* requirement for `demo_graph.py` is tensorboardX>=1.9 and pytorch>=1.2
1515

1616
* [FAQ](https://github.com/lanpa/tensorboardX/wiki)
1717

run_pytest.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pip install pytest boto3 moto onnx tensorboard matplotlib
2+
3+
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python pytest
4+

setup.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def run(self):
3131
history = history_file.read()
3232

3333
preparing_PyPI_package = False
34-
version_git = version = '1.8'
34+
version_git = version = '1.9'
3535

3636
if not preparing_PyPI_package:
3737
if os.path.exists('.git'):
@@ -88,10 +88,11 @@ def run(self):
8888

8989

9090
# checklist: update History.rst readme.md
91-
# change preparing_PyPI_package to True
92-
# remove __version__ = "1.old" in __init__.py
93-
# commit
94-
# add tag
91+
# change preparing_PyPI_package to True, and version_git
92+
# remove __version__ = "1.old" in __init__.py, update the version number
9593
# python setup.py sdist bdist_wheel --universal
94+
# check the generated tar.gz file
95+
# git commit -m 'prepare for release'
96+
# add tag
9697
# twine upload dist/*
9798
# push commit

tensorboardX/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
from .torchvis import TorchVis
66
from .writer import FileWriter, SummaryWriter
77

8-
__version__ = "1.8" # will be overwritten if run setup.py
8+
__version__ = "1.9" # will be overwritten if run setup.py

0 commit comments

Comments
 (0)