You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using HebTTS in Colab, I encountered compatibility issues with NumPy 2.0+. The module that was compiled using NumPy 1.x crashes when run with NumPy 2.0.2 (which is the default in Colab now).
Steps to Reproduce
Clone the HebTTS repository
Install dependencies (note that there is no requirements.txt file)
Try to run the inference script
Observe error related to NumPy version compatibility
Error Message
A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.2 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
Solution
Downgrading NumPy to version 1.x resolves the issue: pip install 'numpy<2'
Suggested Improvements
Add a proper requirements.txt file to the repository to ensure consistent dependency versions
Either lock the NumPy version to <2.0 or update the codebase to support NumPy 2.0+
Consider adding a note in the README about this compatibility issue
This issue affects users running the code in environments with newer NumPy versions (like Google Colab's default setup), and the current workaround requires manual downgrading of NumPy.
The text was updated successfully, but these errors were encountered:
Description
When using HebTTS in Colab, I encountered compatibility issues with NumPy 2.0+. The module that was compiled using NumPy 1.x crashes when run with NumPy 2.0.2 (which is the default in Colab now).
Steps to Reproduce
Error Message
Solution
Downgrading NumPy to version 1.x resolves the issue:
pip install 'numpy<2'
Suggested Improvements
This issue affects users running the code in environments with newer NumPy versions (like Google Colab's default setup), and the current workaround requires manual downgrading of NumPy.
The text was updated successfully, but these errors were encountered: