[GitHub] [incubator-mxnet] zixuanweeei commented on issue #16037: LSTM with MKL-DNN produces wrong output after weights are changed

2019-08-31 Thread GitBox
zixuanweeei commented on issue #16037: LSTM with MKL-DNN produces wrong output 
after weights are changed
URL: 
https://github.com/apache/incubator-mxnet/issues/16037#issuecomment-526886430
 
 
   @matteosal That's right. The problem won't apear with GRU, because we 
haven't integrated MKL-DNN GRU into MXNet yet. It will be available in the near 
future.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] reminisce edited a comment on issue #16054: [Bug] Error initialization with gluon when using mx.set_np_shape(True)

2019-08-31 Thread GitBox
reminisce edited a comment on issue #16054: [Bug] Error initialization with 
gluon when using mx.set_np_shape(True)
URL: 
https://github.com/apache/incubator-mxnet/issues/16054#issuecomment-526883049
 
 
   @VoVAllen Could you try the following? It works for me with the latest 
master branch. `mx.set_np_shape` was requested by DGL folks and is not an 
official user-facing API. If you want to enable numpy-like mode completely, 
please use `npx.set_np()`. Please know that numpy-like functionality is still 
under active development and there are still many places in Gluon to be 
converted in the following months. Thanks.
   ```python
import mxnet as mx
from mxnet import npx
npx.set_np()

mx.gluon.nn.Conv2D(2, 2) # Throw Error
   ```


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] reminisce commented on issue #16054: [Bug] Error initialization with gluon when using mx.set_np_shape(True)

2019-08-31 Thread GitBox
reminisce commented on issue #16054: [Bug] Error initialization with gluon when 
using mx.set_np_shape(True)
URL: 
https://github.com/apache/incubator-mxnet/issues/16054#issuecomment-526883049
 
 
   @VoVAllen Could you try the following? It works for me with the latest 
master branch. `mx.set_np_shape` is requested by DGL folks and is not an 
official user-facing API. If you want to enable numpy-like mode completely, 
please use `npx.set_np()`. Please know that numpy-like functionality is still 
under active development and there are still many places in Gluon to be 
converted in the following months. Thanks.
   ```python
import mxnet as mx
from mxnet import npx
npx.set_np()

mx.gluon.nn.Conv2D(2, 2) # Throw Error
   ```


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] pengzhao-intel commented on issue #15991: Silence excessive log output in tests

2019-08-31 Thread GitBox
pengzhao-intel commented on issue #15991: Silence excessive log output in tests
URL: https://github.com/apache/incubator-mxnet/pull/15991#issuecomment-526881438
 
 
   @larroy friendly ping :)


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[incubator-mxnet-site] branch asf-site updated: Bump the publish timestamp.

2019-08-31 Thread marcoabreu
This is an automated email from the ASF dual-hosted git repository.

marcoabreu pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new be3c733  Bump the publish timestamp.
be3c733 is described below

commit be3c73320edcffeaade89e48984fb4bfe6fde6d9
Author: mxnet-ci 
AuthorDate: Sun Sep 1 01:30:12 2019 +

Bump the publish timestamp.
---
 date.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/date.txt b/date.txt
new file mode 100644
index 000..f97ba6a
--- /dev/null
+++ b/date.txt
@@ -0,0 +1 @@
+Sun Sep  1 01:30:12 UTC 2019



[GitHub] [incubator-mxnet] wkcn edited a comment on issue #16057: add operator `cast_like`.

2019-08-31 Thread GitBox
wkcn edited a comment on issue #16057: add operator `cast_like`.
URL: https://github.com/apache/incubator-mxnet/pull/16057#issuecomment-526870996
 
 
   I think ‘cast’ and ‘cast_like’ should pass the gradient, although it will 
lose the precision.
   For example, I have an operator which need a higher precision, like float64. 
However, the input/output dtype of most operators is float32. I need the cast 
operator, and pass the gradient.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] wkcn commented on issue #16057: add operator `cast_like`.

2019-08-31 Thread GitBox
wkcn commented on issue #16057: add operator `cast_like`.
URL: https://github.com/apache/incubator-mxnet/pull/16057#issuecomment-526870996
 
 
   I think ‘cast’ and ‘cast_like’ should pass the gradient, although it will 
loss the precision.
   For example, I have an operator which need a higher precision, like float64. 
However, the input/output dtype of most operators is float32. I need the cast 
operator, and pass the gradient.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[incubator-mxnet-site] branch asf-site updated: Bump the publish timestamp.

2019-08-31 Thread marcoabreu
This is an automated email from the ASF dual-hosted git repository.

