ctuning / ck-request-asplos18-mobilenets-tvm-arm

CK workflow, portable packages and other artifacts for the ReQuEST-ASPLOS'18 submission:
http://cknowledge.org/request-cfp-asplos2018.html
Other
11 stars 1 forks source link

Benchmark on Firefly-RK3399 #5

Closed psyhtest closed 6 years ago

psyhtest commented 6 years ago

Now that we have the latest Firefly-RK3399 BSP (xubuntu1604_201711301130), we should record benchmarking results on this platform in the CK format.

psyhtest commented 6 years ago

As I understand from the README, we have three programs all using the same command key:

$ ck run program:tvm-arm  --cmd_key=all
$ ck run program:tvm-nnvm  --cmd_key=all
$ ck run program:tvm-mxnet --cmd_key=all

How about we perform and record the experiments as follows:

$ ck benchmark program:tvm-<program name> \
--cmd_key=all --repetitions=10 \
--record --record_repo=local \
--record_uoa=ck-request-asplos18-tvm-<program name>-<model name>-<precision> \ 
--tags=request,request-asplos18,tvm,<program name>,<model name>,v<precision>

where:

gfursin commented 6 years ago

Looks ok to me ;) ! Thanks! Just before taking off ;) ...

fvella commented 6 years ago

Tvm the support

model [mobilenet || resnet18 || vgg16] 
dtype=[float16 || float32]

ARM

backend[cl || neon]
model[mobilenet || vgg16] 
conv_method[gemm || direct] 
dtype[float16 || float32]"

Mxnet

model=[mobilenet || resnet18 || vgg16] 
fvella commented 6 years ago

List of Experiments:

<name><backend><model><data_type>

MXNET

mxnet-openblas-mobilenet-gemm-float32
mxnet-openblas-resnet18-gemm-float32
mxnet-openblas-vgg16-gemm-float32

TVM

tvm-opencl-mobilenet-tvm-mali-float16
tvm-opencl-mobilenet-tvm-mali-float32
tvm-opencl-resnet18-tvm-mali-float16
tvm-opencl-resnet18-tvm-mali-float32
tvm-opencl-vgg16-tvm-mali-float16
tvm-opencl-vgg16-tvm-mali-float32

ARM

armcl-cl-mobilenet-direct-float16
armcl-cl-mobilenet-direct-float32
armcl-cl-mobilenet-gemm-float16
armcl-cl-mobilenet-gemm-float32
armcl-cl-vgg16-direct-float16
armcl-cl-vgg16-direct-float32
armcl-cl-vgg16-gemm-float16
armcl-cl-vgg16-gemm-float32
armcl-neon-mobilenet-direct-float16
armcl-neon-mobilenet-direct-float32
armcl-neon-mobilenet-gemm-float16
armcl-neon-mobilenet-gemm-float32
armcl-neon-vgg16-direct-float16
armcl-neon-vgg16-direct-float32
armcl-neon-vgg16-gemm-float16
armcl-neon-vgg16-gemm-float32
psyhtest commented 6 years ago

Can you please attach here a zip of the experimental data when it's ready?

fvella commented 6 years ago

ARM experiment had some problem. I have to re-run just them.

fvella commented 6 years ago

I have the results. WRT to the list posted before we have less experiments. The application does not allow to run some of them. i.e. neon with fp16..

fvella commented 6 years ago

@gfursin request-tvm-firefly.zip \cc @psyhtest

gfursin commented 6 years ago

Cool! Thanks a lot @fvella - I am now preparing presentations for tomorrow and if I find time, I will check it tonight ...

gfursin commented 6 years ago

I unified all experiments and recorded them in the CK format.