Skip to content

Commit

Permalink
bumping version to v1.9.9
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed Nov 26, 2019
1 parent df358c3 commit 302f574
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -712,10 +712,9 @@ server.start()

Note that it's basically mirroring the arg-parsing behavior in CLI, so everything in that `.parse_args([])` list should be string, e.g. `['-port', '5555']` not `['-port', 5555]`.

To shutdown the server, you may call the static method in `BertServer` class via with args:
To shutdown the server, you may call the static method in `BertServer` class via:
```python
shut_args = get_shutdown_parser().parse_args(['-ip','localhost','-port','5555','-timeout','5000'])
BertServer.shutdown(shutdown_args)
BertServer.shutdown(port=5555)
```

Or via shell CLI:
Expand Down
2 changes: 1 addition & 1 deletion client/bert_serving/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
__all__ = ['__version__', 'BertClient', 'ConcurrentBertClient']

# in the future client version must match with server version
__version__ = '1.9.8'
__version__ = '1.9.9'

if sys.version_info >= (3, 0):
from ._py3_var import *
Expand Down
2 changes: 1 addition & 1 deletion server/bert_serving/server/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from .zmq_decor import multi_socket

__all__ = ['__version__', 'BertServer']
__version__ = '1.9.8'
__version__ = '1.9.9'

_tf_ver_ = check_tf_version()

Expand Down

0 comments on commit 302f574

Please sign in to comment.