Use TFLite runtime on RPi3/RPi4

This commit is contained in:
Alexandre Lissy 2019-09-20 19:45:19 +02:00
parent 58fdd55eea
commit 4103247a21
38 changed files with 139 additions and 36 deletions

View File

@ -23,4 +23,4 @@ build:
tests_cmdline: '' tests_cmdline: ''
convert_graphdef: '' convert_graphdef: ''
benchmark_model_bin: '' benchmark_model_bin: ''
tensorflow_git_desc: 'TensorFlow: v1.14.0-14-g1aad02a' tensorflow_git_desc: 'TensorFlow: v1.14.0-16-g3b4ce37'

View File

@ -12,7 +12,7 @@ build:
system_config: system_config:
> >
${swig.patch_nodejs.linux} ${swig.patch_nodejs.linux}
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.android-arm64/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.android-arm64/artifacts/public/home.tar.xz"
scripts: scripts:
build: "taskcluster/android-build.sh arm64-v8a" build: "taskcluster/android-build.sh arm64-v8a"
package: "taskcluster/android-package.sh arm64-v8a" package: "taskcluster/android-package.sh arm64-v8a"

View File

@ -12,7 +12,7 @@ build:
system_config: system_config:
> >
${swig.patch_nodejs.linux} ${swig.patch_nodejs.linux}
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.android-armv7/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.android-armv7/artifacts/public/home.tar.xz"
scripts: scripts:
build: "taskcluster/android-build.sh armeabi-v7a" build: "taskcluster/android-build.sh armeabi-v7a"
package: "taskcluster/android-package.sh armeabi-v7a" package: "taskcluster/android-package.sh armeabi-v7a"

View File

@ -13,7 +13,7 @@ build:
system_setup: system_setup:
> >
apt-get -qq -y install curl && ${swig.packages.install_script} apt-get -qq -y install curl && ${swig.packages.install_script}
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.android-armv7/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.android-armv7/artifacts/public/home.tar.xz"
scripts: scripts:
build: "taskcluster/android-apk-build.sh" build: "taskcluster/android-apk-build.sh"
package: "taskcluster/android-apk-package.sh" package: "taskcluster/android-apk-package.sh"

View File

@ -12,7 +12,7 @@ build:
system_config: system_config:
> >
${swig.patch_nodejs.linux} ${swig.patch_nodejs.linux}
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.android-arm64/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.android-arm64/artifacts/public/home.tar.xz"
scripts: scripts:
build: "taskcluster/android-build.sh x86_64" build: "taskcluster/android-build.sh x86_64"
package: "taskcluster/android-package.sh x86_64" package: "taskcluster/android-package.sh x86_64"

View File

@ -6,7 +6,7 @@ build:
- "index.project.deepspeech.deepspeech.native_client.osx.${event.head.sha}" - "index.project.deepspeech.deepspeech.native_client.osx.${event.head.sha}"
- "notify.irc-channel.${notifications.irc}.on-exception" - "notify.irc-channel.${notifications.irc}.on-exception"
- "notify.irc-channel.${notifications.irc}.on-failed" - "notify.irc-channel.${notifications.irc}.on-failed"
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.osx/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.osx/artifacts/public/home.tar.xz"
scripts: scripts:
build: "taskcluster/host-build.sh" build: "taskcluster/host-build.sh"
package: "taskcluster/package.sh" package: "taskcluster/package.sh"

View File

@ -6,7 +6,7 @@ build:
- "index.project.deepspeech.deepspeech.native_client.osx-ctc.${event.head.sha}" - "index.project.deepspeech.deepspeech.native_client.osx-ctc.${event.head.sha}"
- "notify.irc-channel.${notifications.irc}.on-exception" - "notify.irc-channel.${notifications.irc}.on-exception"
- "notify.irc-channel.${notifications.irc}.on-failed" - "notify.irc-channel.${notifications.irc}.on-failed"
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.osx/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.osx/artifacts/public/home.tar.xz"
maxRunTime: 14400 maxRunTime: 14400
scripts: scripts:
build: 'taskcluster/decoder-build.sh' build: 'taskcluster/decoder-build.sh'

View File

@ -6,7 +6,7 @@ build:
- "index.project.deepspeech.deepspeech.native_client.osx-tflite.${event.head.sha}" - "index.project.deepspeech.deepspeech.native_client.osx-tflite.${event.head.sha}"
- "notify.irc-channel.${notifications.irc}.on-exception" - "notify.irc-channel.${notifications.irc}.on-exception"
- "notify.irc-channel.${notifications.irc}.on-failed" - "notify.irc-channel.${notifications.irc}.on-failed"
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.osx/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.osx/artifacts/public/home.tar.xz"
scripts: scripts:
build: "taskcluster/host-build.sh tflite" build: "taskcluster/host-build.sh tflite"
package: "taskcluster/package.sh" package: "taskcluster/package.sh"

View File

@ -14,7 +14,7 @@ build:
system_config: system_config:
> >
${swig.patch_nodejs.linux} ${swig.patch_nodejs.linux}
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.cpu/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.cpu/artifacts/public/home.tar.xz"
scripts: scripts:
build: "taskcluster/host-build.sh" build: "taskcluster/host-build.sh"
package: "taskcluster/package.sh" package: "taskcluster/package.sh"

View File

@ -14,7 +14,7 @@ build:
system_config: system_config:
> >
${swig.patch_nodejs.linux} ${swig.patch_nodejs.linux}
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.cpu/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.cpu/artifacts/public/home.tar.xz"
scripts: scripts:
build: 'taskcluster/decoder-build.sh' build: 'taskcluster/decoder-build.sh'
package: 'taskcluster/decoder-package.sh' package: 'taskcluster/decoder-package.sh'

View File

@ -12,7 +12,7 @@ build:
system_config: system_config:
> >
${swig.patch_nodejs.linux} ${swig.patch_nodejs.linux}
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.gpu/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.gpu/artifacts/public/home.tar.xz"
maxRunTime: 14400 maxRunTime: 14400
scripts: scripts:
build: "taskcluster/cuda-build.sh" build: "taskcluster/cuda-build.sh"

View File

@ -14,7 +14,7 @@ build:
system_config: system_config:
> >
${swig.patch_nodejs.linux} ${swig.patch_nodejs.linux}
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.cpu/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.cpu/artifacts/public/home.tar.xz"
scripts: scripts:
build: "taskcluster/host-build.sh tflite" build: "taskcluster/host-build.sh tflite"
package: "taskcluster/package.sh" package: "taskcluster/package.sh"

View File

@ -4,7 +4,7 @@ build:
- "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.arm64" - "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.arm64"
- "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.${event.head.sha}.arm64" - "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.${event.head.sha}.arm64"
- "index.project.deepspeech.deepspeech.native_client.arm64.${event.head.sha}" - "index.project.deepspeech.deepspeech.native_client.arm64.${event.head.sha}"
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.arm64/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.arm64/artifacts/public/home.tar.xz"
## multistrap 2.2.0-ubuntu1 is broken in 14.04: https://bugs.launchpad.net/ubuntu/+source/multistrap/+bug/1313787 ## multistrap 2.2.0-ubuntu1 is broken in 14.04: https://bugs.launchpad.net/ubuntu/+source/multistrap/+bug/1313787
system_setup: system_setup:
> >

View File

@ -4,7 +4,7 @@ build:
- "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.arm" - "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.arm"
- "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.${event.head.sha}.arm" - "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.${event.head.sha}.arm"
- "index.project.deepspeech.deepspeech.native_client.arm.${event.head.sha}" - "index.project.deepspeech.deepspeech.native_client.arm.${event.head.sha}"
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.arm/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.arm/artifacts/public/home.tar.xz"
## multistrap 2.2.0-ubuntu1 is broken in 14.04: https://bugs.launchpad.net/ubuntu/+source/multistrap/+bug/1313787 ## multistrap 2.2.0-ubuntu1 is broken in 14.04: https://bugs.launchpad.net/ubuntu/+source/multistrap/+bug/1313787
system_setup: system_setup:
> >

View File

@ -17,7 +17,7 @@ build:
system_config: system_config:
> >
${swig.patch_nodejs.linux} ${swig.patch_nodejs.linux}
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.cpu/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.cpu/artifacts/public/home.tar.xz"
scripts: scripts:
build: "taskcluster/node-build.sh" build: "taskcluster/node-build.sh"
package: "taskcluster/node-package.sh" package: "taskcluster/node-package.sh"

