Skip to content

Commit

Permalink
Use different tags for GPU versions of serverless functions (cvat-ai#…
Browse files Browse the repository at this point in the history
…7215)

Having both CPU and GPU images use the same image name and tag is
confusing, since you can't tell which one you have on your system
without deep inspection.
  • Loading branch information
SpecLad authored and amjadsaadeh committed Dec 14, 2023
1 parent 32f0ff7 commit 3642590
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions changelog.d/20231204_124652_roman.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Changed

- GPU versions of serverless functions now use the `latest-gpu` Docker tag
rather than `latest`
(<https://github.com/opencv/cvat/pull/7215>)
2 changes: 1 addition & 1 deletion serverless/onnx/WongKinYiu/yolov7/nuclio/function-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ spec:
handler: main:handler
eventTimeout: 30s
build:
image: cvat.onnx.wongkinyiu.yolov7
image: cvat.onnx.wongkinyiu.yolov7:latest-gpu
baseImage: nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04

directives:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
value: /opt/nuclio/trans-t

build:
image: cvat.pth.dschoerk.transt
image: cvat.pth.dschoerk.transt:latest-gpu
baseImage: nvidia/cuda:11.7.1-devel-ubuntu20.04

directives:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ spec:
eventTimeout: 30s

build:
image: cvat.pth.facebookresearch.detectron2.retinanet_r101
image: cvat.pth.facebookresearch.detectron2.retinanet_r101:latest-gpu
baseImage: ubuntu:20.04

directives:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
value: /opt/nuclio/sam

build:
image: cvat.pth.facebookresearch.sam.vit_h
image: cvat.pth.facebookresearch.sam.vit_h:latest-gpu
baseImage: ubuntu:22.04

directives:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
value: /opt/nuclio/SiamMask:/opt/nuclio/SiamMask/experiments/siammask_sharp

build:
image: cvat.pth.foolwood.siammask
image: cvat.pth.foolwood.siammask:latest-gpu
baseImage: nvidia/cuda:11.1.1-devel-ubuntu20.04

directives:
Expand Down
2 changes: 1 addition & 1 deletion serverless/pytorch/saic-vul/hrnet/nuclio/function-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
value: /opt/nuclio/hrnet

build:
image: cvat.pth.saic-vul.hrnet
image: cvat.pth.saic-vul.hrnet:latest-gpu
baseImage: ubuntu:20.04

directives:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ spec:
eventTimeout: 30s

build:
image: cvat.tf.faster_rcnn_inception_v2_coco
image: cvat.tf.faster_rcnn_inception_v2_coco:latest-gpu
baseImage: tensorflow/tensorflow:2.1.1-gpu

directives:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ spec:
- name: MASK_RCNN_DIR
value: /opt/nuclio/Mask_RCNN
build:
image: cvat.tf.matterport.mask_rcnn
image: cvat.tf.matterport.mask_rcnn:latest-gpu
baseImage: tensorflow/tensorflow:1.15.5-gpu-py3
directives:
postCopy:
Expand Down

0 comments on commit 3642590

Please sign in to comment.