onnxruntime/tools/ci_build/github/linux/docker
Changming Sun d1ab94c2b0
Add compatibility for NumPy 2.0 (#21085)
### Description

As suggested by SciPy's doc, we will
`Build against NumPy 2.0.0, then it will work for all NumPy versions
with the same major version number (NumPy does maintain backwards ABI
compatibility), and as far back as NumPy 1.19 series at the time of
writing`

I think it works because in
[numpyconfig.h#L64](https://github.com/numpy/numpy/blob/main/numpy/_core/include/numpy/numpyconfig.h#L64)
there is a macro NPY_FEATURE_VERSION. By default it is set to
NPY_1_19_API_VERSION. And the NPY_FEATURE_VERSION macro controls ABI.

This PR only upgrade the build time dependency; When a user installs
ONNX Runtime, they still can use numpy 1.x.

### Motivation and Context
Recently numpy published a new version, 2.0.0, which is incompatible with the latest ONNX Runtime release.
2024-06-27 13:50:53 -07:00
..
inference Add compatibility for NumPy 2.0 (#21085) 2024-06-27 13:50:53 -07:00
scripts Add compatibility for NumPy 2.0 (#21085) 2024-06-27 13:50:53 -07:00
Dockerfile.aten_cpu Upgrade GCC and remove the dependency on GCC8's experimental std::filesystem implementation (#20893) 2024-06-03 10:14:08 -07:00
Dockerfile.lort_cpu Update Aten pipeline's docker file to use UBI8 (#20856) 2024-05-30 07:38:15 -07:00
Dockerfile.manylinux2_28_cpu Upgrade GCC and remove the dependency on GCC8's experimental std::filesystem implementation (#20893) 2024-06-03 10:14:08 -07:00
Dockerfile.manylinux2_28_cuda Update training packaging pipeline's docker files (#20853) 2024-05-30 23:48:42 -07:00
Dockerfile.manylinux2_28_rocm Upgrade default ORTModule opset from 15 to 17 (#19315) 2024-02-14 11:19:33 -08:00
Dockerfile.manylinux2_28_training_cuda11_8 Upgrade GCC and remove the dependency on GCC8's experimental std::filesystem implementation (#20893) 2024-06-03 10:14:08 -07:00
Dockerfile.manylinux2_28_training_cuda12_2 Updating cudnn from 8 to 9 on exsiting cuda 12 docker image (#20925) 2024-06-11 09:37:16 -07:00
Dockerfile.package_ubi8_cuda11_8_tensorrt8_6 Create a new Nuget Package pipeline for CUDA 12 (#18135) 2023-11-28 09:03:46 -08:00
Dockerfile.package_ubi8_cuda_tensorrt10_0 Update training packaging pipeline's docker files (#20853) 2024-05-30 23:48:42 -07:00
Dockerfile.package_ubuntu_2004_gpu Updating cudnn from 8 to 9 on exsiting cuda 12 docker image (#20925) 2024-06-11 09:37:16 -07:00
Dockerfile.package_ubuntu_2004_gpu_ffmpeg [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
Dockerfile.ubuntu_cuda11_6_tensorrt8_4 Update onnx python package and setuptools (#17709) 2023-09-27 07:54:48 -07:00
Dockerfile.ubuntu_cuda11_8_tensorrt8_5 Update onnx python package and setuptools (#17709) 2023-09-27 07:54:48 -07:00
Dockerfile.ubuntu_cuda11_8_tensorrt8_6 [EP Perf] Add CI option to enable TRT-OSS parser (#19448) 2024-02-12 23:04:08 -08:00
Dockerfile.ubuntu_cuda11_8_tensorrt10_0 [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
Dockerfile.ubuntu_cuda12_3_tensorrt8_6 [EP Perf] Update EP Perf dockerfiles with cuda12/cudnn9 (#19781) 2024-03-08 13:58:22 -08:00
Dockerfile.ubuntu_cuda12_4_tensorrt10_0 [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
Dockerfile.ubuntu_gpu_training Add support for cuda 11.8 and python 3.11 for training (#15548) 2023-04-20 12:56:45 -07:00
Dockerfile.ubuntu_openvino Ort openvino npu 1.17 master (#19966) 2024-03-21 18:44:00 -07:00
Dockerfile.ubuntu_tensorrt_bin [EP Perf] Update EP Perf dockerfiles with cuda12/cudnn9 (#19781) 2024-03-08 13:58:22 -08:00
manylinux.patch Enable Address Sanitizer in CI (#19073) 2024-01-12 07:24:40 -08:00
migraphx-ci-pipeline-env.Dockerfile [ROCm] fix security warning (#19017) 2024-01-05 10:05:34 -08:00