View File

@ -14,7 +14,7 @@ build:
system_config: system_config:
> >
${swig.patch_nodejs.linux} ${swig.patch_nodejs.linux}
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.cpu/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.cpu/artifacts/public/home.tar.xz"
scripts: scripts:
build: "taskcluster/node-build.sh --cuda" build: "taskcluster/node-build.sh --cuda"
package: "taskcluster/node-package.sh" package: "taskcluster/node-package.sh"

View File

@ -6,7 +6,7 @@ source $(dirname "$0")/tc-tests-utils.sh
model_source=${DEEPSPEECH_TEST_MODEL//.pb/.tflite} model_source=${DEEPSPEECH_TEST_MODEL//.pb/.tflite}
model_name=$(basename "${model_source}") model_name=$(basename "${model_source}")
export DEEPSPEECH_ARTIFACTS_ROOT=${DEEPSPEECH_ARTIFACTS_TFLITE_ROOT} model_name_mmap=$(basename "${model_source}")
export DATA_TMP_DIR=${TASKCLUSTER_TMP_DIR} export DATA_TMP_DIR=${TASKCLUSTER_TMP_DIR}
download_material "${TASKCLUSTER_TMP_DIR}/ds" download_material "${TASKCLUSTER_TMP_DIR}/ds"
@ -15,4 +15,8 @@ export PATH=${TASKCLUSTER_TMP_DIR}/ds/:$PATH
check_tensorflow_version check_tensorflow_version
run_tflite_basic_inference_tests run_all_inference_tests
run_multi_inference_tests
run_cpp_only_inference_tests

View File

@ -0,0 +1,18 @@
#!/bin/bash
set -xe
source $(dirname "$0")/tc-tests-utils.sh
model_source=${DEEPSPEECH_TEST_MODEL//.pb/.tflite}
model_name=$(basename "${model_source}")
export DEEPSPEECH_ARTIFACTS_ROOT=${DEEPSPEECH_ARTIFACTS_TFLITE_ROOT}
export DATA_TMP_DIR=${TASKCLUSTER_TMP_DIR}
download_material "${TASKCLUSTER_TMP_DIR}/ds"
export PATH=${TASKCLUSTER_TMP_DIR}/ds/:$PATH
check_tensorflow_version
run_tflite_basic_inference_tests

View File

@ -0,0 +1,32 @@
#!/bin/bash
set -xe
source $(dirname "$0")/tc-tests-utils.sh
nodever=$1
if [ -z "${nodever}" ]; then
echo "No node version given, aborting."
exit 1
fi;
model_source=${DEEPSPEECH_TEST_MODEL//.pb/.tflite}
model_name=$(basename "${model_source}")
model_name_mmap=$(basename "${model_source}")
download_data
node --version
npm --version
NODE_ROOT="${DS_ROOT_TASK}/ds-test/"
NODE_CACHE="${DS_ROOT_TASK}/ds-test.cache/"
export NODE_PATH="${NODE_ROOT}/node_modules/"
export PATH="${NODE_ROOT}:${NODE_PATH}/.bin/:$PATH"
npm install --prefix ${NODE_ROOT} --cache ${NODE_CACHE} ${DEEPSPEECH_NODEJS}/deepspeech-${DS_VERSION}.tgz
check_runtime_nodejs
run_all_inference_tests

View File

@ -0,0 +1,49 @@
#!/bin/bash
set -xe
source $(dirname "$0")/tc-tests-utils.sh
extract_python_versions "$1" "pyver" "pyver_pkg" "py_unicode_type" "pyconf" "pyalias"
unset PYTHON_BIN_PATH
unset PYTHONPATH
if [ -d "${DS_ROOT_TASK}/pyenv.cache/" ]; then
export PYENV_ROOT="${DS_ROOT_TASK}/pyenv.cache/ds-test/.pyenv"
else
export PYENV_ROOT="${DS_ROOT_TASK}/ds-test/.pyenv"
fi;
export PATH="${PYENV_ROOT}/bin:$PATH"
mkdir -p ${PYENV_ROOT} || true
model_source=${DEEPSPEECH_TEST_MODEL//.pb/.tflite}
model_name=$(basename "${model_source}")
model_name_mmap=$(basename "${model_source}")
download_data
install_pyenv "${PYENV_ROOT}"
install_pyenv_virtualenv "$(pyenv root)/plugins/pyenv-virtualenv"
maybe_ssl102_py37 ${pyver}
maybe_numpy_min_version_winamd64 ${pyver}
PYENV_NAME=deepspeech-test
LD_LIBRARY_PATH=${PY37_LDPATH}:$LD_LIBRARY_PATH PYTHON_CONFIGURE_OPTS="--enable-unicode=${pyconf} ${PY37_OPENSSL} ${EXTRA_PYTHON_CONFIGURE_OPTS}" pyenv_install ${pyver} ${pyalias}
setup_pyenv_virtualenv "${pyalias}" "${PYENV_NAME}"
virtualenv_activate "${pyalias}" "${PYENV_NAME}"
deepspeech_pkg_url=$(get_python_pkg_url ${pyver_pkg} ${py_unicode_type})
LD_LIBRARY_PATH=${PY37_LDPATH}:$LD_LIBRARY_PATH pip install --verbose --only-binary :all: ${PY37_SOURCE_PACKAGE} --upgrade ${deepspeech_pkg_url} | cat
which deepspeech
deepspeech --version
run_all_inference_tests
virtualenv_deactivate "${pyalias}" "${PYENV_NAME}"

View File

@ -4,7 +4,7 @@ build:
- "linux-rpi3-cpu-opt" - "linux-rpi3-cpu-opt"
- "test-training_upstream-linux-amd64-py35m-opt" - "test-training_upstream-linux-amd64-py35m-opt"
args: args:
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-cpp-ds-tests.sh" tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-cpp_tflite-ds-tests.sh"
metadata: metadata:
name: "DeepSpeech Raspbian RPi3/ARMv7 CPU C++ tests" name: "DeepSpeech Raspbian RPi3/ARMv7 CPU C++ tests"
description: "Testing DeepSpeech C++ for Raspbian RPi3/ARMv7, CPU only, optimized version" description: "Testing DeepSpeech C++ for Raspbian RPi3/ARMv7, CPU only, optimized version"

View File

@ -7,7 +7,7 @@ build:
> >
${cpp.brew.setup} && ${cpp.brew.packages} && ${cpp.brew.env} ${cpp.brew.setup} && ${cpp.brew.packages} && ${cpp.brew.env}
args: args:
tests_cmdline: "$TASKCLUSTER_TASK_DIR/DeepSpeech/ds/taskcluster/tc-cpp_tflite-ds-tests.sh" tests_cmdline: "$TASKCLUSTER_TASK_DIR/DeepSpeech/ds/taskcluster/tc-cpp_tflite_basic-ds-tests.sh"
metadata: metadata:
name: "DeepSpeech OSX AMD64 TFlite C++ tests" name: "DeepSpeech OSX AMD64 TFlite C++ tests"
description: "Testing DeepSpeech C++ for OSX/AMD64, TFLite, optimized version" description: "Testing DeepSpeech C++ for OSX/AMD64, TFLite, optimized version"

View File

@ -4,7 +4,7 @@ build:
- "linux-amd64-tflite-opt" - "linux-amd64-tflite-opt"
- "test-training_upstream-linux-amd64-py35m-opt" - "test-training_upstream-linux-amd64-py35m-opt"
args: args:
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-cpp_tflite-ds-tests.sh" tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-cpp_tflite_basic-ds-tests.sh"
metadata: metadata:
name: "DeepSpeech Linux AMD64 TFLite C++ tests" name: "DeepSpeech Linux AMD64 TFLite C++ tests"
description: "Testing DeepSpeech C++ for Linux/AMD64, TFLite, optimized version" description: "Testing DeepSpeech C++ for Linux/AMD64, TFLite, optimized version"

View File

@ -4,7 +4,7 @@ build:
- "win-amd64-tflite-opt" - "win-amd64-tflite-opt"
- "test-training_upstream-linux-amd64-py35m-opt" - "test-training_upstream-linux-amd64-py35m-opt"
args: args:
tests_cmdline: "$TASKCLUSTER_TASK_DIR/DeepSpeech/ds/taskcluster/tc-cpp_tflite-ds-tests.sh" tests_cmdline: "$TASKCLUSTER_TASK_DIR/DeepSpeech/ds/taskcluster/tc-cpp_tflite_basic-ds-tests.sh"
metadata: metadata:
name: "DeepSpeech Windows AMD64 TFLite C++ tests" name: "DeepSpeech Windows AMD64 TFLite C++ tests"
description: "Testing DeepSpeech C++ for Windows/AMD64, TFLite, optimized version" description: "Testing DeepSpeech C++ for Windows/AMD64, TFLite, optimized version"

View File

@ -4,7 +4,7 @@ build:
- "test-training_upstream-linux-amd64-py35m-opt" - "test-training_upstream-linux-amd64-py35m-opt"
args: args:
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-lite_benchmark_model-ds-tests.sh" tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-lite_benchmark_model-ds-tests.sh"
benchmark_model_bin: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.cpu/artifacts/public/lite_benchmark_model" benchmark_model_bin: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.cpu/artifacts/public/lite_benchmark_model"
metadata: metadata:
name: "DeepSpeech Linux AMD64 CPU TF Lite benchmark_model" name: "DeepSpeech Linux AMD64 CPU TF Lite benchmark_model"
description: "Testing DeepSpeech TF Lite benchmark_model for Linux/AMD64, CPU only, optimized version" description: "Testing DeepSpeech TF Lite benchmark_model for Linux/AMD64, CPU only, optimized version"

View File

@ -7,7 +7,7 @@ build:
> >
${nodejs.packages_buster.prep_10} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt} ${nodejs.packages_buster.prep_10} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt}
args: args:
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node-tests.sh 10.x" tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests.sh 10.x"
metadata: metadata:
name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 10.x tests" name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 10.x tests"
description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v10.x, CPU only, optimized version" description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v10.x, CPU only, optimized version"

View File

@ -7,7 +7,7 @@ build:
> >
${nodejs.packages_buster.prep_11} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt} ${nodejs.packages_buster.prep_11} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt}
args: args:
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node-tests.sh 11.x" tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests.sh 11.x"
metadata: metadata:
name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 11.x tests" name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 11.x tests"
description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v11.x, CPU only, optimized version" description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v11.x, CPU only, optimized version"

