forked from illinois-impact/ece408_project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rai_build.yml
23 lines (23 loc) · 978 Bytes
/
rai_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
rai:
version: 0.2
image: illinoisimpact/ece408_mxnet_docker:amd64-gpu-latest-fa19
resources:
cpu:
architecture: amd64
gpu:
architecture: volta
count: 1
network: false
commands:
build:
- /bin/bash -c "cp -rv /ece408_src/* /mxnet/src/operator/custom" # copy golden files to mxnet source tree
- /bin/bash -c "cp -rv /src/* /build" # copy the project folder to /build so everything appears in the upload
- /bin/bash -c "for src in ece408_src/*; do cp -v $src /mxnet/src/operator/custom/.; done" # copy source files to mxnet tree
- nice -n20 make -C /mxnet # build mxnet
- pip2 install --user -e /mxnet/python # install python bindings
- /usr/bin/time python m1.1.py # execute code
- /usr/bin/time python m1.2.py # execute code
- /usr/bin/time python m2.1.py # execute code
- /usr/bin/time python m3.1.py # execute code
- /usr/bin/time python m4.1.py # execute code
- /usr/bin/time python final.py # execute code