Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when to support Tensorflow2.0? #459

Open
4 tasks done
ares5221 opened this issue Oct 9, 2019 · 9 comments
Open
4 tasks done

when to support Tensorflow2.0? #459

ares5221 opened this issue Oct 9, 2019 · 9 comments

Comments

@ares5221
Copy link

ares5221 commented Oct 9, 2019

Prerequisites

Please fill in by replacing [ ] with [x].

System information

Some of this information can be collected via this script.

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
  • TensorFlow installed from (source or binary):
  • TensorFlow version:
  • Python version:
  • bert-as-service version:
  • GPU model and memory:
  • CPU model and memory:

Description

Please replace YOUR_SERVER_ARGS and YOUR_CLIENT_ARGS accordingly. You can also write your own description for reproducing the issue.

I'm using this command to start the server:

bert-serving-start YOUR_SERVER_ARGS

and calling the server via:

bc = BertClient(YOUR_CLIENT_ARGS)
bc.encode()

Then this issue shows up:

...

@ThomasSchoenbeck
Copy link

I am also looking forward to use Tensorflow 2.0 and would like to use it with BAAS.

Since you are testing it right now, what kind of issue are you facing? You have not yet shared any details about that.

@techwithshadab
Copy link

While starting bert server, i got this error:

image

Any idea how to overcome this?

@ares5221
Copy link
Author

While starting bert server, i got this error:

image

Any idea how to overcome this?
this is a usual issue,you can search: start fail or other key word in issues, you can find the way to fix it ,like #467

@sivakumarch
Copy link

any update on support for TF 2.0?

@alidavut
Copy link

After upgrading to TF2 , I'm getting error for server

module 'tensorflow' has no attribute 'logging'

I am assuming this is TF 2 issue.

@owenljn
Copy link

owenljn commented May 28, 2020

Hopefully Bert serving can be compatible with TF-2.0, right now, the workaround for me is to serve the bert model in a different server with TF-1.14

@oakieoaktree
Copy link

Older issue, but is tensorflow>=2.2 support planned?

Seems to come up here and there #580

Downgrade to tensorflow>=1.10 is a fix but unfortunately not possible on python 3.8

@Akila-Ayanthi
Copy link

any update on support for TF 2.0?

@kev216
Copy link

kev216 commented Jul 26, 2021

why not use Tensorflow serving ......^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants