cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
718 Views
Registered: ‎05-16-2014

dnnc-dpu1.4.0 or dnnc-dpu1.4.0.1

Jump to solution

I see  there are  two version dnnc, dnnc-1.4.0 and  dnnc-1.4.1,   I  want to know  how to chose  the version  of  dnnc?   because  the  default version  is  dnnc-dpu1.4.0.1. 

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Adventurer
Adventurer
696 Views
Registered: ‎05-27-2019

Re: dnnc-dpu1.4.0 or dnnc-dpu1.4.0.1

Jump to solution

你在dnnc.sh里面修改看看:

 29     echo "Board Name: $dnndk_board"
 30     if [ "$dnndk_board" = "ZCU102" ]; then
 31         DPU_ARCH="4096FA"
 32         DNNC="dnnc-dpu1.4.0"
 33     elif [ "$dnndk_board" = "ZCU104" ]; then
 34         DPU_ARCH="4096FA"
 35         DNNC="dnnc-dpu1.4.0.1"
 36     elif [ "$dnndk_board" = "Ultra96" ]; then
 37         DPU_ARCH="2304FA"
 38         DNNC="dnnc-dpu1.4.0"

 

如果是用dnnc命令,你修改/usr/local/bin里面的这个软链接 dnnc -> dnnc-dpu1.4.0

guobing@ubuntu:/usr/local/bin$ ll
total 61516
drwxr-xr-x  2 root root     4096 Jun 27 15:05 ./
drwxr-xr-x 10 root root     4096 Feb 27 07:57 ../
-rwxr-xr-x  1 root root  6105048 Jun 27 14:15 decent-cpu*
lrwxrwxrwx  1 root root       15 Jun 27 14:15 dnnc -> dnnc-dpu1.4.0.1*
-rwxr-xr-x  1 root root 28192608 Jun 27 14:15 dnnc-dpu1.4.0*
-rwxr-xr-x  1 root root 28192608 Jun 27 14:15 dnnc-dpu1.4.0.1*
-rwxr-xr-x  1 root root      219 May 29 17:20 f2py*

View solution in original post

0 Kudos
3 Replies
Highlighted
Adventurer
Adventurer
697 Views
Registered: ‎05-27-2019

Re: dnnc-dpu1.4.0 or dnnc-dpu1.4.0.1

Jump to solution

你在dnnc.sh里面修改看看:

 29     echo "Board Name: $dnndk_board"
 30     if [ "$dnndk_board" = "ZCU102" ]; then
 31         DPU_ARCH="4096FA"
 32         DNNC="dnnc-dpu1.4.0"
 33     elif [ "$dnndk_board" = "ZCU104" ]; then
 34         DPU_ARCH="4096FA"
 35         DNNC="dnnc-dpu1.4.0.1"
 36     elif [ "$dnndk_board" = "Ultra96" ]; then
 37         DPU_ARCH="2304FA"
 38         DNNC="dnnc-dpu1.4.0"

 

如果是用dnnc命令,你修改/usr/local/bin里面的这个软链接 dnnc -> dnnc-dpu1.4.0

guobing@ubuntu:/usr/local/bin$ ll
total 61516
drwxr-xr-x  2 root root     4096 Jun 27 15:05 ./
drwxr-xr-x 10 root root     4096 Feb 27 07:57 ../
-rwxr-xr-x  1 root root  6105048 Jun 27 14:15 decent-cpu*
lrwxrwxrwx  1 root root       15 Jun 27 14:15 dnnc -> dnnc-dpu1.4.0.1*
-rwxr-xr-x  1 root root 28192608 Jun 27 14:15 dnnc-dpu1.4.0*
-rwxr-xr-x  1 root root 28192608 Jun 27 14:15 dnnc-dpu1.4.0.1*
-rwxr-xr-x  1 root root      219 May 29 17:20 f2py*

View solution in original post

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
668 Views
Registered: ‎01-21-2014

Re: dnnc-dpu1.4.0 or dnnc-dpu1.4.0.1

Jump to solution

The answer is, it depends... Please see the note in UG1327:

Note: There are two version DNNC binaries available for Ubuntu 14.04 and 16.04 individually under the
host_x86 folder. dnnc-dpu1.4.0 is for DPU configured with low RAM usage, and dnnc-dpu1.4.0.1
is for DPU configured with high RAM usage. Running install.sh will automatically install the right
version of the DNNC binary for the corresponding evaluation board.

So you need to know which configuration was used in the pre-built image.  The install tools take care of this for you when you run the host install script.  For example, the Ultra96 switched from low to high mem in the May release, so the compiler link changed to account for that.  

However, be careful using the provided dnnc.sh, since that directly calls the dnnc version it thinks it needs based on the board, and I found that the May release did not update that script properly after the change to the board image. 

 

Terry

 

Highlighted
Participant
Participant
229 Views
Registered: ‎01-23-2019

Re: dnnc-dpu1.4.0 or dnnc-dpu1.4.0.1

Jump to solution

@jcory @terryo,

I could be wrong, but just by looking at the file size these 2 execuatble, it is quite possible they might be  the same.
-rwxr-xr-x 1 root root 28192608 Jun 27 14:15 dnnc-dpu1.4.0*
-rwxr-xr-x 1 root root 28192608 Jun 27 14:15 dnnc-dpu1.4.0.1*

 

--
Luc Chouinard
FPGA Architect & AI Specialist
Teledyne Imaging
Teledyne Lumenera
0 Kudos