Skip to content

Commit b355e25

Browse files
azhavorozoe-seo
authored andcommitted
Update nuclio (cvat-ai#10091)
1 parent 65aaad5 commit b355e25

File tree

55 files changed

+260
-1838
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+260
-1838
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### Changed
2+
3+
- Updated Nuclio to 1.15.9
4+
(<https://github.com/cvat-ai/cvat/pull/10091>)
5+
6+
### Removed
7+
8+
- SiamMask and some OpenVINO-based functions
9+
(<https://github.com/cvat-ai/cvat/pull/10091>)

components/serverless/docker-compose.serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
nuclio:
33
container_name: nuclio
4-
image: quay.io/nuclio/dashboard:1.13.0-amd64
4+
image: quay.io/nuclio/dashboard:1.15.9-amd64
55
restart: always
66
networks:
77
- cvat

helm-chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies:
3232
condition: postgresql.enabled
3333

3434
- name: nuclio
35-
version: 0.19.0
35+
version: "0.21.*"
3636
repository: https://nuclio.github.io/nuclio/charts
3737
condition: nuclio.enabled
3838

serverless/onnx/WongKinYiu/yolov7/nuclio/function-gpu.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ metadata:
9090
9191
spec:
9292
description: YOLO v7 via onnx-runtime
93-
runtime: 'python:3.8'
93+
runtime: 'python:3.10'
9494
handler: main:handler
9595
eventTimeout: 30s
9696
build:
@@ -99,20 +99,16 @@ spec:
9999

100100
directives:
101101
preCopy:
102-
- kind: USER
103-
value: root
104102
- kind: RUN
105-
value: apt update && apt install --no-install-recommends -y wget python3-pip
103+
value: apt-get update && apt-get install --no-install-recommends -y wget python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
106104
- kind: WORKDIR
107105
value: /opt/nuclio
108106
- kind: RUN
109-
value: pip install onnxruntime-gpu=='1.20.*' opencv-python-headless pillow pyyaml
107+
value: pip install onnxruntime-gpu=='1.20.*' opencv-python-headless pillow pyyaml --no-cache-dir
110108
- kind: WORKDIR
111109
value: /opt/nuclio
112110
- kind: RUN
113111
value: wget https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7-nms-640.onnx
114-
- kind: RUN
115-
value: ln -s /usr/bin/python3 /usr/bin/python
116112

117113
triggers:
118114
myHttpTrigger:

serverless/onnx/WongKinYiu/yolov7/nuclio/function.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ metadata:
8989
]
9090
spec:
9191
description: YOLO v7 via onnx
92-
runtime: 'python:3.8'
92+
runtime: 'python:3.10'
9393
handler: main:handler
9494
eventTimeout: 30s
9595
build:
@@ -98,18 +98,14 @@ spec:
9898

9999
directives:
100100
preCopy:
101-
- kind: USER
102-
value: root
103101
- kind: RUN
104-
value: apt update && apt install --no-install-recommends -y wget python3-pip
102+
value: apt-get update && apt-get install --no-install-recommends -y wget python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
105103
- kind: RUN
106-
value: pip install onnxruntime opencv-python-headless pillow pyyaml
104+
value: pip install onnxruntime opencv-python-headless pillow pyyaml --no-cache-dir
107105
- kind: WORKDIR
108106
value: /opt/nuclio
109107
- kind: RUN
110108
value: wget https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7-nms-640.onnx
111-
- kind: RUN
112-
value: ln -s /usr/bin/python3 /usr/bin/python
113109

114110
triggers:
115111
myHttpTrigger:

serverless/openvino/base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openvino/ubuntu20_runtime:2022.3.0
1+
FROM openvino/ubuntu22_runtime:2023.3.0
22

33
USER root
44

serverless/openvino/dextr/nuclio/Dockerfile

Lines changed: 0 additions & 32 deletions
This file was deleted.

serverless/openvino/dextr/nuclio/adaptive-pool.patch

Lines changed: 0 additions & 27 deletions
This file was deleted.

serverless/openvino/dextr/nuclio/export.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

serverless/openvino/dextr/nuclio/function.yaml

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)