diff --git a/CHANGELOG.md b/CHANGELOG.md index 50714fbb70f..05cdd8b0cad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 () - Width and height in CVAT dataset format mask annotations () - Empty list of export formats for a project without tasks () +- Downgrade NumPy used by HRNet because `np.int` is no longer available () ### Security - TDB diff --git a/serverless/pytorch/saic-vul/hrnet/nuclio/function-gpu.yaml b/serverless/pytorch/saic-vul/hrnet/nuclio/function-gpu.yaml index 939b472ffd9..eaddea7a655 100644 --- a/serverless/pytorch/saic-vul/hrnet/nuclio/function-gpu.yaml +++ b/serverless/pytorch/saic-vul/hrnet/nuclio/function-gpu.yaml @@ -54,7 +54,7 @@ spec: - kind: RUN value: pip3 install setuptools - kind: RUN - value: pip3 install -r requirements.txt + value: pip3 install -r requirements.txt "numpy<1.24" # the NumPy version is not pinned and HRNet uses np.int which throws an error for NumPy >= 1.24 (PR#5574) - kind: RUN value: apt update && apt install -y libgl1-mesa-glx - kind: RUN