View File

@ -7,7 +7,7 @@ build:
> >
${nodejs.packages_buster.prep_12} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt} ${nodejs.packages_buster.prep_12} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt}
args: args:
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node-tests.sh 12.x" tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests.sh 12.x"
metadata: metadata:
name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 12.x tests" name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 12.x tests"
description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v12.x, CPU only, optimized version" description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v12.x, CPU only, optimized version"

View File

@ -7,7 +7,7 @@ build:
> >
${nodejs.packages_buster.prep_4} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt} ${nodejs.packages_buster.prep_4} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt}
args: args:
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node-tests.sh 4.x" tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests.sh 4.x"
metadata: metadata:
name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 4.x tests" name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 4.x tests"
description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v4.x, CPU only, optimized version" description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v4.x, CPU only, optimized version"

View File

@ -7,7 +7,7 @@ build:
> >
${nodejs.packages_buster.prep_6} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt} ${nodejs.packages_buster.prep_6} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt}
args: args:
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node-tests.sh 6.x" tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests.sh 6.x"
metadata: metadata:
name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 6.x tests" name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 6.x tests"
description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v6.x, CPU only, optimized version" description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v6.x, CPU only, optimized version"

View File

@ -7,7 +7,7 @@ build:
> >
${nodejs.packages_buster.prep_7} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt} ${nodejs.packages_buster.prep_7} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt}
args: args:
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node-tests.sh 7.x" tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests.sh 7.x"
metadata: metadata:
name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 7.x tests" name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 7.x tests"
description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v7.x, CPU only, optimized version" description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v7.x, CPU only, optimized version"

