Pin jax and jaxlib to fix tensorflowjs exports (#6988)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Laughing 2023-12-15 01:35:45 +08:00 committed by GitHub
parent 765b98f44e
commit d6be91d786
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View file

@ -81,6 +81,8 @@ setup(
'coremltools>=7.0',
'openvino-dev>=2023.0',
'tensorflow<=2.13.1', # TF bug https://github.com/ultralytics/ultralytics/issues/5161
'jax<=0.4.21', # tensorflowjs bug https://github.com/google/jax/issues/18978
'jaxlib<=0.4.21', # tensorflowjs bug https://github.com/google/jax/issues/18978
'tensorflowjs', # automatically installs tensorflow
], },
classifiers=[