fix: revert CI tests to run on Ubuntu20.04 for LLVM-12 supportmaster
parent
9f465e01fe
commit
bfc842924e
@ -1 +1 @@
|
|||||||
Subproject commit 69c8b6116664d65a851cc459601bef6af3caeaea
|
Subproject commit f0b35e756395f79b06be8dd2660eecac94506e94
|
@ -0,0 +1,26 @@
|
|||||||
|
RUNTIME_DIR=../../../runtime/
|
||||||
|
SLEDGE_BINARY_DIR=${RUNTIME_DIR}/bin
|
||||||
|
HOSTNAME=localhost
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all: run
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean:
|
||||||
|
rm -rf res/*
|
||||||
|
|
||||||
|
.PHONY: run
|
||||||
|
run:
|
||||||
|
LD_LIBRARY_PATH=${SLEDGE_BINARY_DIR} ${SLEDGE_BINARY_DIR}/sledgert spec.json
|
||||||
|
|
||||||
|
.PHONY: debug
|
||||||
|
debug:
|
||||||
|
SLEDGE_DISABLE_PREEMPTION=true SLEDGE_NWORKERS=1 LD_LIBRARY_PATH=${SLEDGE_BINARY_DIR} gdb ${SLEDGE_BINARY_DIR}/sledgert \
|
||||||
|
--eval-command="handle SIGUSR1 noprint nostop" \
|
||||||
|
--eval-command="handle SIGPIPE noprint nostop" \
|
||||||
|
--eval-command="set pagination off" \
|
||||||
|
--eval-command="run spec.json"
|
||||||
|
|
||||||
|
.PHONY: client
|
||||||
|
client:
|
||||||
|
curl -H 'Expect:' -H "Content-Type: image/jpeg" --data-binary "@cnn_faces.jpg" "${HOSTNAME}:10000/face"
|
@ -0,0 +1,5 @@
|
|||||||
|
# CNN Face Detection
|
||||||
|
|
||||||
|
Originally, this workload returned an image where all the human faces were circles, along with the coordinates of the faces. It was modified to return a textual representation of faces, that is just the coordinates of the faces.
|
||||||
|
|
||||||
|
The scripts DO NOT check for functional correctness of output for this reason. Please look at other scripts to have a better example for new applications.
|
After Width: | Height: | Size: 168 KiB |
@ -0,0 +1,19 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "gwu",
|
||||||
|
"port": 10000,
|
||||||
|
"replenishment-period-us": 0,
|
||||||
|
"max-budget-us": 0,
|
||||||
|
"reservation-percentile": 0,
|
||||||
|
"routes": [
|
||||||
|
{
|
||||||
|
"route": "/face",
|
||||||
|
"path": "cnn_face_detection.wasm.so",
|
||||||
|
"admissions-percentile": 50,
|
||||||
|
"expected-execution-us": 320000,
|
||||||
|
"relative-deadline-us": 500000,
|
||||||
|
"http-resp-content-type": "text/plain"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
Loading…
Reference in new issue