marcoabreu pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 32f7825  Bump the publish timestamp.
32f7825 is described below

commit 32f782581a74d1c05552e2a88f5c57920dd0797f
Author: mxnet-ci 
AuthorDate: Sat Aug 31 21:04:06 2019 +

Bump the publish timestamp.
---
 date.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/date.txt b/date.txt
new file mode 100644
index 000..71fd86f
--- /dev/null
+++ b/date.txt
@@ -0,0 +1 @@
+Sat Aug 31 21:04:06 UTC 2019



[GitHub] [incubator-mxnet] access2rohit commented on a change in pull request #15899: Typedef cleanup

2019-08-31 Thread GitBox
access2rohit commented on a change in pull request #15899: Typedef cleanup
URL: https://github.com/apache/incubator-mxnet/pull/15899#discussion_r319735478
 
 

 ##
 File path: include/mxnet/c_predict_api.h
 ##
 @@ -43,8 +43,6 @@ extern "C" {
 
 /*! \brief manually define unsigned int */
 typedef uint32_t mx_uint;
 
 Review comment:
   Few examples in code:
   
   
https://github.com/apache/incubator-mxnet/blob/3f3ba92ae1468d08de088d2291ca14e2d5dc5515/perl-package/AI-MXNetCAPI/mxnet_typemaps.i#L171
   
   
https://github.com/apache/incubator-mxnet/blob/3f3ba92ae1468d08de088d2291ca14e2d5dc5515/R-package/src/ndarray.cc#L34
   
   
https://github.com/apache/incubator-mxnet/blob/b88705e7744be1cc22122eb2c5b492e495ab45bb/scala-package/native/src/main/native/org_apache_mxnet_native_c_api.cc#L89


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] access2rohit commented on a change in pull request #15899: Typedef cleanup

2019-08-31 Thread GitBox
access2rohit commented on a change in pull request #15899: Typedef cleanup
URL: https://github.com/apache/incubator-mxnet/pull/15899#discussion_r319735478
 
 

 ##
 File path: include/mxnet/c_predict_api.h
 ##
 @@ -43,8 +43,6 @@ extern "C" {
 
 /*! \brief manually define unsigned int */
 typedef uint32_t mx_uint;
 
 Review comment:
   
https://github.com/apache/incubator-mxnet/blob/3f3ba92ae1468d08de088d2291ca14e2d5dc5515/perl-package/AI-MXNetCAPI/mxnet_typemaps.i#L171
   
   
https://github.com/apache/incubator-mxnet/blob/3f3ba92ae1468d08de088d2291ca14e2d5dc5515/R-package/src/ndarray.cc#L34
   
   
https://github.com/apache/incubator-mxnet/blob/b88705e7744be1cc22122eb2c5b492e495ab45bb/scala-package/native/src/main/native/org_apache_mxnet_native_c_api.cc#L89


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] perdasilva commented on issue #16021: [CI] openblas build failed in static build

2019-08-31 Thread GitBox
perdasilva commented on issue #16021: [CI] openblas build failed in static build
URL: 
https://github.com/apache/incubator-mxnet/issues/16021#issuecomment-526862638
 
 
   Bumping openblas to v0.3.7 seems to fix the issue =)


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] ChaiBapchya commented on issue #16059: [Website] Version selection dropdown

2019-08-31 Thread GitBox
ChaiBapchya commented on issue #16059: [Website] Version selection dropdown
URL: 
https://github.com/apache/incubator-mxnet/issues/16059#issuecomment-526861358
 
 
   @mxnet-label-bot add [website-beta]


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] ChaiBapchya opened a new issue #16059: [Website] Version selection dropdown

2019-08-31 Thread GitBox
ChaiBapchya opened a new issue #16059: [Website] Version selection dropdown
URL: https://github.com/apache/incubator-mxnet/issues/16059
 
 
   Website's version selection dropdown can be made cleaner
   
   
![image](https://user-images.githubusercontent.com/10992635/64068569-ca685180-cbee-11e9-8ae2-7f3e760dfa5c.png)
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] mxnet-label-bot commented on issue #16059: [Website] Version selection dropdown

2019-08-31 Thread GitBox
mxnet-label-bot commented on issue #16059: [Website] Version selection dropdown
URL: 
https://github.com/apache/incubator-mxnet/issues/16059#issuecomment-526861332
 
 
   Hey, this is the MXNet Label Bot. 
Thank you for submitting the issue! I will try and suggest some labels so 
that the appropriate MXNet community members can help resolve it. 
Here are my recommended label(s): Feature


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[incubator-mxnet-site] branch asf-site updated: Bump the publish timestamp.

