keras-team / keras-nlp

Modular Natural Language Processing workflows with Keras
Apache License 2.0
734 stars 216 forks source link

Improve error handling for missing TensorFlow dependency in keras_nlp. #1585

Closed SamanehSaadat closed 2 months ago

SamanehSaadat commented 2 months ago

This PR addresses this issue: user doesn't have tensorflow installed and doesn't expect to get error as they're using pytorch backend.

SamanehSaadat commented 2 months ago

The test failures are not related to this PR and the fix is on the way in #1593.

turgut090 commented 2 months ago

Installing keras-nlp can be quite challenging, especially for Windows users. To improve the experience, it's crucial to include precise steps and OS requirements in the readme section. Since TensorFlow text doesn't function on Windows, it's essential to address this issue upfront.