From d6d2f023bd8e6bc134ce851ae04fcd9901beed7e Mon Sep 17 00:00:00 2001 From: Hugh Perkins Date: Thu, 10 Nov 2016 02:09:21 +0000 Subject: [PATCH] update results for v0.13.0, and update cuda-on-cl to latest version, which is resonsible for these results --- README.md | 43 +++++++------------ .../stream_executor/cl/test/test_tf3.py | 2 +- third_party/cuda-on-cl | 2 +- 3 files changed, 18 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 4b6f0aba1..df14953de 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Please see the main repository for full Tensorflow documentation. This readme w - the tensorflow non-gpu installation pre-requisites, - an OpenCL 1.2-enabled GPU, and OpenCL 1.2-enabled drivers - python 3 -- Simply download https://github.com/hughperkins/tensorflow-cl/releases/download/v0.12.1/tensorflow-0.11.0rc0-py3-none-any.whl , and +- Simply download https://github.com/hughperkins/tensorflow-cl/releases/download/v0.13.0/tensorflow-0.11.0rc0-py3-none-any.whl , and - Install using pip: ``` pip install --upgrade tensorflow-0.11.0rc0-py3-none-any.whl @@ -85,37 +85,21 @@ Piccie of running Aymeric Damien's [linear_regression.py](https://github.com/hug -## Test results, on v0.11.0 wheel +## Test results, on v0.13.0 wheel | test | Intel HD5500 | NVIDIA K520 | |----- |-------|-----| |test_tf.py| ok | ok | | test_tf2.py | ok | ok | -| test_tf3.py | fails for pow | ok | -| test_tf4.py | fails for all | ok | -| test_blas.py | ok | not ok | -| test_reductions.py | fails for all except reduce_mean | ok | -| [linear_regression.py](https://github.com/hughperkins/TensorFlow-Examples/blob/enforce-gpu/examples/2_BasicModels/linear_regression.py) | runs, but cost seems wrong | ok | -| [logistic_regression.py](https://github.com/hughperkins/TensorFlow-Examples/blob/enforce-gpu/examples/2_BasicModels/logistic_regression.py) | epoch 1 ok, then memory error | ok | -| [nearest_neighbor.py](https://github.com/hughperkins/TensorFlow-Examples/blob/enforce-gpu/examples/2_BasicModels/nearest_neighbor.py) | accuracy 0.12, seems a bit low... | ok | -| [multilayer_perceptron.py](https://github.com/hughperkins/TensorFlow-Examples/blob/enforce-gpu/examples/3_NeuralNetworks/multilayer_perceptron.py) | cost is nan | a bit slow, otherwise seems ok | -| [recurrent_network.py](https://github.com/hughperkins/TensorFlow-Examples/blob/enforce-gpu/examples/3_NeuralNetworks/recurrent_network.py) | loss nan, accuracy broken | cost looks ok, accuracy seems broken | - -## Test results, on v0.12.0 wheel - -| test | Intel HD5500 | NVIDIA K520 | -|----- |-------|-----| -|test_tf.py| ok | ok | -| test_tf2.py | ok | ok | -| test_tf3.py | all ok, except `not_equal` | all ok, except `not_equal` | -| test_tf4.py | ok :-) | ok | -| test_blas.py | runs ok, but segfault at end | not tested | -| test_reductions.py | all pass :-) | not tested | -| [linear_regression.py](https://github.com/hughperkins/TensorFlow-Examples/blob/enforce-gpu/examples/2_BasicModels/linear_regression.py) | runs, but spamtastic | not tested | -| [logistic_regression.py](https://github.com/hughperkins/TensorFlow-Examples/blob/enforce-gpu/examples/2_BasicModels/logistic_regression.py) | either slow or blocked | not tested | -| [nearest_neighbor.py](https://github.com/hughperkins/TensorFlow-Examples/blob/enforce-gpu/examples/2_BasicModels/nearest_neighbor.py) | either slow or blocked | not tested | -| [multilayer_perceptron.py](https://github.com/hughperkins/TensorFlow-Examples/blob/enforce-gpu/examples/3_NeuralNetworks/multilayer_perceptron.py) | either slow or blocked | not tested | -| [recurrent_network.py](https://github.com/hughperkins/TensorFlow-Examples/blob/enforce-gpu/examples/3_NeuralNetworks/recurrent_network.py) | either slow or blocked | not tested | +| test_tf3.py | ok | ok | +| test_tf4.py | ok | ok | +| test_blas.py | runs ok, but segfault at end | ok, but segfault at end | +| test_reductions.py | ok | ok | +| [linear_regression.py](https://github.com/hughperkins/TensorFlow-Examples/blob/enforce-gpu/examples/2_BasicModels/linear_regression.py) | ok | ok | +| [logistic_regression.py](https://github.com/hughperkins/TensorFlow-Examples/blob/enforce-gpu/examples/2_BasicModels/logistic_regression.py) | cost is nan | ok | +| [nearest_neighbor.py](https://github.com/hughperkins/TensorFlow-Examples/blob/enforce-gpu/examples/2_BasicModels/nearest_neighbor.py) | accuracy 0.12, seems a little low | accuracy 0.12, seems a bit low | +| [multilayer_perceptron.py](https://github.com/hughperkins/TensorFlow-Examples/blob/enforce-gpu/examples/3_NeuralNetworks/multilayer_perceptron.py) | a bit slow, otherwise seems ok | a bit slow, otherwise seems ok | +| [recurrent_network.py](https://github.com/hughperkins/TensorFlow-Examples/blob/enforce-gpu/examples/3_NeuralNetworks/recurrent_network.py) | cost looks ok, accuracy seems broken | cost looks ok, accuracy seems broken | ## Design/architecture @@ -136,6 +120,11 @@ Piccie of running Aymeric Damien's [linear_regression.py](https://github.com/hug ## News +- Nov 10: + - released wheel v0.13.0 + - beignet test results fairly solidly match K520 results now + - fixed the regression on `not_equal` operator + - removed the spam from memory copy - Nov 9: - fixed unary and binary operators on beignet - note that the tools/bazel.rc.templ has changed. Please make sure to copy the new value into tools/bazel.rc, or re-run configure (probably need to do `bazel clean` anyway, so might as well do `./configure`) diff --git a/tensorflow/stream_executor/cl/test/test_tf3.py b/tensorflow/stream_executor/cl/test/test_tf3.py index 53a1ab25b..db2b8a582 100644 --- a/tensorflow/stream_executor/cl/test/test_tf3.py +++ b/tensorflow/stream_executor/cl/test/test_tf3.py @@ -35,7 +35,7 @@ def test(tf_func, py_func): 'maximum': 'np.maximum(a,b)', 'pow': 'np.power(a,b)', 'squared_difference': '(a - b) * (a - b)', - #'not_equal': 'np.not_equal(a, b)' + 'not_equal': 'np.not_equal(a, b)' } for tf_func, py_func in funcs.items(): test(tf_func, py_func) diff --git a/third_party/cuda-on-cl b/third_party/cuda-on-cl index e7ac3848d..7f5d36da4 160000 --- a/third_party/cuda-on-cl +++ b/third_party/cuda-on-cl @@ -1 +1 @@ -Subproject commit e7ac3848da3a467ece7e1fb94ccfe499c05bc8f6 +Subproject commit 7f5d36da49d08738c9c61d16b3bf043b3a631a94