Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Adding install instruction for Ubuntu-CPU-Python #5885

Merged
merged 1 commit into from
Apr 24, 2017
Merged

Adding install instruction for Ubuntu-CPU-Python #5885

merged 1 commit into from
Apr 24, 2017

Conversation

sandeep-krishnamurthy
Copy link
Contributor

@sandeep-krishnamurthy sandeep-krishnamurthy commented Apr 18, 2017

  1. Adding new install page for MXNet. One page for all Programming language and Installation types with menus for users to choose.
  2. Adding instructions to Ubuntu - Python - CPU : pip, virtualenv, docker, building from source.
  3. This page is not directly linked from any mxnet.io page. Hence, will be still hidden. We will turn it on after completing instructions for Ubuntu GPU, Mac OS CPU and GPU.

Tested all the instructions on Ubuntu 14.04 and 16.04. Few screen shots attached.

@madjam - Can you please review and merge this?
@zackchase - Can you please provide your feedback?
@lxn2 - Can you please review this changes and suggest if any changes are required to make it easy for your testing strategy?

screen shot 2017-04-18 at 3 32 56 pm

screen shot 2017-04-18 at 3 33 29 pm

@sandeep-krishnamurthy
Copy link
Contributor Author

sandeep-krishnamurthy commented Apr 19, 2017

Since the page is hidden (no direct links from existing pages) and I have tested all the instructions to make sure it works. I would like to get this merged and enable me to push other instructions (GPU, MacOS etc.) and review it at once for language and cosmetic.

It would be hard for reviewer to view this page in raw format for reviewing.

@madjam @zackchase thoughts?

Copy link
Contributor

@zackchase zackchase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Sandeep. Great work on making the installation process soooo much easier. My only comments address writing issues. One common thing is that we should be consistent throughout all the docs in how we refer to MXNet. Let's stick to underscores (italics) and capitalizing MXN. When we refer to mxnet, the Python module, then of course we need lower case.

@@ -0,0 +1,347 @@
# Installing MXNet

Select your preferences and follow the instructions to install MXNet.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work Sandeep! I like this. We might refine some of the language. These are really "configurations" more than "preferences". Also we might want to give the user some clue that the site will show a different command depending on what they select.

So maybe:
"Indicate your preferred configuration. Then, follow customized commands to install MXNet."

Also let's always put MXNet between underscores: MXNet to be consistent throughout the site.

<div class="python">
<div class="cpu">

All the below installation instructions are tested on Ubuntu 14.04 and 16.04.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"The following installation instructions have been tested on" might flow a little better


**Step 2** Create and activate virtualenv environment for MXNet.

Below command creates virtualenv environment at `~/mxnet` directory. However, you can choose any directory by replacing `~/mxnet` with directory of your choice.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change "Below command" to "The following command"

$ source ~/mxnet/bin/activate
```

After activating the environment, you should be seeing the prompt as below.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change "you should be seeing" to "you should see"


**Step 3** Install MXNet in the active virtualenv environment.

Installing MXNet with pip requires a latest version of `pip`. Install latest version of `pip` by issuing the below command in the terminal.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's put MXNet in underscores (italics).

mxnet/python latest 00d026968b3c 3 weeks ago 1.41 GB
```

