mlcommons / mlcommons/inference

error

Open
#1,710 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.6k
Forks
650
Avg merge
1d 22h
Merged PRs (30d)
6

Description

(mlperf) susie.sun@yizhu-R5300-G5:~$ cmr "run mobilenet-models _tflite _accuracy-only" \

--adr.compiler.tags=gcc
--results_dir=$HOME/mobilenet_results

  • cm run script "run mobilenet-models _tflite _accuracy-only"

    • cm run script "get sys-utils-cm"
      ! load /home/susie.sun/CM/repos/local/cache/576bc766a772475d/cm-cached-state.json
      {'action': 'run', 'automation': 'script', 'tags': 'generate-run-cmds,mlperf,inference,_full,_accuracy-only', 'quiet': True, 'env': {'http_proxy': 'http://10.10.60.103:7890', 'https_proxy': 'http://10.10.60.103:7890', 'CM_MLPERF_RUN_MOBILENETS': 'yes', 'CM_MLPERF_RUN_EFFICIENTNETS': 'yes', 'CM_MLPERF_NO_RERUN': 'no', 'CM_MLPERF_RUN_FP32': 'yes', 'CM_MLPERF_RUN_INT8': 'yes', 'CM_MLPERF_INFERENCE_RESULTS_DIR': '/home/susie.sun/mobilenet_results', 'CM_MLPERF_FIND_PERFORMANCE_MODE': 'no', 'CM_MLPERF_ACCURACY_MODE': 'yes', 'CM_MLPERF_SUBMISSION_MODE': 'no', 'CM_MLPERF_TFLITE_DEFAULT_MODE': 'yes', 'CM_TMP_CURRENT_PATH': '/home/susie.sun', 'CM_TMP_CURRENT_SCRIPT_REPO_PATH': '/home/susie.sun/CM/repos/mlcommons@cm4mlops', 'CM_TMP_CURRENT_SCRIPT_REPO_PATH_WITH_PREFIX': '/home/susie.sun/CM/repos/mlcommons@cm4mlops', 'CM_TMP_PIP_VERSION_STRING': ''}, 'input': {'action': 'run', 'automation': 'script', 'adr': {'compiler': {'tags': 'gcc'}}, 'results_dir': '/home/susie.sun/mobilenet_results', 'cmd': ['run mobilenet-models _tflite _accuracy-only', '--adr.compiler.tags=gcc', '--results_dir=/home/susie.sun/mobilenet_results'], 'out': 'con', 'parsed_automation': [('script', '5b4e0237da074764')], 'tags': 'run,mobilenet-models,_tflite,_accuracy-only'}, 'v': False, 'implementation': 'tflite-cpp', 'precision': 'fp32', 'model': 'mobilenet', 'scenario': 'SingleStream', 'execution_mode': 'valid', 'test_query_count': '100', 'adr': {'tflite-model': {'tags': '_v1,_multiplier-1.0,_resolution-224'}, 'mlperf-inference-implementation': {'tags': ''}, 'compiler': {'tags': 'gcc'}}, 'results_dir': '/home/susie.sun/mobilenet_results', 'mode': 'accuracy'}
  • cm run script "generate-run-cmds mlperf inference _full _accuracy-only"

    • cm run script "detect os"
      ! cd /home/susie.sun
      ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/run.sh from tmp-run.sh
      ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/customize.py

    • cm run script "detect cpu"

      • cm run script "detect os"
        ! cd /home/susie.sun
        ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/run.sh from tmp-run.sh
        ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/customize.py
        ! cd /home/susie.sun
        ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-cpu/run.sh from tmp-run.sh
        ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-cpu/customize.py
    • cm run script "get python3"
      ! load /home/susie.sun/CM/repos/local/cache/38444f88746d4e25/cm-cached-state.json

Path to Python: /home/susie.sun/anaconda3/envs/mlperf/bin/python3
Python version: 3.10.0

  • cm run script "get mlcommons inference src"
    ! load /home/susie.sun/CM/repos/local/cache/c6ee028bd2a34c49/cm-cached-state.json

Path to the MLPerf inference benchmark configuration file: /home/susie.sun/CM/repos/local/cache/2c8c91d452654dd5/inference/mlperf.conf
Path to MLPerf inference benchmark sources: /home/susie.sun/CM/repos/local/cache/2c8c91d452654dd5/inference

  • cm run script "get sut description"
    ! load /home/susie.sun/CM/repos/local/cache/1ddd481dde0648ee/cm-cached-state.json

  • cm run script "install pip-package for-cmind-python _package.tabulate"
    ! load /home/susie.sun/CM/repos/local/cache/1ed4900679914a1a/cm-cached-state.json

  • cm run script "get mlperf inference utils"

    • cm run script "get mlperf inference src"
      ! load /home/susie.sun/CM/repos/local/cache/c6ee028bd2a34c49/cm-cached-state.json

Path to the MLPerf inference benchmark configuration file: /home/susie.sun/CM/repos/local/cache/2c8c91d452654dd5/inference/mlperf.conf
Path to MLPerf inference benchmark sources: /home/susie.sun/CM/repos/local/cache/2c8c91d452654dd5/inference

     ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-mlperf-inference-utils/customize.py

Using MLCommons Inference source from /home/susie.sun/CM/repos/local/cache/2c8c91d452654dd5/inference

Running loadgen scenario: SingleStream and mode: accuracy

  • cm run script "app mlperf inference generic _tflite-cpp _mobilenet _valid _fp32 _singlestream"

    • cm run script "detect os"
      ! cd /home/susie.sun
      ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/run.sh from tmp-run.sh
      ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/customize.py

    • cm run script "get sys-utils-cm"
      ! load /home/susie.sun/CM/repos/local/cache/576bc766a772475d/cm-cached-state.json

    • cm run script "get python"
      ! load /home/susie.sun/CM/repos/local/cache/38444f88746d4e25/cm-cached-state.json

Path to Python: /home/susie.sun/anaconda3/envs/mlperf/bin/python3
Python version: 3.10.0

  • cm run script "get mlcommons inference src"
    ! load /home/susie.sun/CM/repos/local/cache/c6ee028bd2a34c49/cm-cached-state.json

Path to the MLPerf inference benchmark configuration file: /home/susie.sun/CM/repos/local/cache/2c8c91d452654dd5/inference/mlperf.conf
Path to MLPerf inference benchmark sources: /home/susie.sun/CM/repos/local/cache/2c8c91d452654dd5/inference

  • cm run script "get mlperf inference utils"

    • cm run script "get mlperf inference src"
      ! load /home/susie.sun/CM/repos/local/cache/c6ee028bd2a34c49/cm-cached-state.json

Path to the MLPerf inference benchmark configuration file: /home/susie.sun/CM/repos/local/cache/2c8c91d452654dd5/inference/mlperf.conf
Path to MLPerf inference benchmark sources: /home/susie.sun/CM/repos/local/cache/2c8c91d452654dd5/inference

     ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-mlperf-inference-utils/customize.py
  • cm run script "get dataset-aux imagenet-aux"
    ! load /home/susie.sun/CM/repos/local/cache/cfc97b4769654b05/cm-cached-state.json

  • cm run script "app mlperf tflite-cpp inference _mobilenet _tflite _cpu _singlestream"

    • cm run script "detect os"
      ! cd /home/susie.sun
      ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/run.sh from tmp-run.sh
      ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/customize.py

    • cm run script "detect cpu"

      • cm run script "detect os"
        ! cd /home/susie.sun
        ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/run.sh from tmp-run.sh
        ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/customize.py
        ! cd /home/susie.sun
        ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-cpu/run.sh from tmp-run.sh
        ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-cpu/customize.py
    • cm run script "get sys-utils-cm"
      ! load /home/susie.sun/CM/repos/local/cache/576bc766a772475d/cm-cached-state.json

    • cm run script "get loadgen"
      ! load /home/susie.sun/CM/repos/local/cache/782950bcd3fd474c/cm-cached-state.json

Path to the tool: /home/susie.sun/CM/repos/local/cache/782950bcd3fd474c/install

* cm run script "get mlcommons inference src"
     ! load /home/susie.sun/CM/repos/local/cache/c6ee028bd2a34c49/cm-cached-state.json

Path to the MLPerf inference benchmark configuration file: /home/susie.sun/CM/repos/local/cache/2c8c91d452654dd5/inference/mlperf.conf
Path to MLPerf inference benchmark sources: /home/susie.sun/CM/repos/local/cache/2c8c91d452654dd5/inference

* cm run script "get ml-model mobilenet raw _tflite _v1 _resolution-224 _multiplier-1.0 _fp32"

Downloading from http://download.tensorflow.org/models/mobilenet_v1_2018_08_02/mobilenet_v1_1.0_224.tgz
Downloading to /home/susie.sun/CM/repos/local/cache/78749b76f6ee4674/mobilenet_v1_1.0_224.tgz

Downloaded: 100%
./
./mobilenet_v1_1.0_224.tflite
./mobilenet_v1_1.0_224.ckpt.meta
./mobilenet_v1_1.0_224.ckpt.index
./mobilenet_v1_1.0_224.ckpt.data-00000-of-00001
./mobilenet_v1_1.0_224_info.txt
./mobilenet_v1_1.0_224_frozen.pb
./mobilenet_v1_1.0_224_eval.pbtxt

Path to the ML model: /home/susie.sun/CM/repos/local/cache/78749b76f6ee4674/mobilenet_v1_1.0_224.tflite

* cm run script "get tensorflow lib _tflite"

  * cm run script "detect cpu"

    * cm run script "detect os"
           ! cd /home/susie.sun/CM/repos/local/cache/441bbe5c385e4ad8
           ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/run.sh from tmp-run.sh
           ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/customize.py
         ! cd /home/susie.sun/CM/repos/local/cache/441bbe5c385e4ad8
         ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-cpu/run.sh from tmp-run.sh
         ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-cpu/customize.py

  * cm run script "detect os"
         ! cd /home/susie.sun/CM/repos/local/cache/441bbe5c385e4ad8
         ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/run.sh from tmp-run.sh
         ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/customize.py

  * cm run script "get generic-python-lib _package.numpy"

    * cm run script "detect os"
           ! cd /home/susie.sun/CM/repos/local/cache/03dffa34cbdc4857
           ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/run.sh from tmp-run.sh
           ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/customize.py

    * cm run script "detect cpu"

      * cm run script "detect os"
             ! cd /home/susie.sun/CM/repos/local/cache/03dffa34cbdc4857
             ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/run.sh from tmp-run.sh
             ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/customize.py
           ! cd /home/susie.sun/CM/repos/local/cache/03dffa34cbdc4857
           ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-cpu/run.sh from tmp-run.sh
           ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-cpu/customize.py

    * cm run script "get python3"
         ! load /home/susie.sun/CM/repos/local/cache/38444f88746d4e25/cm-cached-state.json

Path to Python: /home/susie.sun/anaconda3/envs/mlperf/bin/python3
Python version: 3.10.0

    * cm run script "get generic-python-lib _pip"
         ! load /home/susie.sun/CM/repos/local/cache/d787f811b665437d/cm-cached-state.json
             ! cd /home/susie.sun/CM/repos/local/cache/03dffa34cbdc4857
             ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-generic-python-lib/run.sh from tmp-run.sh
             ! call "detect_version" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-generic-python-lib/customize.py
        Detected version: 1.26.4
         ! cd /home/susie.sun/CM/repos/local/cache/03dffa34cbdc4857
         ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-generic-python-lib/run.sh from tmp-run.sh
         ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-generic-python-lib/customize.py

  * cm run script "get python"
       ! load /home/susie.sun/CM/repos/local/cache/38444f88746d4e25/cm-cached-state.json

Path to Python: /home/susie.sun/anaconda3/envs/mlperf/bin/python3
Python version: 3.10.0

  * cm run script "gcc get"

    * cm run script "detect os"
           ! cd /home/susie.sun/CM/repos/local/cache/129c22f9c97d4583
           ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/run.sh from tmp-run.sh
           ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/customize.py
    - Searching for versions:  >= 9.3

      * /home/susie.sun/.local/bin/gcc
             ! cd /home/susie.sun/CM/repos/local/cache/129c22f9c97d4583
             ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-gcc/run.sh from tmp-run.sh

/home/susie.sun/.local/bin/gcc --version
/home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-gcc/run.sh: line 5: /home/susie.sun/.local/bin/gcc: No such file or directory

      * /usr/bin/gcc
             ! cd /home/susie.sun/CM/repos/local/cache/129c22f9c97d4583
             ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-gcc/run.sh from tmp-run.sh

/usr/bin/gcc --version
gcc (Ubuntu 7.5.0-6ubuntu2) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

             ! call "detect_version" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-gcc/customize.py
      Detected version: 7.5.0
      SKIPPED due to version constraints ...

      * /usr/bin/gcc-8
             ! cd /home/susie.sun/CM/repos/local/cache/129c22f9c97d4583
             ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-gcc/run.sh from tmp-run.sh

/usr/bin/gcc-8 --version
gcc-8 (Ubuntu 8.4.0-3ubuntu2) 8.4.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

             ! call "detect_version" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-gcc/customize.py
      Detected version: 8.4.0
      SKIPPED due to version constraints ...

      * /usr/bin/gcc-9
             ! cd /home/susie.sun/CM/repos/local/cache/129c22f9c97d4583
             ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-gcc/run.sh from tmp-run.sh

/usr/bin/gcc-9 --version
gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

             ! call "detect_version" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-gcc/customize.py
      Detected version: 9.4.0

      * /usr/bin/gcc-10
             ! cd /home/susie.sun/CM/repos/local/cache/129c22f9c97d4583
             ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-gcc/run.sh from tmp-run.sh

/usr/bin/gcc-10 --version
gcc-10 (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

             ! call "detect_version" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-gcc/customize.py
      Detected version: 10.5.0

      * /usr/bin/gcc-11
             ! cd /home/susie.sun/CM/repos/local/cache/129c22f9c97d4583
             ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-gcc/run.sh from tmp-run.sh

/usr/bin/gcc-11 --version
gcc-11 (Ubuntu 11.4.0-2ubuntu1~20.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

             ! call "detect_version" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-gcc/customize.py
      Detected version: 11.4.0

    Selected 0: /usr/bin/gcc-9

      # Found artifact in /usr/bin/gcc-9
         ! cd /home/susie.sun/CM/repos/local/cache/129c22f9c97d4583
         ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-gcc/run.sh from tmp-run.sh

/usr/bin/gcc-9 --version
gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

         ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-gcc/customize.py
      Detected version: 9.4.0

  * cm run script "get compiler-flags"

    * cm run script "detect cpu"

      * cm run script "detect os"
             ! cd /home/susie.sun/CM/repos/local/cache/129c22f9c97d4583
             ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/run.sh from tmp-run.sh
             ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/customize.py
           ! cd /home/susie.sun/CM/repos/local/cache/129c22f9c97d4583
           ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-cpu/run.sh from tmp-run.sh
           ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-cpu/customize.py

  * cm run script "get bazel"
    - Searching for versions:  == 6.5.0

    * cm run script "install bazel"

      * cm run script "detect os"
             ! cd /home/susie.sun/CM/repos/local/cache/708c52c4acb04d9d
             ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/run.sh from tmp-run.sh
             ! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/detect-os/customize.py
        # Requested version: 6.5.0
           ! cd /home/susie.sun/CM/repos/local/cache/708c52c4acb04d9d
           ! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/install-bazel/run.sh from tmp-run.sh

--2024-05-23 14:28:18-- https://github.com/bazelbuild/bazel/releases/download/6.5.0/bazel-6.5.0-installer-linux-x86_64.sh
Connecting to 10.10.60.103:7890... connected.
Proxy request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/20773773/6f2926f6-5ad0-44ce-aeaf-071ad279408c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240523%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240523T062819Z&X-Amz-Expires=300&X-Amz-Signature=f0ad97054bd8072e8b040f207ac6b5c66be71bf9688a61318052c4a681940752&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=20773773&response-content-disposition=attachment%3B%20filename%3Dbazel-6.5.0-installer-linux-x86_64.sh&response-content-type=application%2Foctet-stream [following]
--2024-05-23 14:28:19-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/20773773/6f2926f6-5ad0-44ce-aeaf-071ad279408c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240523%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240523T062819Z&X-Amz-Expires=300&X-Amz-Signature=f0ad97054bd8072e8b040f207ac6b5c66be71bf9688a61318052c4a681940752&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=20773773&response-content-disposition=attachment%3B%20filename%3Dbazel-6.5.0-installer-linux-x86_64.sh&response-content-type=application%2Foctet-stream
Connecting to 10.10.60.103:7890... connected.
Proxy request sent, awaiting response... 200 OK
Length: 51137599 (49M) [application/octet-stream]
Saving to: ‘bazel-6.5.0-installer-linux-x86_64.sh’

bazel-6.5.0-installer-linux-x86_64.sh 100%[==============================================================================================================================================>] 48.77M 6.87MB/s in 7.1s

2024-05-23 14:28:27 (6.86 MB/s) - ‘bazel-6.5.0-installer-linux-x86_64.sh’ saved [51137599/51137599]

Bazel installer

Bazel is bundled with software licensed under the GPLv2 with Classpath exception.
You can find the sources next to the installer on our release page:
https://github.com/bazelbuild/bazel/releases

Build information

  • Commit
    Uncompressing......WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a WORKSPACE file).
    Extracting Bazel installation...
    .

Bazel is now installed!

Make sure you have "/home/susie.sun/CM/repos/local/cache/708c52c4acb04d9d/bin" in your path.

For bash completion, add the following line to your ~/.bashrc:
source /home/susie.sun/CM/repos/local/cache/708c52c4acb04d9d/install/bin/bazel-complete.bash

For fish shell completion, link this file into your
/home/susie.sun/.config/fish/completions/ directory:
ln -s /home/susie.sun/CM/repos/local/cache/708c52c4acb04d9d/install/bin/bazel.fish /home/susie.sun/.config/fish/completions/bazel.fish

See http://bazel.build/docs/getting-started.html to start a new project!
Bazel is installed to /home/susie.sun/CM/repos/local/cache/708c52c4acb04d9d ...
! cd /home/susie.sun/CM/repos/local/cache/20c75dc531d14fdf
! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-bazel/run.sh from tmp-run.sh
! call "postprocess" from /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/get-bazel/customize.py
Detected version: 6.5.0
! cd /home/susie.sun/CM/repos/local/cache/441bbe5c385e4ad8
! call /home/susie.sun/CM/repos/mlcommons@cm4mlops/script/install-tensorflow-from-src/run.sh from tmp-run.sh
Cloning Tensorflow from https://github.com/tensorflow/tensorflow with branch master --depth 1...
Cloning into 'src'...
remote: Enumerating objects: 31950, done.
remote: Counting objects: 100% (31950/31950), done.
remote: Compressing objects: 100% (24447/24447), done.
remote: Total 31950 (delta 10675), reused 17399 (delta 6937), pack-reused 0
Receiving objects: 100% (31950/31950), 79.92 MiB | 6.71 MiB/s, done.
Resolving deltas: 100% (10675/10675), done.
Updating files: 100% (31915/31915), done.


/home/susie.sun/CM/repos/local/cache/708c52c4acb04d9d/install/bin/bazel build -c opt --define tflite_with_xnnpack=true //tensorflow/lite:libtensorflowlite.so
Starting local Bazel server and connecting to it...
INFO: Reading 'startup' options from /home/susie.sun/CM/repos/local/cache/441bbe5c385e4ad8/src/.bazelrc: --windows_enable_symlinks
INFO: Options provided by the client:
Inherited 'common' options: --isatty=1 --terminal_columns=245
INFO: Reading rc options for 'build' from /home/susie.sun/CM/repos/local/cache/441bbe5c385e4ad8/src/.bazelrc:
Inherited 'common' options: --experimental_repo_remote_exec
INFO: Reading rc options for 'build' from /home/susie.sun/CM/repos/local/cache/441bbe5c385e4ad8/src/.bazelrc:
'build' options: --define framework_shared_object=true --define tsl_protobuf_header_only=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --features=-force_no_whole_archive --enable_platform_specific_config --define=with_xla_support=true --config=short_logs --config=v2 --define=no_aws_support=true --define=no_hdfs_support=true --experimental_cc_shared_library --experimental_link_static_libraries_once=false --incompatible_enforce_config_setting_visibility
INFO: Found applicable config definition build:short_logs in file /home/susie.sun/CM/repos/local/cache/441bbe5c385e4ad8/src/.bazelrc: --output_filter=DONT_MATCH_ANYTHING
INFO: Found applicable config definition build:v2 in file /home/susie.sun/CM/repos/local/cache/441bbe5c385e4ad8/src/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
INFO: Found applicable config definition build:linux in file /home/susie.sun/CM/repos/local/cache/441bbe5c385e4ad8/src/.bazelrc: --host_copt=-w --copt=-Wno-all --copt=-Wno-extra --copt=-Wno-deprecated --copt=-Wno-deprecated-declarations --copt=-Wno-ignored-attributes --copt=-Wno-array-bounds --copt=-Wunused-result --copt=-Werror=unused-result --copt=-Wswitch --copt=-Werror=switch --copt=-Wno-error=unused-but-set-variable --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --config=dynamic_kernels --experimental_guard_against_concurrent_changes
INFO: Found applicable config definition build:dynamic_kernels in file /home/susie.sun/CM/repos/local/cache/441bbe5c385e4ad8/src/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS
DEBUG: /home/susie.sun/CM/repos/local/cache/441bbe5c385e4ad8/src/tensorflow/tools/toolchains/python/python_repo.bzl:32:14:
TF_PYTHON_VERSION environment variable was not set correctly; using Python 3.11.

To set Python version, run:
export TF_PYTHON_VERSION=3.11
INFO: Analyzed target //tensorflow/lite:libtensorflowlite.so (102 packages loaded, 2755 targets configured).
INFO: Found 1 target...
ERROR: /home/susie.sun/.cache/bazel/_bazel_susie.sun/c4ee57410c5fc2d20a0ef98cfbbf1bde/external/XNNPACK/BUILD.bazel:1887:19: Compiling src/amalgam/gen/avxvnni.c failed: (Exit 1): gcc failed: error executing command (from target @XNNPACK//:avxvnni_prod_microkernels) /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 48 arguments skipped)
gcc: error: unrecognized command line option '-mavxvnni'; did you mean '-mavx'?
Target //tensorflow/lite:libtensorflowlite.so failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 615.500s, Critical Path: 0.41s
INFO: 351 processes: 327 internal, 24 local.
FAILED: Build did NOT complete successfully

CM error: Portable CM script failed (name = install-tensorflow-from-src, return code = 256)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Note that it is often a portability issue of a third-party tool or a native script
wrapped and unified by this CM script (automation recipe). Please re-run
this script with --repro flag and report this issue with the original
command line, cm-repro directory and full log here:

https://github.com/mlcommons/cm4mlops/issues

The CM concept is to collaboratively fix such issues inside portable CM scripts
to make existing tools and native scripts more portable, interoperable
and deterministic. Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce cm run script "run mobilenet-models _tflite _accuracy-only" with the shown compiler and results arguments, then isolate the first failing command in the MLPerf inference or TFLite execution flow. The report does not identify a source file, failure message, or expected behavior, so the work is complete only once the failure and a verifiable correction are defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.