diff --git a/python/paddle_serving_client/__init__.py b/python/paddle_serving_client/__init__.py index e0adc6e3cbe629d39a0293ba0e362d5115cf4d21..db1083a9f8cf11719ae00888a6b608e43b2e03b6 100644 --- a/python/paddle_serving_client/__init__.py +++ b/python/paddle_serving_client/__init__.py @@ -18,7 +18,6 @@ import os from .proto import sdk_configure_pb2 as sdk from .proto import general_model_config_pb2 as m_config import google.protobuf.text_format -import time import sys int_type = 0 @@ -156,8 +155,7 @@ class Client(object): ) else: if self.predictor_sdk_ is None: - timestamp = time.time() - self.add_variant('default_tag_{}'.format(timestamp), endpoints, + self.add_variant('default_tag_{}'.format(id(self)), endpoints, 100) else: print(