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
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
Based on vulnerabilities in the numpy library, we need to update the support versions of numpy.
I am current working on a PR to update numpy (which requires Python and other dependencies to be upgraded as well.)
Current Status:
The following tests are failing in CI and need code updates or tests updated to work with newer numpy versions:
midpoint
test case, increasing tolerances passes test, see 13d9ae0midpoint
test case, increasing tolerances passes test, see 13d9ae0Details:
We currently pin down numpy versions in our setup.py script:
master:
numpy<2.0.0,>1.16.0
(see https://github.com/apache/incubator-mxnet/blob/master/tools/pip/setup.py#L62)v1.9.x:
numpy<2.0.0,>1.16.0
(see https://github.com/apache/incubator-mxnet/blob/v1.9.x/tools/pip/setup.py#L63)Our CI system, however, pins down specific versions:
master:
numpy>=1.17,<1.20.0
(see https://github.com/apache/incubator-mxnet/blob/master/ci/docker/install/requirements#L22)v1.9.x:
numpy>1.16.0,<1.19.0
(see https://github.com/apache/incubator-mxnet/blob/v1.9.x/ci/docker/install/requirements#L29)The are vulnerabilities reported in numpy versions currently used in our CI system.
https://nvd.nist.gov/vuln/detail/CVE-2021-41495
https://nvd.nist.gov/vuln/detail/CVE-2021-41496
When attempting to upgrade the version of numpy (and scipy), the following tests are failing:
centos-cpu pipeline failing tests (example: https://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fcentos-cpu/detail/PR-20872/3/pipeline):
windows-cpu pipeline failing tests (example https://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fwindows-cpu/detail/PR-20872/3/pipeline):
unix-cpu pipeline failing tests (example: https://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-cpu/detail/PR-20872/3/pipeline/310)
These tests are failing, which are scipy-related, as discussed in #20389. Pinning down the scipy version makes these tests pass:
The text was updated successfully, but these errors were encountered: