Maratyszcza / NNPACK

Acceleration package for neural networks on multi-core CPUs
BSD 2-Clause "Simplified" License
1.68k stars 316 forks source link

not found /bin/banchmarkxxx #193

Open yuhongxiao123456 opened 4 years ago

yuhongxiao123456 commented 4 years ago

HI, I use banchmark.py test NNPACK fail. the fail info as follows:

[root@local-host NNPACK-master]# python ./benchmark.py -l convolution -n alexnet -m inference --transform-strategy compute -m: bin/convolution-benchmark: No such file or directory Traceback (most recent call last): File "./benchmark.py", line 178, in threads=options.threads, verbose=options.verbose, use_selldr=options.use_selldr)) TypeError: 'NoneType' object is not iterable

I check the directory is no /bin/ but i find many test executable binary file as follows in bulid directory. so the banchmark test is change or is something wrong with me?

-rwxr-xr-x. 1 root root 1703064 Oct 22 16:21 convolution-inference-alexnet-test -rwxr-xr-x. 1 root root 1703104 Oct 22 16:21 convolution-inference-overfeat-test -rwxr-xr-x. 1 root root 2231400 Oct 22 16:21 convolution-inference-smoketest -rwxr-xr-x. 1 root root 2027136 Oct 22 16:21 convolution-inference-vgg-test -rwxr-xr-x. 1 root root 1366992 Oct 22 16:21 convolution-input-gradient-alexnet-test -rwxr-xr-x. 1 root root 1367024 Oct 22 16:21 convolution-input-gradient-overfeat-test -rwxr-xr-x. 1 root root 1397488 Oct 22 16:21 convolution-input-gradient-smoketest -rwxr-xr-x. 1 root root 1384728 Oct 22 16:21 convolution-input-gradient-vgg-test -rwxr-xr-x. 1 root root 1367536 Oct 22 16:21 convolution-kernel-gradient-alexnet-test -rwxr-xr-x. 1 root root 1367568 Oct 22 16:21 convolution-kernel-gradient-overfeat-test -rwxr-xr-x. 1 root root 1398888 Oct 22 16:21 convolution-kernel-gradient-smoketest -rwxr-xr-x. 1 root root 1385960 Oct 22 16:21 convolution-kernel-gradient-vgg-test -rwxr-xr-x. 1 root root 1388760 Oct 22 16:21 convolution-output-alexnet-test -rwxr-xr-x. 1 root root 1388792 Oct 22 16:21 convolution-output-overfeat-test -rwxr-xr-x. 1 root root 1584208 Oct 22 16:21 convolution-output-smoketest -rwxr-xr-x. 1 root root 1491496 Oct 22 16:21 convolution-output-vgg-test

my cpuinfo as below:

Getting SMBIOS data from sysfs. SMBIOS 3.1.1 present.

Handle 0x002B, DMI type 4, 48 bytes Processor Information Socket Designation: CPU01 Type: Central Processor Family: ARM Manufacturer: HiSilicon ID: 10 D0 1F 48 00 00 00 00 Signature: Implementor 0x48, Variant 0x1, Architecture 15, Part 0xd01, Revision 0 Version: Kunpeng 920-4826 Voltage: 0.9 V External Clock: 100 MHz Max Speed: 2600 MHz Current Speed: 2600 MHz Status: Populated, Enabled Upgrade: Unknown L1 Cache Handle: 0x0028 L2 Cache Handle: 0x0029 L3 Cache Handle: 0x002A Serial Number: AB35B9D300C03200 Asset Tag: To be filled by O.E.M. Part Number: To be filled by O.E.M. Core Count: 48 Core Enabled: 48 Thread Count: 48 Characteristics: 64-bit capable Multi-Core Execute Protection Enhanced Virtualization Power/Performance Control

my system info as below :

[root@local-host NNPACK-master]# cat /etc/release CentOS Linux release 7.6.1810 (AltArch) Derived from Red Hat Enterprise Linux 7.6 (Source) cat: /etc/lsb-release.d: Is a directory NAME="CentOS Linux" VERSION="7 (AltArch)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (AltArch)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.6.1810 (AltArch) CentOS Linux release 7.6.1810 (AltArch) cpe:/o:centos:centos:7