blue-oil / blueoil

Bring Deep Learning to small devices
https://blueoil.org
Apache License 2.0
249 stars 86 forks source link

de10: the script stuck when trying to make lm_fpga with -j2 flag #1036

Open lm-jira opened 4 years ago

lm-jira commented 4 years ago

I converted a model from Blueoil to run on de10 nano. I want to measure the memory usage so I edit the code to print some value and trying tome anew FPGA library by running make clean followed by make lm_fpga -j2 command. However, the make lm_fpga -j2 script is stuck somewhere for a long time and not finish the process.

I've solved it by removing the -j2 flag and running only make lm_fpga. However, I still cannot figure out what is the reason of that problem.

tk26eng commented 4 years ago

@lm-jira

The problem might come from lack of amount of memory. If you use -j2 option, two compilations are running at the same time. The problem might not occur when you use server for compilation because it has enough memory. And your model which you're trying to compile on DE10-Nano might consume much memory.

This is my expectation and I'm not sure what is the really problem. You can check consumed memory on DE10-Nano to know more details.