View File

@ -7,7 +7,7 @@ build:
> >
${nodejs.packages_buster.prep_8} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt} ${nodejs.packages_buster.prep_8} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt}
args: args:
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node-tests.sh 8.x" tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests.sh 8.x"
metadata: metadata:
name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 8.x tests" name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 8.x tests"
description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v8.x, CPU only, optimized version" description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v8.x, CPU only, optimized version"

View File

@ -7,7 +7,7 @@ build:
> >
${nodejs.packages_buster.prep_9} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt} ${nodejs.packages_buster.prep_9} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt}
args: args:
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node-tests.sh 9.x" tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests.sh 9.x"
metadata: metadata:
name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 9.x tests" name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 9.x tests"
description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v9.x, CPU only, optimized version" description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v9.x, CPU only, optimized version"

View File

@ -7,7 +7,7 @@ build:
> >
apt-get -qq -y install ${python.packages_buster.apt} apt-get -qq -y install ${python.packages_buster.apt}
args: args:
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-python-tests.sh 3.7.3:m" tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-python_tflite-tests.sh 3.7.3:m"
metadata: metadata:
name: "DeepSpeech Raspbian RPi3/ARMv7 CPU Python v3.7 tests" name: "DeepSpeech Raspbian RPi3/ARMv7 CPU Python v3.7 tests"
description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on Python v3.7, CPU only, optimized version" description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on Python v3.7, CPU only, optimized version"

