-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building Deepbench with Accel-Sim #96
Comments
Have you checked the gpu-app-collection repo? |
Do you have installed the right cudnn version for your cuda version and set it to the PATH? |
Not yet. I will look into it. |
What cudnn version is required for deepbench? |
I think that it doesn't matter. The only think you need is to have a right installation of cuda with cudnn and all the things in the PATH. I had problems compiling deepbench and after that I was able to compile it and execute it. |
Which libraries need to be there in PATH? |
Cuda and cudnn. I don't know what is ginecólogo |
Do any libraries need to be linked as static in the makefile? |
why not just use the one we provided? |
I used the deepbench from gpu-app-collection using release-accelwattch branch. Should it not be pointing to accel-wattch libcudart? |
This looks fine. The |
I built conv_bench, but while I do see the executable, if I do ./conv_bench it gives Segmentation fault (core dumped) My bashrc looks like this- export CPATH=$CPATH:/scratch/gpfs/ishitac/local/include |
It is not invoking accel-sim but going to nvidia-cuda to run |
can you try manually source the |
I manually sourced it and changed the line to |
Interestingly I have this problem for cuda 11. When I go to CUDA 10.1 it links libcudart.so to the correct libcuda for accelsim. My cuda 10.1 does not have cublas so I am still sorting out the issue for Deepbench, but other benchmarks which dont require cublas are linking to accelsim now. Any ideas for why it is not working with cuda 11? |
I managed to fix the linker error. |
Have you fixed that CUDNN_STATUS_NOT_INITIALIZED issue? I was stuck in that as well. |
Are you running PTX mode or trace mode? Deepbench is supported in trace mode in Accel-Sim |
I was trying to deploy some workloads implemented in cuDNN (Deepbench, cuDNN_sample, etc.) in PTX mode. I replaced the libcudnn.so to the corresponding static library to enable PTX mode (as it does in the original GPGPU-sim). However, the same SEGF would occur in both Accel-sim and GPGPU-sim on my machine (CUDA11.0 + cuDNN8.5 + GCC9). |
Again, Deepbench is supported in trace mode in Accel-Sim. We have not looked into how to run PTX mode with cuDNN. Feel free to download the traces for Deepbench and try out the trace mode. |
Thanks for the feedback. It seems that it would not be possible to run cuDNN in PTX mode after CUDA-8. |
*Not my paper. But thanks. Yes, that was done with gpgpu-sim. Not Accel-sim. Here is some discussion on DeepBench and a response from the Author of Accel-Sim, Mahmoud. Someone made it work a while ago. But since Accel-Sim went out, so we focused on Accel-Sim instead. Good luck hacking! |
Hi,
I am trying to build DeepBench with Accel-Sim and failing.
Can you share the Deepbench makefile you use to build the benchmark?
Thank you!
The text was updated successfully, but these errors were encountered: