diff --git a/python/paddle_serving_app/version.py b/python/paddle_serving_app/version.py index 80f647be56d09740adfb9d68dd47bb0b1fa2c985..766bf4e397e46153193b1e3cac6fed5323241c45 100644 --- a/python/paddle_serving_app/version.py +++ b/python/paddle_serving_app/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. """ Paddle Serving App version string """ -serving_app_version = "0.0.1" +serving_app_version = "0.0.3" diff --git a/python/paddle_serving_client/__init__.py b/python/paddle_serving_client/__init__.py index 3380934931d5872afca81934724f72614bb64a13..09d3a7e2a72d871d0b6015747150bd27be6cde27 100644 --- a/python/paddle_serving_client/__init__.py +++ b/python/paddle_serving_client/__init__.py @@ -125,7 +125,11 @@ class Client(object): lib_path = os.path.dirname(paddle_serving_client.__file__) client_path = os.path.join(lib_path, 'serving_client.so') lib_path = os.path.join(lib_path, 'lib') - os.system('patchelf --set-rpath {} {}'.format(lib_path, client_path)) + ld_path = os.getenv('LD_LIBRARY_PATH') + if ld_path == None: + os.environ['LD_LIBRARY_PATH'] = lib_path + elif ld_path not in lib_path: + os.environ['LD_LIBRARY_PATH'] = ld_path + ':' + lib_path def load_client_config(self, path): from .serving_client import PredictorClient diff --git a/python/paddle_serving_client/version.py b/python/paddle_serving_client/version.py index 99322ee8280a66a54371b296905d54f0766b016d..4870767dfcb95f9502dfa5880a85b1c11c62964f 100644 --- a/python/paddle_serving_client/version.py +++ b/python/paddle_serving_client/version.py @@ -12,6 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. """ Paddle Serving Client version string """ -serving_client_version = "0.2.0" -serving_server_version = "0.2.0" -module_proto_version = "0.2.0" +serving_client_version = "0.2.2" +serving_server_version = "0.2.2" +module_proto_version = "0.2.2" diff --git a/python/paddle_serving_server/version.py b/python/paddle_serving_server/version.py index 99322ee8280a66a54371b296905d54f0766b016d..4870767dfcb95f9502dfa5880a85b1c11c62964f 100644 --- a/python/paddle_serving_server/version.py +++ b/python/paddle_serving_server/version.py @@ -12,6 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. """ Paddle Serving Client version string """ -serving_client_version = "0.2.0" -serving_server_version = "0.2.0" -module_proto_version = "0.2.0" +serving_client_version = "0.2.2" +serving_server_version = "0.2.2" +module_proto_version = "0.2.2" diff --git a/python/paddle_serving_server_gpu/version.py b/python/paddle_serving_server_gpu/version.py index 99322ee8280a66a54371b296905d54f0766b016d..4870767dfcb95f9502dfa5880a85b1c11c62964f 100644 --- a/python/paddle_serving_server_gpu/version.py +++ b/python/paddle_serving_server_gpu/version.py @@ -12,6 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. """ Paddle Serving Client version string """ -serving_client_version = "0.2.0" -serving_server_version = "0.2.0" -module_proto_version = "0.2.0" +serving_client_version = "0.2.2" +serving_server_version = "0.2.2" +module_proto_version = "0.2.2"