forked from apache/tvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Migrate Tensorflow and Tensorflow lite in CI to 2.1.0 (apache#5392)
* Migrate Tensorflow and TFLite in the CI up to 1.15.2 The latest stable version of Tensorflow and Tensorflow lite in the 1.x series is 1.15.2. The tflite frontend is receiving support for versions of tflite > 1.14 but there is no consistent testing. There are 2 failures already in the source base with tf 1.15 and I'm concerned this will just get exacerbated over time if we don't have CI picking this up and I view this as a stepping stone towards stepping CI to TF2.x. The test failures that I have commented will get issues raised for them as issues to be fixed. * Comment out run of qnn_mobilenet_v3_net This is another test that fails with TFlite 1.15.2 * Skip the qnn_mobilenet_v3 test in the pytest fashion. * Switch docker versions to support Tensorflow 2.1.0 * Fix up pytest imports and usage. * Skip these tests currently for Tensorflow 2.1.0
- Loading branch information
Showing
4 changed files
with
27 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ set -u | |
set -o pipefail | ||
|
||
# Download, build and install flatbuffers | ||
git clone --branch=v1.10.0 --depth=1 --recursive https://github.com/google/flatbuffers.git | ||
git clone --branch=v1.12.0 --depth=1 --recursive https://github.com/google/flatbuffers.git | ||
cd flatbuffers | ||
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release | ||
make install -j8 | ||
|
@@ -35,15 +35,15 @@ pip2 install flatbuffers | |
# Setup tflite from schema | ||
mkdir tflite | ||
cd tflite | ||
wget -q https://raw.githubusercontent.com/tensorflow/tensorflow/r1.13/tensorflow/lite/schema/schema.fbs | ||
wget -q https://raw.githubusercontent.com/tensorflow/tensorflow/r2.1/tensorflow/lite/schema/schema.fbs | ||
flatc --python schema.fbs | ||
|
||
cat <<EOM >setup.py | ||
import setuptools | ||
setuptools.setup( | ||
name="tflite", | ||
version="1.13.1", | ||
version="2.1.0", | ||
author="google", | ||
author_email="[email protected]", | ||
description="TFLite", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters