Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions changelog.d/20251209_175549_andrey_update_nuclio.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Changed

- Updated Nuclio to 1.15.9
(<https://github.com/cvat-ai/cvat/pull/10091>)

### Removed

- SiamMask and some OpenVINO-based functions
(<https://github.com/cvat-ai/cvat/pull/10091>)
2 changes: 1 addition & 1 deletion components/serverless/docker-compose.serverless.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
nuclio:
container_name: nuclio
image: quay.io/nuclio/dashboard:1.13.0-amd64
image: quay.io/nuclio/dashboard:1.15.9-amd64
restart: always
networks:
- cvat
Expand Down
2 changes: 1 addition & 1 deletion helm-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies:
condition: postgresql.enabled

- name: nuclio
version: 0.19.0
version: "0.21.*"
repository: https://nuclio.github.io/nuclio/charts
condition: nuclio.enabled

Expand Down
10 changes: 3 additions & 7 deletions serverless/onnx/WongKinYiu/yolov7/nuclio/function-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ metadata:

spec:
description: YOLO v7 via onnx-runtime
runtime: 'python:3.8'
runtime: 'python:3.10'
handler: main:handler
eventTimeout: 30s
build:
Expand All @@ -99,20 +99,16 @@ spec:

directives:
preCopy:
- kind: USER
value: root
- kind: RUN
value: apt update && apt install --no-install-recommends -y wget python3-pip
value: apt-get update && apt-get install --no-install-recommends -y wget python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
- kind: WORKDIR
value: /opt/nuclio
- kind: RUN
value: pip install onnxruntime-gpu=='1.20.*' opencv-python-headless pillow pyyaml
value: pip install onnxruntime-gpu=='1.20.*' opencv-python-headless pillow pyyaml --no-cache-dir
- kind: WORKDIR
value: /opt/nuclio
- kind: RUN
value: wget https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7-nms-640.onnx
- kind: RUN
value: ln -s /usr/bin/python3 /usr/bin/python

triggers:
myHttpTrigger:
Expand Down
10 changes: 3 additions & 7 deletions serverless/onnx/WongKinYiu/yolov7/nuclio/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ metadata:
]
spec:
description: YOLO v7 via onnx
runtime: 'python:3.8'
runtime: 'python:3.10'
handler: main:handler
eventTimeout: 30s
build:
Expand All @@ -98,18 +98,14 @@ spec:

directives:
preCopy:
- kind: USER
value: root
- kind: RUN
value: apt update && apt install --no-install-recommends -y wget python3-pip
value: apt-get update && apt-get install --no-install-recommends -y wget python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
- kind: RUN
value: pip install onnxruntime opencv-python-headless pillow pyyaml
value: pip install onnxruntime opencv-python-headless pillow pyyaml --no-cache-dir
- kind: WORKDIR
value: /opt/nuclio
- kind: RUN
value: wget https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7-nms-640.onnx
- kind: RUN
value: ln -s /usr/bin/python3 /usr/bin/python

triggers:
myHttpTrigger:
Expand Down
2 changes: 1 addition & 1 deletion serverless/openvino/base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openvino/ubuntu20_runtime:2022.3.0
FROM openvino/ubuntu22_runtime:2023.3.0

USER root

Expand Down
32 changes: 0 additions & 32 deletions serverless/openvino/dextr/nuclio/Dockerfile

This file was deleted.

27 changes: 0 additions & 27 deletions serverless/openvino/dextr/nuclio/adaptive-pool.patch

This file was deleted.

26 changes: 0 additions & 26 deletions serverless/openvino/dextr/nuclio/export.py

This file was deleted.

36 changes: 0 additions & 36 deletions serverless/openvino/dextr/nuclio/function.yaml

This file was deleted.

30 changes: 0 additions & 30 deletions serverless/openvino/dextr/nuclio/main.py

This file was deleted.

84 changes: 0 additions & 84 deletions serverless/openvino/dextr/nuclio/model_handler.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openvino/ubuntu20_dev:2022.3.0 AS build
FROM openvino/ubuntu22_dev:2023.3.0 AS build

USER root

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ metadata:

spec:
description: Detection network finding faces and defining age, gender and emotion attributes
runtime: 'python:3.8'
runtime: 'python:3.10'
handler: main:handler
eventTimeout: 30000s

Expand Down

This file was deleted.

Loading
Loading