2019-08-31 Thread marcoabreu
This is an automated email from the ASF dual-hosted git repository.

marcoabreu pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 157da1f  Bump the publish timestamp.
157da1f is described below

commit 157da1f19a09f333c9b499fb16a2b9afb1bef199
Author: mxnet-ci 
AuthorDate: Sat Aug 31 19:30:33 2019 +

Bump the publish timestamp.
---
 date.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/date.txt b/date.txt
new file mode 100644
index 000..68ed7d5
--- /dev/null
+++ b/date.txt
@@ -0,0 +1 @@
+Sat Aug 31 19:30:33 UTC 2019



[incubator-mxnet] branch fix-flaky-clojure-profiler-test updated (fa5e35a -> 6ce48b2)

2019-08-31 Thread cmeier
This is an automated email from the ASF dual-hosted git repository.

cmeier pushed a change to branch fix-flaky-clojure-profiler-test
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git.


from fa5e35a  Fix flaky clojure profile test
 add 6ce48b2  disable profiler test

No new revisions were added by this update.

Summary of changes:
 contrib/clojure-package/integration-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



[GitHub] [incubator-mxnet] wkcn commented on issue #16014: NumPy-compatible Mean, Std and Var

2019-08-31 Thread GitBox
wkcn commented on issue #16014: NumPy-compatible Mean, Std and Var
URL: https://github.com/apache/incubator-mxnet/pull/16014#issuecomment-526845577
 
 
   Hi @haojin2 @reminisce , I have a question: do we need Welford algorithm to 
compute the variance?
   "It is often useful to be able to compute the variance in a single pass, 
