text icon indicating copy to clipboard operation
text copied to clipboard

Issue with Tensorflow-Text compatibility

Open MahmoudSaberali opened this issue 1 year ago • 4 comments

I am using Pycharm while trying to install Tensorflow all packages installed correctly except for tensorflow-text it automatically install 2.10.0 version while I need to 2.18 to be compatible, When try to install it manually told me that there is no Tensorflow-text 2.18 version I am using Windows 11 Screenshot (96)

MahmoudSaberali avatar Dec 17 '24 00:12 MahmoudSaberali

There are no pre-compiled packages available for Windows; you need to compile from source or use macOS or Linux.

sun1638650145 avatar Dec 18 '24 02:12 sun1638650145

Is this will be available in the future?

MahmoudSaberali avatar Dec 19 '24 05:12 MahmoudSaberali

This mainly depends on whether tensorflow will continue to provide pre-built versions for Windows, as building the text requires tensorflow. Personally, I don't think it will be for a while, because there is WSL (Windows Subsystem for Linux) on Windows.

sun1638650145 avatar Dec 20 '24 03:12 sun1638650145

I struggled to complete the TensorFlow Text Transformer Tutorial due to issues with tensorflow-text.

Potential Solution for macOS x86 (2018) Users:

  1. switch to TensorFlow version 2.16.2 .
  2. clone https://github.com/tensorflow/text.git and switch to the branch 2.16
  3. build by following the instructions TensorFlow Text Installation Guide.

Kaskyi avatar Jan 10 '25 20:01 Kaskyi