View File

@ -7,7 +7,7 @@ build:
apt-get -qq -y install ${python.packages_trusty.apt} apt-get -qq -y install ${python.packages_trusty.apt}
args: args:
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-train-tests.sh 3.5.5:m" tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-train-tests.sh 3.5.5:m"
convert_graphdef: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.cpu/artifacts/public/convert_graphdef_memmapped_format" convert_graphdef: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.cpu/artifacts/public/convert_graphdef_memmapped_format"
metadata: metadata:
name: "DeepSpeech Linux AMD64 CPU upstream training Py3.5" name: "DeepSpeech Linux AMD64 CPU upstream training Py3.5"
description: "Training a DeepSpeech LDC93S1 model for Linux/AMD64 using upstream TensorFlow Python 3.5, CPU only, optimized version" description: "Training a DeepSpeech LDC93S1 model for Linux/AMD64 using upstream TensorFlow Python 3.5, CPU only, optimized version"

View File

@ -6,7 +6,7 @@ build:
- "index.project.deepspeech.deepspeech.native_client.win.${event.head.sha}" - "index.project.deepspeech.deepspeech.native_client.win.${event.head.sha}"
- "notify.irc-channel.${notifications.irc}.on-exception" - "notify.irc-channel.${notifications.irc}.on-exception"
- "notify.irc-channel.${notifications.irc}.on-failed" - "notify.irc-channel.${notifications.irc}.on-failed"
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.win/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.win/artifacts/public/home.tar.xz"
scripts: scripts:
build: "taskcluster/win-build.sh" build: "taskcluster/win-build.sh"
package: "taskcluster/win-package.sh" package: "taskcluster/win-package.sh"

View File

@ -6,7 +6,7 @@ build:
- "index.project.deepspeech.deepspeech.native_client.win-cuda.${event.head.sha}" - "index.project.deepspeech.deepspeech.native_client.win-cuda.${event.head.sha}"
- "notify.irc-channel.${notifications.irc}.on-exception" - "notify.irc-channel.${notifications.irc}.on-exception"
- "notify.irc-channel.${notifications.irc}.on-failed" - "notify.irc-channel.${notifications.irc}.on-failed"
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.win-cuda/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.win-cuda/artifacts/public/home.tar.xz"
scripts: scripts:
build: "taskcluster/win-build.sh --cuda" build: "taskcluster/win-build.sh --cuda"
package: "taskcluster/win-package.sh" package: "taskcluster/win-package.sh"

View File

@ -6,7 +6,7 @@ build:
- "index.project.deepspeech.deepspeech.native_client.win-tflite.${event.head.sha}" - "index.project.deepspeech.deepspeech.native_client.win-tflite.${event.head.sha}"
- "notify.irc-channel.${notifications.irc}.on-exception" - "notify.irc-channel.${notifications.irc}.on-exception"
- "notify.irc-channel.${notifications.irc}.on-failed" - "notify.irc-channel.${notifications.irc}.on-failed"
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.1aad02a78e90307c9caf9dd617a1af747d2aa9a8.win/artifacts/public/home.tar.xz" tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.14.3b4ce374f526a3e493728c9832b398dca826bd8e.win/artifacts/public/home.tar.xz"
scripts: scripts:
build: "taskcluster/win-build.sh tflite" build: "taskcluster/win-build.sh tflite"
package: "taskcluster/win-package.sh" package: "taskcluster/win-package.sh"