Comments (15)
from armcl-pipe-all.
from armcl-pipe-all.
from armcl-pipe-all.
from armcl-pipe-all.
from armcl-pipe-all.
from armcl-pipe-all.
from armcl-pipe-all.
Hello Ehsan,
Thanks for the reply.
I used the following command to build
scons Werror=0 -j16 debug=0 asserts=0 neon=1 opencl=1 os=linux arch=arm64-v8a
But it always show up "exhaust memory", so I decrease the thread number to 4.
scons Werror=0 -j4 debug=0 asserts=0 neon=1 opencl=1 os=linux arch=arm64-v8a
But It would show a lots of warnings and finally stop with an error.
scons: *** [build/src/graph/backends/NEON/NEFunctionFactory.os] Error 4
aarch64-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
By the way, the platform I am using is Hikey970:
Thanks :)
from armcl-pipe-all.
Hello Ehsan,
Thanks for the instant reply,
I will try this command later and update you since my other lab members are using the board now. :)
Thanks!
from armcl-pipe-all.
Hello Ehsan,
I am 2nd master's graduate student at McGill ECE.
I first saw Dr. Siqi paper, and then came across your model.
Since I am working on the inference BERT model on the edge platform for my thesis, all of your models is very helpful as a reference.
from armcl-pipe-all.
Sorry for the late response. We were re-booting our Hikey 970 so I cannot test it in time.
After trying build-up you suggest (scons Werror=1 -j8 debug=0 neon=1 opencl=0 os=linux arch=arm64-v8a build=native), I got the following error:
utils/GraphUtils.cpp: In constructor 'arm_compute::graph_utils::ReceiverAccessor::ReceiverAccessor(bool, unsigned int)':
utils/GraphUtils.cpp:212:60: error: unused parameter 'maximum' [-Werror=unused-parameter]
ReceiverAccessor::ReceiverAccessor(bool tran, unsigned int maximum)
^~~~~~~
utils/GraphUtils.cpp: In constructor 'arm_compute::graph_utils::ReceiverAccessor2::ReceiverAccessor2(bool, unsigned ``int)':
utils/GraphUtils.cpp:219:62: error: unused parameter 'maximum' [-Werror=unused-parameter]
ReceiverAccessor2::ReceiverAccessor2(bool tran, unsigned int maximum)
^~~~~~~
I guess I will try to look again at how ARM-CL GitHub suggests us to build and see if it works.
Thanks in advance :)
from armcl-pipe-all.
Thanks for your instant reply,
I was able to use scons Werror=0 -j4 debug=0 asserts=0 neon=1 opencl=0 os=linux arch=arm64-v8a build=native
to build the environment on HiKey 970.
After export lib, I was able to ./build/examples/graph_alexnet_all_pipe_sync --threads=4 --threads2=2 --total_cores=6 --partition_point=3 --partition_point2=5 --order=G-L-B --n=60
to benchmark.
The result shows as follow:
./build/examples/graph_alexnet_all_pipe_sync
Threads : 4
Small Cores Threads : 2
Target : CL
Data type : F32
Data layout : NHWC
Tuner enabled? : false
Cache enabled? : false
Tuner mode : Normal
Tuner file :
MLGO file :
Fast math enabled? : false
Image file :
Labels file : transfer
Partition point is : 3
Second partition point is : 5
Order is : G-L-B
Total number of cores is : 6
Run network for 60 times.
First partition point:3
Second partition point:5
Total parts:8
start running third graph ...
start running first graph ...
start running second graph ...
Running Inference ...
stage1_input_time: 0.00264753 ms
stage1_inference_time: 96.5089 ms
stage1_total_time: 96.5115 ms
stage2_input_time: 107.626 ms
stage2_inference_time: 22.1759 ms
stage2_total_time: 129.802 ms
stage3_input_time: 71.0915 ms
stage3_inference_time: 58.6052 ms
stage3_total_time: 129.697 ms
Frame rate is: 7.70404 FPS
Frame latency is: 356.01 ms
Test passed
Thanks for the help.
from armcl-pipe-all.
However, I was still unable to solve problem 4 in the original question:
I follow and use the following "Running in Linux part"
but it turns out with the following messages:
WARNING: Skipping invalid option 'Neon'!
WARNING: Skipping invalid option '/home/Micro_SD_shunya/hungyang/ARMCL-pipe-all/alexnet/'!
WARNING: Skipping invalid option '/home/Micro_SD_shunya/hungyang/ARMCL-pipe-all/alexnet//go_kart.ppm'!
WARNING: Skipping invalid option '/home/Micro_SD_shunya/hungyang/ARMCL-pipe-all/alexnet//labels.txt'!
Thanks again :)
from armcl-pipe-all.
Hi @Ehsan-aghapour
No worries, I was able to reproduce part of your work on my own end.
I will re-open the issue or open a new issue if I have any questions.
Thanks for your help :)
from armcl-pipe-all.
from armcl-pipe-all.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from armcl-pipe-all.