**Step 3** Validate the installation by running a simple MXNet code described [here](#validate-mxnet-installation).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same issue as above

$ sudo python setup.py install
```

**Step 3** Validate the installation by running a simple MXNet code described [here](#validate-mxnet-installation).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same issue as above

$ source ~/mxnet/bin/activate
```

After activating the environment, you should be seeing the prompt as below.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please change to "you should see the following prompt"


</div>

Run a short mxnet python program to create a 2X3 identity matrix, multiply each element in the matrix by 2 followed by adding 1. We expect output to be a 2X3 matrix with all elements being 3.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets's be consistent with how we refer to MXNet. Stick with MXNet.


<div class="virtualenv">

Exit the Python terminal and Deactivate the virtualenv MXNet environment.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason to capitalize Deactivate here? I think it should be "deactivate"

@sandeep-krishnamurthy
Copy link
Contributor Author

@zackchase - Awesome. This review was very helpful.

I found a way to split this into multiple files and merge at build time. This splits will help in readability and testability.

I will address all these feedback and split the files and update the PR.

@madjam madjam added the Doc label Apr 21, 2017
@sandeep-krishnamurthy
Copy link
Contributor Author

Fixed comments from Zack.

@madjam - Can we get this reviewed and merged?

Thanks

@piiswrong piiswrong merged commit e433862 into apache:master Apr 24, 2017
cjolivier01 pushed a commit to cjolivier01/mxnet that referenced this pull request Apr 26, 2017
piiswrong pushed a commit that referenced this pull request May 16, 2017
…at64 as well as operator gtest framework (#5936)

* Batch Norm rewrite without mshadow as well as operator gtest framework

* performance testing

* lint fixes

* use CUDNN for this test

* remove superfluous omp define

* Fix file names in comments

* build, run, clean gtest works (although a test is failing)

* CR comments

* Adjust timing tests for more strenuous sample

* Remove temp resource allocation

* DeviceTensor3 added, forEachFast not yet converted

* DeviceTensor3 version working

* DeviceTensor3 working

* .

* Fix for use_global_stats

* fixed bug with testing suite for double (Float64)

* python unit tests working for batchnorm

* python unit tests

* Update documentation for mxnet.initializer.Mixed (#5937)

* Update documentation for SVMOutput. (#5931)

* Update documentation for SVMOutput.

* Update doc for SVMOutput - fix formatting.

* Adding install instruction for Ubuntu-CPU-Python (#5885)

* edit ndarray API docs (#5806)

* edit docs in broadcast_reduce_op

* edit docs in broadcast_reduce_op

* minor change

* lint fix

* fix

* mx.nd.ones

* mx.nd.repeat

* mx.nd.reverse

* add example in repeat

* optimizer update

* fix nanprod

* fix optimizer_op api doc

* fix reduce_op api doc

* fix nd.ones api doc

* mx.nd.repeat doc change

* Update broadcast_reduce_op.h

* Symbol docs fixes (#5930)

* symbol docs minor formatting changes

* deepcopy, infer_shape, infer_shape_partial docs modified

* Few more small fixes

* arithmetic functions fixes

* some more modifications

* changes after review

* small change

* grad function note added

* More API Doc Edits (#5886)

* edit activation doc

* doc l2_normalization

* edit MakeLoss doc

* edit blockgrad doc

* blockgrad fileline fix

* edit MakeLoss doc cont.

* doc change 'tensor' to 'multidimensional array'

* l2normalization doc improve

* makeloss doc improve, blockgrad doc improve

* fix doc in activation, l2_normalization, make_loss

* fix minor grammar

* use .describe to avoid build failure.

* Update documentation for mxnet.image.imdecode (#5957)

* Update documentation for mxnet.image.imdecode

* Update documentation for mxnet.image.imdecode (clarify that we need OpenCV and not the CV2 Python library)

* Fix script by adding path to Dockerfile (#5958)

* Clean install script

* Add test for pip installations

* Remove debug statements & comments

* Make test runnable as script and from framework

* Fix path to Dockerfiles

* Putting failing cases at the end

* Update doc for Custom operator. (#5875)

* Update doc for Custom operator.

* Update doc for Custom operator.

* Fix formating in doc for Custom operator.

* Fix formating in doc for Custom operator.

* Minor change to ndarray.Custom documentation.

* Minor edit in doc for Custom operator.

* Minor change to doc for Custom operator. Data is 'NDArray-or-Symbol'.

* Minor formatting change for Custom operator documentation.

* For Custom operator doc, move example into ndarray_doc.py.

* Minor change in Custom operator documentation

* Improve the doc of pick + Update dmlc-core (#5946)

* Add PickParam to fix the docstring and the initial value for axis

* Update dmlc-core

* Update dmlc-core

* Image docs modified (#5973)

* imageIter doc modified

* edited imageiter

* ADD missing Libri_sample.json, FIX minor bugs in speech_recognition example (#5962)

* [KVStore] Add support for other data types (#5818)

* Fix kvstore type

* Fix lint

* Parse inputs to DataDesc

* Make module support dtype

* Fix lint

* Add default dtype in Comm

* Fix lint

* Revert rename

* [cpp-package] Add C++ basic tutorial and build instruction (#5971)

* Add C++ basic tutorial and build instruction

* Remove binaries

* Fix lint

* Avoid sign-compare

* Update documentation for mxnet.metric.np (#5977)

* Getting rid of identity (#5935)

* Activation ops (#5938)

* [Ops] Add op: 'relu'

* Add op: 'sigmoid'

* Introduce 'kernel_launch_op'

* Add tests and describe; move it to elemwise_unary_op

* Fix GPU version

* Convert caffe AbsVal to mx.symbol.abs in caffe converter (#5984)

* Correction to LSTMCell docstring (#5986)

* [Module] fix input_grads order (#5980)

* fix input_grads order + update dmlc-core

* set label to be optional

* update env_var doc (#5964)

* Adjusting make, Callback removed

* batch norm gpu testing

* Batch Norm rewrite without mshadow as well as operator gtest framework

* performance testing

* lint fixes

* use CUDNN for this test

* remove superfluous omp define

* Fix file names in comments

* build, run, clean gtest works (although a test is failing)

* CR comments

* Adjust timing tests for more strenuous sample

* Remove temp resource allocation

* rearrange source into cc and cu files

* lint fixes

* Trigger build

* Use latest mshadow

* temporarily revert channel position parameter field

* Add more tests for batchnorm

* Add more tests for batchnorm

* test_operator_gpu working for all types

* Compiles after AccReal

* Compiles after AccReal

* All tests working

* All tests working

* build, run, clean gtest works (although a test is failing)

* vc++ requires explicit int type for omp for loop

* Repair cpp-package

* signed/unsigned fixed in cuda file

* lint fixes in tests and cpp-package directories

* more lint

* use IsWriting() helper

* Fall-through for unsupported MKL shapes/types

* Fall-through for unsupported MKL shapes/types

* cleaner mkl_off approach

* Warning only whem MKL is requested

* Warning only whem MKL is requested

* lint

* ..

* python problem fixed

* python problem fixed

* Merge branch 'batchnorm' into batchnorm_pr

# Conflicts:
#	src/operator/batch_norm.cc
#	src/operator/batch_norm.cu
#	tests/cpp/operator/batchnorm_test.cc

* lint fix

* lint fix

* lint fix

* lint fix

* lint fix

* Fix visual c++ compile problem

* .

* .

* All unit tests pass again

* lint fix

* fix strange compile errors in CUDNN batchnorm header

* FInish using flags instead of bools

* lint

* Fix timing pass count for forward pass

* Fix R script install roxygen problem

* code formatting, addition of doc strings is causing IDE to add spaces before the calls

* removed commented

* cr comments

* Change back to compilable code

* For CPU mode, store as invstd

* move testing code around a little

* lint fix

* Use AccReal in some places to avoid fp16 problems

* Fix minor invstd problem in cuda version

* remove unused scale param

* add permutation unit test, handle cudnn doesn't like 3D

* .

* lint

* .

* Remove mkl_off

* lint fix and time cudnn when enabled
saurabh3949 pushed a commit to saurabh3949/mxnet that referenced this pull request May 23, 2017
…at64 as well as operator gtest framework (apache#5936)

* Batch Norm rewrite without mshadow as well as operator gtest framework

* performance testing

* lint fixes

* use CUDNN for this test

* remove superfluous omp define

* Fix file names in comments

* build, run, clean gtest works (although a test is failing)

* CR comments

* Adjust timing tests for more strenuous sample

* Remove temp resource allocation

* DeviceTensor3 added, forEachFast not yet converted

* DeviceTensor3 version working

* DeviceTensor3 working

* .

* Fix for use_global_stats

* fixed bug with testing suite for double (Float64)

* python unit tests working for batchnorm

* python unit tests

* Update documentation for mxnet.initializer.Mixed (apache#5937)

* Update documentation for SVMOutput. (apache#5931)

* Update documentation for SVMOutput.

* Update doc for SVMOutput - fix formatting.

* Adding install instruction for Ubuntu-CPU-Python (apache#5885)

* edit ndarray API docs (apache#5806)

* edit docs in broadcast_reduce_op

* edit docs in broadcast_reduce_op

* minor change

* lint fix

* fix

* mx.nd.ones

* mx.nd.repeat

* mx.nd.reverse

* add example in repeat

* optimizer update

* fix nanprod

* fix optimizer_op api doc

* fix reduce_op api doc

* fix nd.ones api doc

* mx.nd.repeat doc change

* Update broadcast_reduce_op.h

* Symbol docs fixes (apache#5930)

* symbol docs minor formatting changes

* deepcopy, infer_shape, infer_shape_partial docs modified

* Few more small fixes

* arithmetic functions fixes

* some more modifications

* changes after review

* small change

* grad function note added

* More API Doc Edits (apache#5886)

* edit activation doc

* doc l2_normalization

* edit MakeLoss doc

* edit blockgrad doc

* blockgrad fileline fix

* edit MakeLoss doc cont.

* doc change 'tensor' to 'multidimensional array'

* l2normalization doc improve

* makeloss doc improve, blockgrad doc improve

* fix doc in activation, l2_normalization, make_loss

* fix minor grammar

* use .describe to avoid build failure.

* Update documentation for mxnet.image.imdecode (apache#5957)

* Update documentation for mxnet.image.imdecode

* Update documentation for mxnet.image.imdecode (clarify that we need OpenCV and not the CV2 Python library)

* Fix script by adding path to Dockerfile (apache#5958)

* Clean install script

* Add test for pip installations

* Remove debug statements & comments

* Make test runnable as script and from framework

* Fix path to Dockerfiles

* Putting failing cases at the end

* Update doc for Custom operator. (apache#5875)

* Update doc for Custom operator.

* Update doc for Custom operator.

* Fix formating in doc for Custom operator.

* Fix formating in doc for Custom operator.

* Minor change to ndarray.Custom documentation.

* Minor edit in doc for Custom operator.

* Minor change to doc for Custom operator. Data is 'NDArray-or-Symbol'.

* Minor formatting change for Custom operator documentation.

* For Custom operator doc, move example into ndarray_doc.py.

* Minor change in Custom operator documentation

* Improve the doc of pick + Update dmlc-core (apache#5946)

* Add PickParam to fix the docstring and the initial value for axis

* Update dmlc-core

* Update dmlc-core

* Image docs modified (apache#5973)

* imageIter doc modified

* edited imageiter

* ADD missing Libri_sample.json, FIX minor bugs in speech_recognition example (apache#5962)

* [KVStore] Add support for other data types (apache#5818)

* Fix kvstore type

* Fix lint

* Parse inputs to DataDesc

* Make module support dtype

* Fix lint

* Add default dtype in Comm

* Fix lint

* Revert rename

* [cpp-package] Add C++ basic tutorial and build instruction (apache#5971)

* Add C++ basic tutorial and build instruction

* Remove binaries

* Fix lint

* Avoid sign-compare

* Update documentation for mxnet.metric.np (apache#5977)

* Getting rid of identity (apache#5935)

* Activation ops (apache#5938)

* [Ops] Add op: 'relu'

* Add op: 'sigmoid'

* Introduce 'kernel_launch_op'

* Add tests and describe; move it to elemwise_unary_op

* Fix GPU version

* Convert caffe AbsVal to mx.symbol.abs in caffe converter (apache#5984)

* Correction to LSTMCell docstring (apache#5986)

* [Module] fix input_grads order (apache#5980)

* fix input_grads order + update dmlc-core

* set label to be optional

* update env_var doc (apache#5964)

* Adjusting make, Callback removed

* batch norm gpu testing

* Batch Norm rewrite without mshadow as well as operator gtest framework

* performance testing

* lint fixes

* use CUDNN for this test

* remove superfluous omp define

* Fix file names in comments

* build, run, clean gtest works (although a test is failing)

* CR comments

* Adjust timing tests for more strenuous sample

* Remove temp resource allocation

* rearrange source into cc and cu files

* lint fixes

* Trigger build

* Use latest mshadow

* temporarily revert channel position parameter field

* Add more tests for batchnorm

* Add more tests for batchnorm

* test_operator_gpu working for all types

* Compiles after AccReal

* Compiles after AccReal

* All tests working

* All tests working

* build, run, clean gtest works (although a test is failing)

* vc++ requires explicit int type for omp for loop

* Repair cpp-package

* signed/unsigned fixed in cuda file

* lint fixes in tests and cpp-package directories

* more lint

* use IsWriting() helper

* Fall-through for unsupported MKL shapes/types

* Fall-through for unsupported MKL shapes/types

* cleaner mkl_off approach

* Warning only whem MKL is requested

* Warning only whem MKL is requested

* lint

* ..

* python problem fixed

* python problem fixed

* Merge branch 'batchnorm' into batchnorm_pr

# Conflicts:
#	src/operator/batch_norm.cc
#	src/operator/batch_norm.cu
#	tests/cpp/operator/batchnorm_test.cc

* lint fix

* lint fix

* lint fix

* lint fix

* lint fix

* Fix visual c++ compile problem

* .

* .

* All unit tests pass again

* lint fix

* fix strange compile errors in CUDNN batchnorm header

* FInish using flags instead of bools

* lint

* Fix timing pass count for forward pass

* Fix R script install roxygen problem

* code formatting, addition of doc strings is causing IDE to add spaces before the calls

* removed commented

* cr comments

* Change back to compilable code

* For CPU mode, store as invstd

* move testing code around a little

* lint fix

* Use AccReal in some places to avoid fp16 problems

* Fix minor invstd problem in cuda version

* remove unused scale param

* add permutation unit test, handle cudnn doesn't like 3D

* .

* lint

* .

* Remove mkl_off

* lint fix and time cudnn when enabled
@sandeep-krishnamurthy sandeep-krishnamurthy deleted the ubuntu-cpu-gpu-python branch August 15, 2017 16:45
Guneet-Dhillon pushed a commit to Guneet-Dhillon/mxnet that referenced this pull request Sep 13, 2017
Guneet-Dhillon pushed a commit to Guneet-Dhillon/mxnet that referenced this pull request Sep 13, 2017
…at64 as well as operator gtest framework (apache#5936)

* Batch Norm rewrite without mshadow as well as operator gtest framework

* performance testing

* lint fixes

* use CUDNN for this test

* remove superfluous omp define

* Fix file names in comments

* build, run, clean gtest works (although a test is failing)

* CR comments

* Adjust timing tests for more strenuous sample

* Remove temp resource allocation

* DeviceTensor3 added, forEachFast not yet converted

* DeviceTensor3 version working

* DeviceTensor3 working

* .

* Fix for use_global_stats

* fixed bug with testing suite for double (Float64)

* python unit tests working for batchnorm

* python unit tests

* Update documentation for mxnet.initializer.Mixed (apache#5937)

* Update documentation for SVMOutput. (apache#5931)

* Update documentation for SVMOutput.

* Update doc for SVMOutput - fix formatting.

* Adding install instruction for Ubuntu-CPU-Python (apache#5885)

* edit ndarray API docs (apache#5806)

* edit docs in broadcast_reduce_op

* edit docs in broadcast_reduce_op

* minor change

* lint fix

* fix

* mx.nd.ones

* mx.nd.repeat

* mx.nd.reverse

* add example in repeat

* optimizer update

* fix nanprod

* fix optimizer_op api doc

* fix reduce_op api doc

* fix nd.ones api doc

* mx.nd.repeat doc change

* Update broadcast_reduce_op.h

* Symbol docs fixes (apache#5930)

* symbol docs minor formatting changes

* deepcopy, infer_shape, infer_shape_partial docs modified

* Few more small fixes

* arithmetic functions fixes

* some more modifications

* changes after review

* small change

* grad function note added

* More API Doc Edits (apache#5886)

* edit activation doc

* doc l2_normalization

* edit MakeLoss doc

* edit blockgrad doc

* blockgrad fileline fix

* edit MakeLoss doc cont.

* doc change 'tensor' to 'multidimensional array'

* l2normalization doc improve

* makeloss doc improve, blockgrad doc improve

* fix doc in activation, l2_normalization, make_loss

* fix minor grammar

* use .describe to avoid build failure.

* Update documentation for mxnet.image.imdecode (apache#5957)

* Update documentation for mxnet.image.imdecode

* Update documentation for mxnet.image.imdecode (clarify that we need OpenCV and not the CV2 Python library)

* Fix script by adding path to Dockerfile (apache#5958)

* Clean install script

* Add test for pip installations

* Remove debug statements & comments

* Make test runnable as script and from framework

* Fix path to Dockerfiles

* Putting failing cases at the end

* Update doc for Custom operator. (apache#5875)

* Update doc for Custom operator.

* Update doc for Custom operator.

* Fix formating in doc for Custom operator.

* Fix formating in doc for Custom operator.

* Minor change to ndarray.Custom documentation.

* Minor edit in doc for Custom operator.

* Minor change to doc for Custom operator. Data is 'NDArray-or-Symbol'.

* Minor formatting change for Custom operator documentation.

* For Custom operator doc, move example into ndarray_doc.py.

* Minor change in Custom operator documentation

* Improve the doc of pick + Update dmlc-core (apache#5946)

* Add PickParam to fix the docstring and the initial value for axis

* Update dmlc-core

* Update dmlc-core

* Image docs modified (apache#5973)

* imageIter doc modified

* edited imageiter

* ADD missing Libri_sample.json, FIX minor bugs in speech_recognition example (apache#5962)

* [KVStore] Add support for other data types (apache#5818)

* Fix kvstore type

* Fix lint

* Parse inputs to DataDesc

* Make module support dtype

* Fix lint

* Add default dtype in Comm

* Fix lint

* Revert rename

* [cpp-package] Add C++ basic tutorial and build instruction (apache#5971)

* Add C++ basic tutorial and build instruction

* Remove binaries

* Fix lint

* Avoid sign-compare

* Update documentation for mxnet.metric.np (apache#5977)

* Getting rid of identity (apache#5935)

* Activation ops (apache#5938)

* [Ops] Add op: 'relu'

* Add op: 'sigmoid'

* Introduce 'kernel_launch_op'

* Add tests and describe; move it to elemwise_unary_op

* Fix GPU version

* Convert caffe AbsVal to mx.symbol.abs in caffe converter (apache#5984)

* Correction to LSTMCell docstring (apache#5986)

* [Module] fix input_grads order (apache#5980)

* fix input_grads order + update dmlc-core

* set label to be optional

* update env_var doc (apache#5964)

* Adjusting make, Callback removed

* batch norm gpu testing

* Batch Norm rewrite without mshadow as well as operator gtest framework

* performance testing

* lint fixes

* use CUDNN for this test

* remove superfluous omp define

* Fix file names in comments

* build, run, clean gtest works (although a test is failing)

* CR comments

* Adjust timing tests for more strenuous sample

* Remove temp resource allocation

* rearrange source into cc and cu files

* lint fixes

* Trigger build

* Use latest mshadow

* temporarily revert channel position parameter field

* Add more tests for batchnorm

* Add more tests for batchnorm

* test_operator_gpu working for all types

* Compiles after AccReal

* Compiles after AccReal

* All tests working

* All tests working

* build, run, clean gtest works (although a test is failing)

* vc++ requires explicit int type for omp for loop

* Repair cpp-package

* signed/unsigned fixed in cuda file

* lint fixes in tests and cpp-package directories

* more lint

* use IsWriting() helper

* Fall-through for unsupported MKL shapes/types

* Fall-through for unsupported MKL shapes/types

* cleaner mkl_off approach

* Warning only whem MKL is requested

* Warning only whem MKL is requested

* lint

* ..

* python problem fixed

* python problem fixed

* Merge branch 'batchnorm' into batchnorm_pr

# Conflicts:
#	src/operator/batch_norm.cc
#	src/operator/batch_norm.cu
#	tests/cpp/operator/batchnorm_test.cc

* lint fix

* lint fix

* lint fix

* lint fix

* lint fix

* Fix visual c++ compile problem

* .

* .

* All unit tests pass again

* lint fix

* fix strange compile errors in CUDNN batchnorm header

* FInish using flags instead of bools

* lint

* Fix timing pass count for forward pass

* Fix R script install roxygen problem

* code formatting, addition of doc strings is causing IDE to add spaces before the calls

* removed commented

* cr comments

* Change back to compilable code

* For CPU mode, store as invstd

* move testing code around a little

* lint fix

* Use AccReal in some places to avoid fp16 problems

* Fix minor invstd problem in cuda version

* remove unused scale param

* add permutation unit test, handle cudnn doesn't like 3D

* .

* lint

* .

* Remove mkl_off

* lint fix and time cudnn when enabled
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants