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

Remove tensorflow-text dependency in tf-models-official #11199

Open
jrecasens opened this issue Apr 26, 2024 · 4 comments
Open

Remove tensorflow-text dependency in tf-models-official #11199

jrecasens opened this issue Apr 26, 2024 · 4 comments
Assignees
Labels
models:official models that come under official repository stale type:feature

Comments

@jrecasens
Copy link

jrecasens commented Apr 26, 2024

I am getting an "ERROR: No matching distribution found for tensorflow-text~=2.16.1" when trying to pip install tf-models-official on Windows.

Looks like the maintainers of tensorflow-text stopped providing pre-built python wheels for Windows.

Since tensorflow-text is a library for text related processing operations (for NLP) and some of us are using tf-models-official just for Vision problems (in my case Instance Segmentation with Mask R CNN). Can we just raise a warning if tensorflow-text is not available as dependecy?

@jrecasens jrecasens added models:official models that come under official repository type:feature labels Apr 26, 2024
@laxmareddyp
Copy link
Collaborator

Hi @jrecasens ,

One way to tackle this is by utilizing Colab notebooks or setting up WSL2 on your system, which would enable you to install the mentioned pip packages. Concurrently, we'll explore with our internal team the possibility of removing the tf-text dependency specifically tailored to each operating system. This investigation aims to ascertain whether such a change could potentially cause any disruptions in the packages, given that TF_NLP relies on the tensorflow-text kernels.

Hope this helps.

Thanks.

@laxmareddyp laxmareddyp added the stat:awaiting response Waiting on input from the contributor label May 1, 2024
@laxmareddyp
Copy link
Collaborator

Hi @jrecasens ,

In an upcoming release, we're aiming to create a separate pip package for TensorFlow Official Models (tf-models-official) that won't have TensorFlow Text (TF-Text) as a dependency. This will allow users to install and use tf-models-official(for vision users) on any platform without needing TF-Text specifically.
Thanks

@google-ml-butler google-ml-butler bot removed the stat:awaiting response Waiting on input from the contributor label May 8, 2024
@laxmareddyp laxmareddyp added the stat:awaiting response Waiting on input from the contributor label May 8, 2024
Copy link

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

@github-actions github-actions bot added the stale label May 16, 2024
@laxmareddyp
Copy link
Collaborator

Hi @jrecasens,

we have created a separate pip package for TensorFlow Official Models (tf-models-no-deps 2.16.0) this won't have TensorFlow Text (TF-Text) as a dependency. This will allow users to install and use tf-models-official(for vision users) on any platform without needing TF-Text specifically.
Thanks

@google-ml-butler google-ml-butler bot removed stale stat:awaiting response Waiting on input from the contributor labels May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
models:official models that come under official repository stale type:feature
Projects
None yet
Development

No branches or pull requests

2 participants