Skip to content

Commit

Permalink
Run plaidbench now that there are universal pips. (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Retford committed Oct 26, 2017
1 parent 1393b40 commit d4aefa8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Expand Up @@ -22,15 +22,13 @@ before_install:
- sudo ./install.sh --cli-mode --silent ../tools/intel-ocl-silent
- popd
- pip install tensorflow theano setuptools
- git clone http://github.com/plaidml/plaidbench
# TODO(https://github.com/plaidml/plaidml/issues/20): Reenable once python3 wheel is avilable
# - pip install -r plaidbench/requirements.txt
- git clone http://github.com/plaidml/plaidbench
- pip install -r plaidbench/requirements.txt

install:
- bazel build -c opt plaidml:wheel plaidml/keras:wheel
- pip install bazel-bin/plaidml/*whl bazel-bin/plaidml/keras/*whl

script:
# TODO(https://github.com/plaidml/plaidml/issues/20): Reenable once python3 wheel is avilable
# - PLAIDML_EXPERIMENTAL=1 python plaidbench/plaidbench.py mobilenet
- PLAIDML_EXPERIMENTAL=1 python plaidbench/plaidbench.py mobilenet
- bazel test -c opt --force_python=$BZL_PY_VER plaidml/keras:backend_test

0 comments on commit d4aefa8

Please sign in to comment.