Skip to content

Commit

Permalink
update results for v0.13.0, and update cuda-on-cl to latest version, …
Browse files Browse the repository at this point in the history
…which is resonsible for these results
  • Loading branch information
hughperkins committed Nov 10, 2016
1 parent f0bbe84 commit d6d2f02
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 29 deletions.
43 changes: 16 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -85,37 +85,21 @@ Piccie of running Aymeric Damien's [linear_regression.py](https://github.com/hug

<img src="doc/img/aymericdamien_linearregression.png?raw=true" width="600" />

## 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

Expand All @@ -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`)
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/stream_executor/cl/test/test_tf3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion third_party/cuda-on-cl

0 comments on commit d6d2f02

Please sign in to comment.