-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
34 lines (31 loc) · 765 Bytes
/
.gitlab-ci.yml
File metadata and controls
34 lines (31 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
stages:
- build
- run
gcc-8:
stage: build
retry: 1
tags:
- docker
- gpu
script:
- make
artifacts:
untracked: true
paths:
- build/
expire_in: 1 month
resnet50:
stage: run
retry: 1
tags:
- docker
- gpu
script:
- . /etc/roaster/scripts/pkgs/env/mirror.sh
- mkdir -p test/resnet50
- pushd test/resnet50
- curl -sSL "$GIT_MIRROR/caffe2/models/raw/master/$(basename "$(pwd)")/init_net.pb?inline=false" > init_net.pb
- curl -sSL "$GIT_MIRROR/caffe2/models/raw/master/$(basename "$(pwd)")/predict_net.pbtxt?inline=false" > predict_net.pbtxt
- curl -sSL "$GIT_MIRROR/caffe2/models/raw/master/$(basename "$(pwd)")/value_info.json?inline=false" > value_info.json
- popd
- make run