hi everyone,

I have successfully built and ran DNNMark using the command:


sudo docker run --rm -v ${PWD}:${PWD} -v 
${PWD}/gem5-resources/src/gpu/DNNMark/cachefiles:/root/.cache/miopen/2.9.0 -w 
${PWD} gcn-gpu 
gem5/build/GCN3_X86/gem5.opt gem5/configs/example/apu_se.py -n 3 
--benchmark-root=gem5-resources/src/gpu/DNNMark/build/benchmarks/test_fwd_softmax
 -cdnnmark_test_fwd_softmax 
--options="-config 
gem5-resources/src/gpu/DNNMark/config_example/softmax_config.dnnmark -mmap 
gem5-resources/src/gpu/DNNMark/mmap.bin"
with the output
Exiting because  exiting with last active thread context

which may means i have correctly made the running environment.




However, i tried several benchmarks in





but meet following problems:


1. problem on running test_fwd_fc


When i run test_fwd_fc using:
sudo docker run --rm -v ${PWD}:${PWD} -v 
${PWD}/gem5-resources/src/gpu/DNNMark/cachefiles:/root/.cache/miopen/2.9.0 -w 
${PWD} gcn-gpu gem5/build/GCN3_X86/gem5.opt 
gem5/configs/example/apu_se.py -n3 
--benchmark-root=gem5-resources/src/gpu/DNNMark/build/benchmarks/test_fwd_fc -c 
dnnmark_test_fwd_fc 
--options="-config 
gem5-resources/src/gpu/DNNMark/config_example/fc_config.dnnmark -mmap 
gem5-resources/src/gpu/DNNMark/DNNMark_data.dat"

the problem is running for a few hours, even though i have modify the input 
data (mmap.bin -> DNNMark_data.dat) to a smaller size 300MB (2GB in default).
I have also tried several benchmarks, the only benchmark i done is the 
test_fwd_pool and test_bwd_pool, when i ran benchmarks such as conv??pool??fc, 
the program will be blocked, with out any output.
Is there anything i did wrong here? or these benchmards are too 
compute-intensive to run, leading to slow running?
May i ask for any suggestion for running these benchmarks?


2. problem on running test_VGG and test_alexnet.


I run them with the commands:
sudo docker run --rm -v ${PWD}:${PWD} -v 
${PWD}/gem5-resources/src/gpu/DNNMark/cachefiles:/root/.cache/miopen/2.9.0 -w 
${PWD} gcn-gpu gem5/build/GCN3_X86/gem5.opt
 gem5/configs/example/apu_se.py -n3 
--benchmark-root=gem5-resources/src/gpu/DNNMark/build/benchmarks/test_alexnet 
-c dnnmark_test_alexnet 
--options="-config 
gem5-resources/src/gpu/DNNMark/config_example/alexnet.dnnmark -mmap 
gem5-resources/src/gpu/DNNMark/mmap.bin"

and
sudo docker run --rm -v ${PWD}:${PWD} -v 
${PWD}/gem5-resources/src/gpu/DNNMark/cachefiles:/root/.cache/miopen/2.9.0 -w 
${PWD} gcn-gpu gem5/build/GCN3_X86/gem5.opt
 gem5/configs/example/apu_se.py -n3 
--benchmark-root=gem5-resources/src/gpu/DNNMark/build/benchmarks/test_VGG -c 
dnnmark_test_VGG
 --options="-config gem5-resources/src/gpu/DNNMark/config_example/VGG.dnnmark 
-mmap gem5-resources/src/gpu/DNNMark/mmap.bin"





but they are also blocked.
May i ask for any suggestion for running these benchmarks?


3. question on modifying DNN network.


May i ask how to modify the DNN network architecture? For example, is it 
possible to make a transformer block and run it on gem5? It seems that i can 
change the configures in /DNNMark/config_example following the 
example of alexnet.dnnmark, without modifing the code in 
DNNMark/benchmarks/test_alexnet. May i ask is that correct?


4. How can i get trace on running DNNMark.


Running DNNMark seem like a block box. It is possible to get the trace of 
running DNNMark? For example, the process of data loading, computing, etc.




5. question on apu_se.py


It seem that all the benchmarks require apu_se.py. May i ask is there any more 
detailed documents to introduce what this apu_se.py did and how to modify 
it??For example??how can i add more ruby memory to the gpu.








The documents and introduction for gem5 gcn gpu is pretty few, if it is 
possible, could any one provide some help for me?


Thank you all very much??
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org

Reply via email to