inspecting each value x_i only once"
   
   https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[incubator-mxnet] branch v1.5.x updated: add deconv in TRT subgraph (#15666) (#16043)

2019-08-31 Thread kellen
This is an automated email from the ASF dual-hosted git repository.

kellen pushed a commit to branch v1.5.x
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/v1.5.x by this push:
 new afe4a71  add deconv in TRT subgraph (#15666) (#16043)
afe4a71 is described below

commit afe4a713210749f8fe300f023ecc2678fbee502d
Author: Kellen Sunderland 
AuthorDate: Sat Aug 31 09:24:05 2019 -0700

add deconv in TRT subgraph (#15666) (#16043)
---
 src/operator/subgraph/tensorrt/nnvm_to_onnx-inl.h | 19 ++-
 src/operator/subgraph/tensorrt/nnvm_to_onnx.cc| 46 -
 src/operator/subgraph/tensorrt/tensorrt-inl.h |  2 +
 tests/python/tensorrt/test_tensorrt_deconv.py | 63 +++
 4 files changed, 116 insertions(+), 14 deletions(-)

diff --git a/src/operator/subgraph/tensorrt/nnvm_to_onnx-inl.h 
b/src/operator/subgraph/tensorrt/nnvm_to_onnx-inl.h
index 55b3d93..5a433f1 100644
--- a/src/operator/subgraph/tensorrt/nnvm_to_onnx-inl.h
+++ b/src/operator/subgraph/tensorrt/nnvm_to_onnx-inl.h
@@ -41,6 +41,8 @@ namespace mxnet {
 namespace op {
 namespace nnvm_to_onnx {
 
+enum ConvDeconvType {Convolution, Deconvolution};
+
 using namespace nnvm;
 using namespace ::onnx;
 using int64 = ::google::protobuf::int64;
@@ -48,8 +50,7 @@ using int64 = ::google::protobuf::int64;
 std::unordered_map GetPlaceholderShapes(const 
ShapeVector& shape_inputs,
 const nnvm::IndexedGraph& ig);
 
-std::unordered_map GetPlaceholderDTypes(const DTypeVector&
-dtype_inputs,
+std::unordered_map GetPlaceholderDTypes(const DTypeVector& 
dtype_inputs,
 const nnvm::IndexedGraph& ig);
 
 std::unordered_map GetOutputLookup(const 
nnvm::IndexedGraph& ig);
@@ -74,12 +75,25 @@ typedef void (*ConverterFunction)(NodeProto *node_proto,
   const nnvm::IndexedGraph ,
   const array_view 
);
 
+template 
+void ConvDeconvConvertHelper(NodeProto *node_proto,
+ const NodeAttrs ,
+ const nnvm::IndexedGraph ,
+ const array_view ,
+ const ConvDeconvParam& param,
+ ConvDeconvType type);
+
 // Forward declarations
 void ConvertConvolution(NodeProto *node_proto,
 const NodeAttrs ,
 const nnvm::IndexedGraph ,
 const array_view );
 
+void ConvertDeconvolution(NodeProto *node_proto,
+const NodeAttrs ,
+const nnvm::IndexedGraph ,
+const array_view );
+
 void ConvertPooling(NodeProto *node_proto,
 const NodeAttrs ,
 const nnvm::IndexedGraph ,
@@ -158,6 +172,7 @@ static const std::unordered_map converter_map =
   {"BatchNorm", ConvertBatchNorm},
   {"clip", ConvertClip},
   {"Convolution", ConvertConvolution},
+  {"Deconvolution", ConvertDeconvolution},
   {"Concat", ConvertConcatenate},
   {"Dropout", ConvertDropout},
   {"elemwise_add", ConvertElementwiseAdd},
diff --git a/src/operator/subgraph/tensorrt/nnvm_to_onnx.cc 
b/src/operator/subgraph/tensorrt/nnvm_to_onnx.cc
index 6116f29..84580d0 100644
--- a/src/operator/subgraph/tensorrt/nnvm_to_onnx.cc
+++ b/src/operator/subgraph/tensorrt/nnvm_to_onnx.cc
@@ -31,6 +31,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include "../../../common/utils.h"
 #include "../../../ndarray/ndarray_function.h"
@@ -170,20 +171,25 @@ std::string ConvertNnvmGraphToOnnx(
   return serialized_onnx_graph;
 }
 
-void ConvertConvolution(NodeProto* node_proto, const NodeAttrs& attrs,
-const nnvm::IndexedGraph& /*ig*/,
-const array_view& /*inputs*/) 
{
-  const auto& conv_param = nnvm::get(attrs.parsed);
-
-  node_proto->set_op_type("Conv");
+template 
+void ConvDeconvConvertHelper(NodeProto* node_proto, const NodeAttrs& attrs,
+ const nnvm::IndexedGraph& /*ig*/,
+ const array_view& 
/*input*/,
+ const ConvDeconvParam& param,
+ ConvDeconvType type) {
+  if (type == ConvDeconvType::Convolution) {
+node_proto->set_op_type("Conv");
+  } else {
+node_proto->set_op_type("ConvTranspose");
+  }
 
-  const mxnet::TShape kernel = conv_param.kernel;
-  const mxnet::TShape stride = conv_param.stride;
-  const mxnet::TShape dilate = conv_param.dilate;
-  const mxnet::TShape pad = conv_param.pad;
-  const uint32_t num_group = conv_param.num_group;
+  const mxnet::TShape kernel = param.kernel;
+  const mxnet::TShape stride = param.stride;
+  const mxnet::TShape dilate = param.dilate;
+  const mxnet::TShape pad = param.pad;
+  const uint32_t num_group = param.num_group;
   // const bool no_bias = conv_param.no_bias;
-  const dmlc::optional layout = conv_param.layout;
+  const dmlc::optional layout = 

[GitHub] [incubator-mxnet] KellenSunderland merged pull request #16043: [v1.5.x] add deconv in TRT subgraph (#15666)

2019-08-31 Thread GitBox
KellenSunderland merged pull request #16043: [v1.5.x] add deconv in TRT 
subgraph (#15666)
URL: https://github.com/apache/incubator-mxnet/pull/16043
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] gigasquid commented on issue #15889: [DO NOT MERGE] enable tvm_op for ci

2019-08-31 Thread GitBox
gigasquid commented on issue #15889: [DO NOT MERGE] enable tvm_op for ci
URL: https://github.com/apache/incubator-mxnet/pull/15889#issuecomment-526839653
 
 
   @yzhliu I created a PR to fix the flaky test 
https://github.com/apache/incubator-mxnet/pull/16058. If you cherry pick it 
into your branch, it should resolve the issues. Please ping me if you have any 
other problems.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] gigasquid opened a new pull request #16058: Fix flaky clojure profile test

2019-08-31 Thread GitBox
gigasquid opened a new pull request #16058: Fix flaky clojure profile test
URL: https://github.com/apache/incubator-mxnet/pull/16058
 
 
   ## Description ##
   This fixes a flaky integration test from the Clojure package that was 
discovered in 
https://github.com/apache/incubator-mxnet/pull/15889#issuecomment-526698102. 
   
   The time check is not needed since the file existence is sufficient. Also 
removed unused test json file
   
   ## Checklist ##
   ### Essentials ###
   Please feel free to remove inapplicable items for your PR.
   - [X] Changes are complete (i.e. I finished coding on this PR)
   - [X] All changes have test coverage:
   - Unit tests are added for small changes to verify correctness (e.g. adding 
a new operator)
   - Nightly tests are added for complicated/long-running ones (e.g. changing 
distributed kvstore)
   - Build tests will be added for build configuration changes (e.g. adding a 
new build option with NCCL)
   - [X] Code is well-documented: 
   - For user-facing API changes, API doc string has been updated. 
   - For new C++ functions in header files, their functionalities and arguments 
are documented. 
   - For new examples, README.md is added to explain the what the example does, 
the source of the dataset, expected performance on test set and reference to 
the original paper if applicable
   - Check the API doc at 
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
   - [X] To the my best knowledge, examples are either not affected by this 
change, or have been fixed to be compatible with this change
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[incubator-mxnet] branch fix-flaky-clojure-profiler-test updated: Fix flaky clojure profile test

2019-08-31 Thread cmeier
This is an automated email from the ASF dual-hosted git repository.

cmeier pushed a commit to branch fix-flaky-clojure-profiler-test
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to 
refs/heads/fix-flaky-clojure-profiler-test by this push:
 new fa5e35a  Fix flaky clojure profile test
fa5e35a is described below

commit fa5e35a23d5680009b8d504caa0b2379ff2d40cd
Author: gigasquid 
AuthorDate: Sat Aug 31 11:27:31 2019 -0400

Fix flaky clojure profile test
---
 .../examples/profiler/test/core_test.clj   |   3 +-
 .../profiler/test/profile-matmul-20iter.json.ref   | 271 -
 2 files changed, 1 insertion(+), 273 deletions(-)

diff --git a/contrib/clojure-package/examples/profiler/test/core_test.clj 
b/contrib/clojure-package/examples/profiler/test/core_test.clj
index 1173f07..9f03c94 100644
--- a/contrib/clojure-package/examples/profiler/test/core_test.clj
+++ b/contrib/clojure-package/examples/profiler/test/core_test.clj
@@ -27,5 +27,4 @@
 (deftest run-profiler
(profiler/run)
(let [new-file (clojure.java.io/as-file profiler/profiler-name)]
-   (is (.exists new-file))
-   (is (> 1 (- (System/currentTimeMillis) (.lastModified 
new-file))
\ No newline at end of file
+   (is (.exists new-file
diff --git 
a/contrib/clojure-package/examples/profiler/test/profile-matmul-20iter.json.ref 
b/contrib/clojure-package/examples/profiler/test/profile-matmul-20iter.json.ref
deleted file mode 100644
index d6baa42..000
--- 
a/contrib/clojure-package/examples/profiler/test/profile-matmul-20iter.json.ref
+++ /dev/null
@@ -1,271 +0,0 @@
-{
-"traceEvents": [
-{
-"ph": "M",
-"args": {
-"name": "cpu/0"
-},
-"pid": 0,
-"name": "process_name"
-},
-{
-"ph": "M",
-"args": {
-"name": "cpu/1"
-},
-"pid": 1,
-"name": "process_name"
-},
-{
-"ph": "M",
-"args": {
-"name": "cpu/2"
-},
-"pid": 2,
-"name": "process_name"
-},
-{
-"ph": "M",
-"args": {
-"name": "cpu/3"
-},
-"pid": 3,
-"name": "process_name"
-},
-{
-"ph": "M",
-"args": {
-"name": "cpu pinned/"
-},
-"pid": 4,
-"name": "process_name"
-},
-{
-"ph": "M",
-"args": {
-"name": "cpu shared/"
-},
-"pid": 5,
-"name": "process_name"
-},{
-"ph": "M",
-"args": {
-"name": "MXNET_C_API"
-},
-"pid": 13841910479334118176,
-"name": "process_name"
-},
-
-{
-"name": "MXNet C API Calls",
-"cat": "MXNET_C_API",
-"ph": "C",
-"ts": 51195258331,
-"args": { "MXNet C API Calls": 1 },
-"pid": 13841910479334118176,
-"tid": 6902988396839073221
-}
-,
-{
-"name": "MXNet C API Concurrency",
-"cat": "MXNET_C_API",
-"ph": "C",
-"ts": 51195258338,
-"args": { "MXNet C API Concurrency": 1 },
-"pid": 13841910479334118176,
-"tid": 6902988396839073221
-}
-,
-{
-"name": "MXExecutorForward",
-"cat": "MXNET_C_API",
-"ph": "b",
-"ts": 51195258348,
-"id": 6902988396839073221,
-"pid": 13841910479334118176,
-"tid": 6902988396839073221
-}
-,
-{
-"name": "MXExecutorForward",
-"cat": "MXNET_C_API",
-"ph": "e",
-"ts": 51195258357,
-"id": 6902988396839073221,
-"pid": 13841910479334118176,
-"tid": 6902988396839073221
-}
-,
-{
-"name": "MXNet C API Concurrency",
-"cat": "MXNET_C_API",
-"ph": "C",
-"ts": 51195258358,
-"args": { "MXNet C API Concurrency": 0 },
-"pid": 13841910479334118176,
-"tid": 6902988396839073221
-}
-,{
-"ph": "M",
-"args": {
-"name": "Device Storage"
-},
-"pid": 13545698322897290393,
-"name": "process_name"
-},
-
-{
-"name": "Memory: cpu/0",
-"cat": "Device Storage",
-"ph": "C",
-"ts": 51195543378,
-"args": { "Memory: cpu/0": 8 },
-"pid": 13545698322897290393,
-"tid": 5603937861270119161
-}
-,
-{
-"name": "MXNet C API Calls",
-"cat": "MXNET_C_API",
-"ph": "C",
-"ts": 51195258559,
-"args": { "MXNet C API Calls": 2 },
-"pid": 13841910479334118176,
-"tid": 6902988396839073221
-}
-,
-{
-  

[incubator-mxnet] branch fix-flaky-clojure-profiler-test created (now aab4ded)

2019-08-31 Thread cmeier
This is an automated email from the ASF dual-hosted git repository.

cmeier pushed a change to branch fix-flaky-clojure-profiler-test
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git.


  at aab4ded  Numpy compatible max min (#16046)

No new revisions were added by this update.



[GitHub] [incubator-mxnet] kshitij12345 opened a new pull request #16057: add operator `cast_like`.

2019-08-31 Thread GitBox
kshitij12345 opened a new pull request #16057: add operator `cast_like`.
URL: https://github.com/apache/incubator-mxnet/pull/16057
 
 
   ## Description ##
   Add Operator `cast_like`.
   References: #15966
   
   ## Checklist ##
   ### Essentials ###
   Please feel free to remove inapplicable items for your PR.
   - [x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to 
the relevant [JIRA issue](https://issues.apache.org/jira/projects/MXNET/issues) 
created (except PRs with tiny changes)
   - [x] Changes are complete (i.e. I finished coding on this PR)
   - [x] All changes have test coverage:
   - Unit tests are added for small changes to verify correctness (e.g. adding 
a new operator)
   - Nightly tests are added for complicated/long-running ones (e.g. changing 
distributed kvstore)
   - Build tests will be added for build configuration changes (e.g. adding a 
new build option with NCCL)
   - [x] Code is well-documented: 
   - For user-facing API changes, API doc string has been updated. 
   - For new C++ functions in header files, their functionalities and arguments 
are documented. 
   - For new examples, README.md is added to explain the what the example does, 
the source of the dataset, expected performance on test set and reference to 
the original paper if applicable
   - Check the API doc at 
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
   - [x] To the my best knowledge, examples are either not affected by this 
change, or have been fixed to be compatible with this change
   
   ### Changes ###
   - [x] Add `cast_like`.
   - [ ] Relevant test.
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] samskalicky commented on issue #15886: Graph Partition API

2019-08-31 Thread GitBox
samskalicky commented on issue #15886: Graph Partition API
URL: https://github.com/apache/incubator-mxnet/pull/15886#issuecomment-526838333
 
 
   @ZhennanQin can you please approve? @mseth10 has added the "Next steps" in 
the PR description to save the outcome of our discussions from the PR comments. 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] gigasquid commented on issue #12383: Clojure test failure in CI

2019-08-31 Thread GitBox
gigasquid commented on issue #12383: Clojure test failure in CI
URL: 
https://github.com/apache/incubator-mxnet/issues/12383#issuecomment-526836952
 
 
   @aaronmarkham are you ok to close this?


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] gigasquid commented on issue #12383: Clojure test failure in CI

2019-08-31 Thread GitBox
gigasquid commented on issue #12383: Clojure test failure in CI
URL: 
https://github.com/apache/incubator-mxnet/issues/12383#issuecomment-526836928
 
 
   This is from last year `2018` - I'm not sure which test it was because the 
log is not there anymore, but the Clojure package did fix some tests. I think 
this should be closed and reopened if any failures occur again.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] Zha0q1 opened a new pull request #16055: [WIP] adding "total_time" to profiler aggregate stats sorting criteria

2019-08-31 Thread GitBox
Zha0q1 opened a new pull request #16055: [WIP] adding "total_time" to profiler 
aggregate stats sorting criteria
URL: https://github.com/apache/incubator-mxnet/pull/16055
 
 
   ## Description ##
   Refer to the discussion in this 
PR.https://github.com/apache/incubator-mxnet/pull/15132
   This pr is to allow users to sort the aggregate stats by "total_time"
   
   ## Checklist ##
   ### Essentials ###
   Please feel free to remove inapplicable items for your PR.
   - [ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to 
the relevant [JIRA issue](https://issues.apache.org/jira/projects/MXNET/issues) 
created (except PRs with tiny changes)
   - [ ] Changes are complete (i.e. I finished coding on this PR)
   - [ ] All changes have test coverage:
   - Unit tests are added for small changes to verify correctness (e.g. adding 
a new operator)
   - Nightly tests are added for complicated/long-running ones (e.g. changing 
distributed kvstore)
   - Build tests will be added for build configuration changes (e.g. adding a 
new build option with NCCL)
   - [ ] Code is well-documented: 
   - For user-facing API changes, API doc string has been updated. 
   - For new C++ functions in header files, their functionalities and arguments 
are documented. 
   - For new examples, README.md is added to explain the what the example does, 
the source of the dataset, expected performance on test set and reference to 
the original paper if applicable
   - Check the API doc at 
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
   - [ ] To the my best knowledge, examples are either not affected by this 
change, or have been fixed to be compatible with this change
   
   ### Changes ###
   - [ ] Feature1, tests, (and when applicable, API doc)
   - [ ] Feature2, tests, (and when applicable, API doc)
   
   ## Comments ##
   - If this change is a backward incompatible change, why must this change be 
made.
   - Interesting edge cases to note here


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] VoVAllen commented on issue #16048: [Numpy] Automatic type inference mismatch with numpy

2019-08-31 Thread GitBox
VoVAllen commented on issue #16048: [Numpy] Automatic type inference mismatch 
with numpy
URL: 
https://github.com/apache/incubator-mxnet/issues/16048#issuecomment-526812590
 
 
   Seems related to error at 
https://github.com/apache/incubator-mxnet/issues/16054


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] mxnet-label-bot commented on issue #16054: [Bug] Error initialization with gluon when using mx.set_np_shape(True)

2019-08-31 Thread GitBox
mxnet-label-bot commented on issue #16054: [Bug] Error initialization with 
gluon when using mx.set_np_shape(True)
URL: 
https://github.com/apache/incubator-mxnet/issues/16054#issuecomment-526812167
 
 
   Hey, this is the MXNet Label Bot. 
Thank you for submitting the issue! I will try and suggest some labels so 
that the appropriate MXNet community members can help resolve it. 
Here are my recommended label(s): Gluon, Bug


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] VoVAllen opened a new issue #16054: [Bug] Error initialization with gluon when using mx.set_np_shape(True)

2019-08-31 Thread GitBox
VoVAllen opened a new issue #16054: [Bug] Error initialization with gluon when 
using mx.set_np_shape(True)
URL: https://github.com/apache/incubator-mxnet/issues/16054
 
 
   
   
   ## Description
   ```python
   import mxnet as mx
   mx.set_np_shape(True)
   mx.gluon.nn.Conv2D(2, 2) # Throw Error
   ```
   ```
   MXNetErrorTraceback (most recent call last)
in 
   > 1 mx.gluon.nn.Conv2D(2, 2)
   
   
~/.pyenv/versions/3.6.8/envs/test_mxnet/lib/python3.6/site-packages/mxnet/gluon/nn/conv_layers.py
 in __init__(self, channels, kernel_size, strides, padding, dilation, groups, 
layout, activation, use_bias, weight_initializer, bias_initializer, 
in_channels, **kwargs)
   318 super(Conv2D, self).__init__(
   319 channels, kernel_size, strides, padding, dilation, 
groups, layout,
   --> 320 in_channels, activation, use_bias, weight_initializer, 
bias_initializer, **kwargs)
   321 
   322 
   
   
~/.pyenv/versions/3.6.8/envs/test_mxnet/lib/python3.6/site-packages/mxnet/gluon/nn/conv_layers.py
 in __init__(self, channels, kernel_size, strides, padding, dilation, groups, 
layout, in_channels, activation, use_bias, weight_initializer, 
bias_initializer, op_name, adj, prefix, params)
   113 dshape[layout.find('N')] = 1
   114 dshape[layout.find('C')] = in_channels
   --> 115 wshapes = _infer_weight_shape(op_name, dshape, 
self._kwargs)
   116 self.weight = self.params.get('weight', shape=wshapes[1],
   117   init=weight_initializer,
   
   
~/.pyenv/versions/3.6.8/envs/test_mxnet/lib/python3.6/site-packages/mxnet/gluon/nn/conv_layers.py
 in _infer_weight_shape(op_name, data_shape, kwargs)
36 op = getattr(symbol, op_name)
37 sym = op(symbol.var('data', shape=data_shape), **kwargs)
   ---> 38 return sym.infer_shape_partial()[0]
39 
40 
   
   
~/.pyenv/versions/3.6.8/envs/test_mxnet/lib/python3.6/site-packages/mxnet/symbol/symbol.py
 in infer_shape_partial(self, *args, **kwargs)
  1150 The order is same as the order of 
list_auxiliary_states().
  1151 """
   -> 1152 return self._infer_shape_impl(True, *args, **kwargs)
  1153 
  1154 def _infer_shape_impl(self, partial, *args, **kwargs):
   
   
~/.pyenv/versions/3.6.8/envs/test_mxnet/lib/python3.6/site-packages/mxnet/symbol/symbol.py
 in _infer_shape_impl(self, partial, *args, **kwargs)
  1208 ctypes.byref(aux_shape_ndim),
  1209 ctypes.byref(aux_shape_data),
   -> 1210 ctypes.byref(complete)))
  1211 if complete.value != 0:
  1212 arg_shapes = 
[tuple(arg_shape_data[i][:arg_shape_ndim[i]])
   
   
~/.pyenv/versions/3.6.8/envs/test_mxnet/lib/python3.6/site-packages/mxnet/base.py
 in check_call(ret)
   251 """
   252 if ret != 0:
   --> 253 raise MXNetError(py_str(_LIB.MXGetLastError()))
   254 
   255 
   
   MXNetError: Error in operator conv0_convolution0: [08:27:33] 
src/operator/nn/convolution.cc:203: Check failed: dilated_ksize_y <= 
AddPad(dshape[2], param_.pad[0]) (2 vs. 0) : kernel size exceed input
   Stack trace:
 [bt] (0) 
/home/ubuntu/.pyenv/versions/3.6.8/envs/test_mxnet/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x4b03ab)
 [0x7f7faa1a53ab]
 [bt] (1) 
/home/ubuntu/.pyenv/versions/3.6.8/envs/test_mxnet/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x8ec27b)
 [0x7f7faa5e127b]
 [bt] (2) 
/home/ubuntu/.pyenv/versions/3.6.8/envs/test_mxnet/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x2620172)
 [0x7f7fac315172]
 [bt] (3) 
/home/ubuntu/.pyenv/versions/3.6.8/envs/test_mxnet/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x26229f5)
 [0x7f7fac3179f5]
 [bt] (4) 
/home/ubuntu/.pyenv/versions/3.6.8/envs/test_mxnet/lib/python3.6/site-packages/mxnet/libmxnet.so(MXSymbolInferShapeEx+0x103e)
 [0x7f7fac27c61e]
 [bt] (5) 
/home/ubuntu/.pyenv/versions/3.6.8/envs/test_mxnet/lib/python3.6/site-packages/mxnet/libmxnet.so(MXSymbolInferShapePartialEx+0x82)
 [0x7f7fac27cd12]
 [bt] (6) 
/home/ubuntu/.pyenv/versions/3.6.8/envs/test_mxnet/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so(ffi_call_unix64+0x4c)
 [0x7f80302d54e6]
 [bt] (7) 
/home/ubuntu/.pyenv/versions/3.6.8/envs/test_mxnet/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so(ffi_call+0x3f1)
 [0x7f80302d4241]
 [bt] (8) 
/home/ubuntu/.pyenv/versions/3.6.8/envs/test_mxnet/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so(_ctypes_callproc+0x2cf)
 [0x7f80302cb8ff]
   ```
   
   ## Environment info (Required)
   
   Latest MXNet 1.5 
   
   Package used (Python/R/Scala/Julia): Python
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to 

[incubator-mxnet-site] branch asf-site updated: Bump the publish timestamp.

2019-08-31 Thread marcoabreu
This is an automated email from the ASF dual-hosted git repository.

marcoabreu pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 0e9c098  Bump the publish timestamp.
0e9c098 is described below

commit 0e9c09816bdd40152dda05f6a37edf4bcad27ae4
Author: mxnet-ci 
AuthorDate: Sat Aug 31 07:35:59 2019 +

Bump the publish timestamp.
---
 date.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/date.txt b/date.txt
new file mode 100644
index 000..ba37cca
--- /dev/null
+++ b/date.txt
@@ -0,0 +1 @@
+Sat Aug 31 07:35:59 UTC 2019