[GitHub] [incubator-mxnet] szha commented on issue #17948: [Website 2.0] General Version Dropdown

2020-03-31 Thread GitBox
szha commented on issue #17948: [Website 2.0] General Version Dropdown
URL: https://github.com/apache/incubator-mxnet/pull/17948#issuecomment-607044065
 
 
   Thanks for introducing the versioned website.
   
   In terms of appearance, could we make the version selector more visually 
distinct from other links? From the current look it doesn't seem obvious that a 
dropdown menu is there.
   
![image](https://user-images.githubusercontent.com/2626883/78102744-e956de00-739f-11ea-901d-9b6684eb3e68.png)
   
![image](https://user-images.githubusercontent.com/2626883/78102751-ef4cbf00-739f-11ea-9e82-8977bdd90de9.png)
   
   Another ask is that since we are maintaining both the mxnet 1.x (v1.x 
branch, w/ 1.7 to be the next version) and 2.x (master branch, w/ 2.0 to be the 
next version), can we make nightly builds for these dev branches available? See 
https://github.com/apache/incubator-mxnet/issues/17701 for details.


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] vexilligera commented on a change in pull request #17808: [WIP] Windows dev environment configuration, update install instructions from source in the docs

2020-03-31 Thread GitBox
vexilligera commented on a change in pull request #17808: [WIP] Windows dev 
environment configuration, update install instructions from source in the docs
URL: https://github.com/apache/incubator-mxnet/pull/17808#discussion_r401361553
 
 

 ##
 File path: ci/build_windows.py
 ##
 @@ -193,14 +238,19 @@ def windows_package(args):
 for dll in dlls:
 logging.info("packing dll: %s", dll)
 shutil.copy(dll, pkgdir_lib)
+
+if pkgdir_lib.find('gpu') != -1:
+
add_path("C:\\jenkins_slave\\workspace\\ut-python-gpu\\windows_package\\lib")
 
 Review comment:
   That's right, forgot to remove that. Will add that to the testing phase once 
we got the log from ad95025


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] sjtuWangDing opened a new pull request #17950: [Numpy] Add op linalg.lstsq

2020-03-31 Thread GitBox
sjtuWangDing opened a new pull request #17950: [Numpy] Add op linalg.lstsq
URL: https://github.com/apache/incubator-mxnet/pull/17950
 
 
   ## Description ##
   Add op linalg.lstsq
   
   ## 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 
https://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
   - [ ] To the best of my 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] mxnet-bot commented on issue #17950: [Numpy] Add op linalg.lstsq

2020-03-31 Thread GitBox
mxnet-bot commented on issue #17950: [Numpy] Add op linalg.lstsq
URL: https://github.com/apache/incubator-mxnet/pull/17950#issuecomment-607037206
 
 
   Hey @sjtuWangDing , Thanks for submitting the PR 
   All tests are already queued to run once. If tests fail, you can trigger one 
or more tests again with the following commands: 
   - To trigger all jobs: @mxnet-bot run ci [all] 
   - To trigger specific jobs: @mxnet-bot run ci [job1, job2] 
   *** 
   **CI supported jobs**: [centos-gpu, windows-cpu, miscellaneous, windows-gpu, 
unix-gpu, website, clang, sanity, centos-cpu, edge, unix-cpu]
   *** 
   _Note_: 
Only following 3 categories can trigger CI :PR Author, MXNet Committer, 
Jenkins Admin. 
   All CI tests must pass before the PR can be merged. 
   


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] josephevans commented on a change in pull request #17808: [WIP] Windows dev environment configuration, update install instructions from source in the docs

2020-03-31 Thread GitBox
josephevans commented on a change in pull request #17808: [WIP] Windows dev 
environment configuration, update install instructions from source in the docs
URL: https://github.com/apache/incubator-mxnet/pull/17808#discussion_r401357878
 
 

 ##
 File path: ci/build_windows.py
 ##
 @@ -193,14 +238,19 @@ def windows_package(args):
 for dll in dlls:
 logging.info("packing dll: %s", dll)
 shutil.copy(dll, pkgdir_lib)
+
+if pkgdir_lib.find('gpu') != -1:
+
add_path("C:\\jenkins_slave\\workspace\\ut-python-gpu\\windows_package\\lib")
 
 Review comment:
   Updating the path should be done in the testing phase - in 
ci/windows/test_py3_gpu.ps1 so the tests can find all the DLLs.


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] John1231983 commented on issue #17944: How to split symbol?

2020-03-31 Thread GitBox
John1231983 commented on issue #17944: How to split symbol?
URL: 
https://github.com/apache/incubator-mxnet/issues/17944#issuecomment-607029117
 
 
   @lilongyue it does not work for symbol.


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-bot commented on issue #17084: [numpy] add op median

2020-03-31 Thread GitBox
mxnet-bot commented on issue #17084: [numpy] add op median
URL: https://github.com/apache/incubator-mxnet/pull/17084#issuecomment-607004530
 
 
   Jenkins CI successfully triggered : [unix-gpu]


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] Yiyan66 commented on issue #17084: [numpy] add op median

2020-03-31 Thread GitBox
Yiyan66 commented on issue #17084: [numpy] add op median
URL: https://github.com/apache/incubator-mxnet/pull/17084#issuecomment-607004497
 
 
   @mxnet-bot run ci [unix-gpu]


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-bot commented on issue #17949: Allow input reordering duing Gluon / CachedOp graph transformations

2020-03-31 Thread GitBox
mxnet-bot commented on issue #17949: Allow input reordering duing Gluon / 
CachedOp graph transformations
URL: https://github.com/apache/incubator-mxnet/pull/17949#issuecomment-606984537
 
 
   Hey @mk-61 , Thanks for submitting the PR 
   All tests are already queued to run once. If tests fail, you can trigger one 
or more tests again with the following commands: 
   - To trigger all jobs: @mxnet-bot run ci [all] 
   - To trigger specific jobs: @mxnet-bot run ci [job1, job2] 
   *** 
   **CI supported jobs**: [edge, centos-gpu, windows-gpu, website, clang, 
centos-cpu, windows-cpu, unix-gpu, miscellaneous, sanity, unix-cpu]
   *** 
   _Note_: 
Only following 3 categories can trigger CI :PR Author, MXNet Committer, 
Jenkins Admin. 
   All CI tests must pass before the PR can be merged. 
   


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] mk-61 opened a new pull request #17949: Allow input reordering duing Gluon / CachedOp graph transformations

2020-03-31 Thread GitBox
mk-61 opened a new pull request #17949: Allow input reordering duing Gluon / 
CachedOp graph transformations
URL: https://github.com/apache/incubator-mxnet/pull/17949
 
 
   ## Description ##
   This change makes computation graphs, created in Gluon hybrid mode 
(CachedOp), tolerate input reordering during graph transformations - 
specifically, fusions.
   
   @ptrendx 
   
   ## 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 
https://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
   - [x] To the best of my 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


[GitHub] [incubator-mxnet] ciyongch commented on issue #17937: Fix for handling negative indices in the fusion of slice

2020-03-31 Thread GitBox
ciyongch commented on issue #17937: Fix for handling negative indices in the 
fusion of slice
URL: https://github.com/apache/incubator-mxnet/pull/17937#issuecomment-606973304
 
 
   @ptrendx It's really a great job to complete the journey of MXNet 1.6.0 
release! I'm going to manage the release of 1.7 with the support from @TaoLv, 
and will update the plan later in dev.


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.

2020-03-31 Thread aaronmarkham
This is an automated email from the ASF dual-hosted git repository.

aaronmarkham 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 cf45068  Bump the publish timestamp.
cf45068 is described below

commit cf45068ac9657a5918781d5f69fdcbb957df7ceb
Author: mxnet-ci 
AuthorDate: Wed Apr 1 00:45:18 2020 +

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..3a92ddd
--- /dev/null
+++ b/date.txt
@@ -0,0 +1 @@
+Wed Apr  1 00:45:18 UTC 2020



[GitHub] [incubator-mxnet] connorgoggins commented on issue #17798: [Website 2.0] General Version Dropdown

2020-03-31 Thread GitBox
connorgoggins commented on issue #17798: [Website 2.0] General Version Dropdown
URL: 
https://github.com/apache/incubator-mxnet/issues/17798#issuecomment-606954772
 
 
   Update: a [pull 
request](https://github.com/apache/incubator-mxnet/pull/17948) with my changes 
to the master branch is now ready for review, and the [website 
preview](http://ec2-3-19-223-185.us-east-2.compute.amazonaws.com/) content has 
been refreshed. Once my PR is merged and the Jenkins prod pipeline for 
building/publishing the production website is triggered, my changes will be 
visible in the production website.


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-bot commented on issue #17948: [Website 2.0] General Version Dropdown

2020-03-31 Thread GitBox
mxnet-bot commented on issue #17948: [Website 2.0] General Version Dropdown
URL: https://github.com/apache/incubator-mxnet/pull/17948#issuecomment-606954345
 
 
   Hey @connorgoggins , Thanks for submitting the PR 
   All tests are already queued to run once. If tests fail, you can trigger one 
or more tests again with the following commands: 
   - To trigger all jobs: @mxnet-bot run ci [all] 
   - To trigger specific jobs: @mxnet-bot run ci [job1, job2] 
   *** 
   **CI supported jobs**: [clang, edge, centos-gpu, centos-cpu, windows-cpu, 
miscellaneous, unix-cpu, windows-gpu, unix-gpu, website, sanity]
   *** 
   _Note_: 
Only following 3 categories can trigger CI :PR Author, MXNet Committer, 
Jenkins Admin. 
   All CI tests must pass before the PR can be merged. 
   


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] connorgoggins opened a new pull request #17948: [Website 2.0] General Version Dropdown

2020-03-31 Thread GitBox
connorgoggins opened a new pull request #17948: [Website 2.0] General Version 
Dropdown
URL: https://github.com/apache/incubator-mxnet/pull/17948
 
 
   ## Description ##
   This PR resolves the issues outlined in the Github issue for the [MXNet 
Website 2.0 General Version 
Dropdown](https://github.com/apache/incubator-mxnet/issues/17798). It serves to 
add a fully functional API version dropdown with consistent styling to the 
master website, and also modifies the Jenkins build instructions to download 
static artifacts from an [external 
repository](https://github.com/connorgoggins/mxnet-website-artifacts). 
Currently, this repository of static artifacts includes websites for the 
following past versions of the MXNet API:
   - 1.6
   - 1.5.0
   - 1.4.1
   - 1.3.1
   - 1.2.1
   - 1.1.0
   - 1.0.0
   - 0.11.0
   - 0.12.1
   
   Each version of the website also has a similarly formatted API version 
dropdown in the header of each page, making it easy for users to seamlessly 
navigate between different versions of the MXNet website.
   
   ## Checklist ##
   ### Essentials ###
   - [x] Changes are complete (i.e. I finished coding on this PR)
   - [x] Code is well-documented
   - [x] To the best of my knowledge, examples are either not affected by this 
change, or have been fixed to be compatible with this change
   
   ### Changes ###
   - M docs/python_docs/themes/mx-theme/mxtheme/header_top.html
   - M docs/python_docs/themes/mx-theme/mxtheme/layout.html
   - M docs/static_site/Makefile
   - M docs/static_site/src/_includes/head.html
   - M docs/static_site/src/_includes/header.html
   
   ## Comments ##
   Preview is currently available 
[here](http://ec2-3-19-223-185.us-east-2.compute.amazonaws.com/).
   
   
   @sandeep-krishnamurthy @aaronmarkham @szha @sojiadeshina @leezu


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] leezu commented on issue #17943: CMake build misses some parameters

2020-03-31 Thread GitBox
leezu commented on issue #17943: CMake build misses some parameters
URL: 
https://github.com/apache/incubator-mxnet/issues/17943#issuecomment-606950436
 
 
   Do you want to open a PR based on your suggestion?


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] djaym7 closed issue #17939: Ways of Freezing part of parameter and not the whole layer.

2020-03-31 Thread GitBox
djaym7 closed issue #17939: Ways of Freezing part of parameter and not the 
whole layer.
URL: https://github.com/apache/incubator-mxnet/issues/17939
 
 
   


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] djaym7 commented on issue #17939: Ways of Freezing part of parameter and not the whole layer.

2020-03-31 Thread GitBox
djaym7 commented on issue #17939: Ways of Freezing part of parameter and not 
the whole layer.
URL: 
https://github.com/apache/incubator-mxnet/issues/17939#issuecomment-606945552
 
 
   Okay, thanks


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] ptrendx commented on issue #17800: _MinusScalar type not supported` ?

2020-03-31 Thread GitBox
ptrendx commented on issue #17800: _MinusScalar type  not supported` ?
URL: 
https://github.com/apache/incubator-mxnet/issues/17800#issuecomment-606925771
 
 
   @aGiant You are still using `self.min_v` and `self.max_v` in your 
`hybrid_forward`. Are you sure you have them set as parameters? Here is a 
simple working example of using parameters:
   ```python
   class Test(gluon.HybridBlock):
   def __init__(self, **kwargs):
   super(Test, self).__init__(**kwargs)
   with self.name_scope():
   self.x_min = self.params.get('scales_min',
shape=(1,),
init=mx.init.Constant(5),
differentiable=False)
   self.x_max = self.params.get('scales_max',
shape=(1,),
init=mx.init.Constant(10),
differentiable=False)
   
   def hybrid_forward(self, F, x, x_min, x_max):
   return (x * x_min) + x_max
   
   
   t = Test()
   t.initialize()
   t(mx.nd.ones((1,)))
   ``` 
   ```python
   [15.]
   
   ```


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] zhreshold commented on issue #17852: [mxnet2.0] gluon 2.0 data: deprecate dataset transform= argument

2020-03-31 Thread GitBox
zhreshold commented on issue #17852: [mxnet2.0] gluon 2.0 data: deprecate 
dataset transform= argument
URL: https://github.com/apache/incubator-mxnet/pull/17852#issuecomment-606895552
 
 
   > Is there any timeline when to drop the deprecated argument?
   
   Ideally the first release after 2.0


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] sa-mustafa commented on issue #17943: CMake build misses some parameters

2020-03-31 Thread GitBox
sa-mustafa commented on issue #17943: CMake build misses some parameters
URL: 
https://github.com/apache/incubator-mxnet/issues/17943#issuecomment-606885869
 
 
   Yes. The 
https://github.com/apache/incubator-mxnet/blob/56e79853ad5cf98baf84454eb595c7658bef6ee6/CMakeLists.txt#L487
 looks for GTest module. However, FindGTest.cmake module needs to know how to 
link your project with GTest: statically, dynamically. That's why I suggest to 
add options on Windows to specify the GTest library type. 


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] apeforest commented on issue #17547: Fix cudnn Dropout reproducibility

2020-03-31 Thread GitBox
apeforest commented on issue #17547: Fix cudnn Dropout reproducibility
URL: https://github.com/apache/incubator-mxnet/pull/17547#issuecomment-606884157
 
 
   @roywei Could you please rebase and update this PR? Thanks!


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] zhreshold commented on issue #17939: Ways of Freezing part of parameter and not the whole layer.

2020-03-31 Thread GitBox
zhreshold commented on issue #17939: Ways of Freezing part of parameter and not 
the whole layer.
URL: 
https://github.com/apache/incubator-mxnet/issues/17939#issuecomment-606856072
 
 
   Unless you separate the e.g. conv layer to multiple one and concat you can't 
freeze partial weights.


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 pull request #17947: Try ningyuan win gpu build

2020-03-31 Thread GitBox
ChaiBapchya opened a new pull request #17947: Try ningyuan win gpu build
URL: https://github.com/apache/incubator-mxnet/pull/17947
 
 
   


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-bot commented on issue #17947: Try ningyuan win gpu build

2020-03-31 Thread GitBox
mxnet-bot commented on issue #17947: Try ningyuan win gpu build
URL: https://github.com/apache/incubator-mxnet/pull/17947#issuecomment-606851774
 
 
   Hey @ChaiBapchya , Thanks for submitting the PR 
   All tests are already queued to run once. If tests fail, you can trigger one 
or more tests again with the following commands: 
   - To trigger all jobs: @mxnet-bot run ci [all] 
   - To trigger specific jobs: @mxnet-bot run ci [job1, job2] 
   *** 
   **CI supported jobs**: [centos-cpu, edge, unix-cpu, website, sanity, clang, 
miscellaneous, unix-gpu, windows-cpu, windows-gpu, centos-gpu]
   *** 
   _Note_: 
Only following 3 categories can trigger CI :PR Author, MXNet Committer, 
Jenkins Admin. 
   All CI tests must pass before the PR can be merged. 
   


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] ptrendx commented on issue #17946: Change register_op_hook to take MXNet and Python types instead of C types

2020-03-31 Thread GitBox
ptrendx commented on issue #17946: Change register_op_hook to take MXNet and 
Python types instead of C types
URL: https://github.com/apache/incubator-mxnet/pull/17946#issuecomment-606844656
 
 
   This PR goes to master (so to 2.0), I don't think that we want breaking 
changes in 1.x/1.7 branch.


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] andrei5055 commented on issue #17335: Excessive GPU memory usage with dynamic shape input using Gluon interface

2020-03-31 Thread GitBox
andrei5055 commented on issue #17335: Excessive GPU memory usage with dynamic 
shape input using Gluon interface
URL: 
https://github.com/apache/incubator-mxnet/issues/17335#issuecomment-606830034
 
 
   I created a special MXNet tool for the collection of memory consumption 
statistics. Using this tool, I got the following memory allocation snapshot for 
this stress test.
   
![image](https://user-images.githubusercontent.com/7293680/78065885-d5cc5880-7348-11ea-9b82-32ee8aa2f90c.png)
   
   As we could see here, the memory actually used during the stress test for 
each batch size looks OK (see red and very tiny blue parts of the graph). But 
memory, which reserved in the cache (shown in yellow), grows exponentially with 
the batch size and for some reason, it is not released.
   
   I am not sure if it is the only problem with this stress test. When the 
program crashes, I could see some error messages regarding some multithread 
issue in Python.
   
   I will continue to work on that problem.


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] leezu commented on issue #17943: CMake build misses some parameters

2020-03-31 Thread GitBox
leezu commented on issue #17943: CMake build misses some parameters
URL: 
https://github.com/apache/incubator-mxnet/issues/17943#issuecomment-606814280
 
 
   Did you check out the 
https://github.com/apache/incubator-mxnet/blob/master/CMakeLists.txt#L479 
3rdparty/googletest submodule?


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.

2020-03-31 Thread aaronmarkham
This is an automated email from the ASF dual-hosted git repository.

aaronmarkham 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 9fe8b53  Bump the publish timestamp.
9fe8b53 is described below

commit 9fe8b53339177188a5d4866823f98b179ef138eb
Author: mxnet-ci 
AuthorDate: Tue Mar 31 18:45:37 2020 +

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..856ab1f
--- /dev/null
+++ b/date.txt
@@ -0,0 +1 @@
+Tue Mar 31 18:45:37 UTC 2020



[GitHub] [incubator-mxnet] ptrendx opened a new pull request #17946: Change register_op_hook to take MXNet and Python types instead of C types

2020-03-31 Thread GitBox
ptrendx opened a new pull request #17946: Change register_op_hook to take MXNet 
and Python types instead of C types
URL: https://github.com/apache/incubator-mxnet/pull/17946
 
 
   ## Description ##
   This PR changes the API of the Gluon's `register_op_hook` method to take the 
Python strings and MXNet NDArray instead of the C string and internal 
NDArrayHandle. Also it fixes a bug in the documentation (which previously said 
that the function should take 2 parameters, whereas in fact it takes 3).
   
   This change makes the `register_op_hook` much more user-friendly, especially 
for people not familiar with MXNet internals.
   
   @szha @eric-haibin-lin @anirudh2290 
   
   ## 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:
   - [x] Code is well-documented: 
   - For user-facing API changes, API doc string has been updated. 
   - [x] To the best of my 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


[GitHub] [incubator-mxnet] mxnet-bot commented on issue #17946: Change register_op_hook to take MXNet and Python types instead of C types

2020-03-31 Thread GitBox
mxnet-bot commented on issue #17946: Change register_op_hook to take MXNet and 
Python types instead of C types
URL: https://github.com/apache/incubator-mxnet/pull/17946#issuecomment-606775774
 
 
   Hey @ptrendx , Thanks for submitting the PR 
   All tests are already queued to run once. If tests fail, you can trigger one 
or more tests again with the following commands: 
   - To trigger all jobs: @mxnet-bot run ci [all] 
   - To trigger specific jobs: @mxnet-bot run ci [job1, job2] 
   *** 
   **CI supported jobs**: [centos-cpu, windows-cpu, windows-gpu, edge, clang, 
unix-gpu, sanity, miscellaneous, unix-cpu, centos-gpu, website]
   *** 
   _Note_: 
Only following 3 categories can trigger CI :PR Author, MXNet Committer, 
Jenkins Admin. 
   All CI tests must pass before the PR can be merged. 
   


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] marcoabreu commented on issue #17808: [WIP] Windows dev environment configuration, update install instructions from source in the docs

2020-03-31 Thread GitBox
marcoabreu commented on issue #17808: [WIP] Windows dev environment 
configuration, update install instructions from source in the docs
URL: https://github.com/apache/incubator-mxnet/pull/17808#issuecomment-606772939
 
 
   A missing dll might not mean that the dll itself is missing but that I can 
not be loaded to a miss in the dependency chain. I'd recommend to get the 
artifact and inspect it with some resources manager (similar to ldd). That 
should tell you which dependencies are expected and you can verify that they 
are available. 
   
   Maybe also starting with a debugger could help to see a more detailed 
exception which explains which dependency of the dll is missing. 


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] josephevans opened a new issue #17945: Reduce sanity buildtime

2020-03-31 Thread GitBox
josephevans opened a new issue #17945: Reduce sanity buildtime
URL: https://github.com/apache/incubator-mxnet/issues/17945
 
 
   ## Description
   The sanity build pipeline in CI used to take 1-2 minutes. It's now taking 
around 10 minutes.


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] leezu commented on a change in pull request #17808: [WIP] Windows dev environment configuration, update install instructions from source in the docs

2020-03-31 Thread GitBox
leezu commented on a change in pull request #17808: [WIP] Windows dev 
environment configuration, update install instructions from source in the docs
URL: https://github.com/apache/incubator-mxnet/pull/17808#discussion_r401049583
 
 

 ##
 File path: ci/build_windows.py
 ##
 @@ -33,16 +33,43 @@
 import zipfile
 from distutils.dir_util import copy_tree
 from enum import Enum
-from subprocess import check_call
+from subprocess import check_call, call
+import urllib.request
 
 from util import *
 
+
+# Fix for broken PATH with newline inserted presumably by VS studio 
installation of SQL server or
+# other component which makes visual studio stop working.
+os.environ['PATH']=os.environ.get('PATH').replace('\n','')
+
 KNOWN_VCVARS = {
+# https://gitlab.kitware.com/cmake/cmake/issues/18920
 'VS 2015': r'C:\Program Files (x86)\Microsoft Visual Studio 
14.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat',
-'VS 2017': r'C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Auxiliary\Build\vcvarsx86_amd64.bat'
+'VS 2017': r'C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat',
+'VS 2019': r'C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat'
 }
 
 
+def get_cuda_arch(default='"5.2"'):
+# cuda arch auto detection in cmake doesn't work on windows ci
 
 Review comment:
   No worries. Thanks for your work on 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] vexilligera commented on a change in pull request #17808: [WIP] Windows dev environment configuration, update install instructions from source in the docs

2020-03-31 Thread GitBox
vexilligera commented on a change in pull request #17808: [WIP] Windows dev 
environment configuration, update install instructions from source in the docs
URL: https://github.com/apache/incubator-mxnet/pull/17808#discussion_r401047981
 
 

 ##
 File path: ci/build_windows.py
 ##
 @@ -33,16 +33,43 @@
 import zipfile
 from distutils.dir_util import copy_tree
 from enum import Enum
-from subprocess import check_call
+from subprocess import check_call, call
+import urllib.request
 
 from util import *
 
+
+# Fix for broken PATH with newline inserted presumably by VS studio 
installation of SQL server or
+# other component which makes visual studio stop working.
+os.environ['PATH']=os.environ.get('PATH').replace('\n','')
+
 KNOWN_VCVARS = {
+# https://gitlab.kitware.com/cmake/cmake/issues/18920
 'VS 2015': r'C:\Program Files (x86)\Microsoft Visual Studio 
14.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat',
-'VS 2017': r'C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Auxiliary\Build\vcvarsx86_amd64.bat'
+'VS 2017': r'C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat',
+'VS 2019': r'C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat'
 }
 
 
+def get_cuda_arch(default='"5.2"'):
+# cuda arch auto detection in cmake doesn't work on windows ci
 
 Review comment:
   Mistakenly added due to misconception, already removed. Sorry about 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] vexilligera removed a comment on issue #17808: [WIP] Windows dev environment configuration, update install instructions from source in the docs

2020-03-31 Thread GitBox
vexilligera removed a comment on issue #17808: [WIP] Windows dev environment 
configuration, update install instructions from source in the docs
URL: https://github.com/apache/incubator-mxnet/pull/17808#issuecomment-606725758
 
 
   @ChaiBapchya I added instance type auto-detection and found out c5 was 
running the GPU ci, which caused the segfault.


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] leezu commented on a change in pull request #17808: [WIP] Windows dev environment configuration, update install instructions from source in the docs

2020-03-31 Thread GitBox
leezu commented on a change in pull request #17808: [WIP] Windows dev 
environment configuration, update install instructions from source in the docs
URL: https://github.com/apache/incubator-mxnet/pull/17808#discussion_r401038549
 
 

 ##
 File path: ci/build_windows.py
 ##
 @@ -33,16 +33,43 @@
 import zipfile
 from distutils.dir_util import copy_tree
 from enum import Enum
-from subprocess import check_call
+from subprocess import check_call, call
+import urllib.request
 
 from util import *
 
+
+# Fix for broken PATH with newline inserted presumably by VS studio 
installation of SQL server or
+# other component which makes visual studio stop working.
+os.environ['PATH']=os.environ.get('PATH').replace('\n','')
+
 KNOWN_VCVARS = {
+# https://gitlab.kitware.com/cmake/cmake/issues/18920
 'VS 2015': r'C:\Program Files (x86)\Microsoft Visual Studio 
14.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat',
-'VS 2017': r'C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Auxiliary\Build\vcvarsx86_amd64.bat'
+'VS 2017': r'C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat',
+'VS 2019': r'C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat'
 }
 
 
+def get_cuda_arch(default='"5.2"'):
+# cuda arch auto detection in cmake doesn't work on windows ci
 
 Review comment:
   The autodetection works fine on Windows. But we are compiling on a CPU 
instance, so of course you can't detect the gpu arch automatically. Can you 
remove this function and specify the MXNET_CUDA_ARCH argument as is done 
before? This function adds unnecessary complexity.


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] leezu commented on a change in pull request #17808: [WIP] Windows dev environment configuration, update install instructions from source in the docs

2020-03-31 Thread GitBox
leezu commented on a change in pull request #17808: [WIP] Windows dev 
environment configuration, update install instructions from source in the docs
URL: https://github.com/apache/incubator-mxnet/pull/17808#discussion_r401038549
 
 

 ##
 File path: ci/build_windows.py
 ##
 @@ -33,16 +33,43 @@
 import zipfile
 from distutils.dir_util import copy_tree
 from enum import Enum
-from subprocess import check_call
+from subprocess import check_call, call
+import urllib.request
 
 from util import *
 
+
+# Fix for broken PATH with newline inserted presumably by VS studio 
installation of SQL server or
+# other component which makes visual studio stop working.
+os.environ['PATH']=os.environ.get('PATH').replace('\n','')
+
 KNOWN_VCVARS = {
+# https://gitlab.kitware.com/cmake/cmake/issues/18920
 'VS 2015': r'C:\Program Files (x86)\Microsoft Visual Studio 
14.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat',
-'VS 2017': r'C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Auxiliary\Build\vcvarsx86_amd64.bat'
+'VS 2017': r'C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat',
+'VS 2019': r'C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat'
 }
 
 
+def get_cuda_arch(default='"5.2"'):
+# cuda arch auto detection in cmake doesn't work on windows ci
 
 Review comment:
   The autodetection works fine on Windows. But we are compiling on a CPU 
instance. Can you remove this function and specify the MXNET_CUDA_ARCH argument 
as is done before? This function adds unnecessary complexity.


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] vexilligera commented on issue #17808: [WIP] Windows dev environment configuration, update install instructions from source in the docs

2020-03-31 Thread GitBox
vexilligera commented on issue #17808: [WIP] Windows dev environment 
configuration, update install instructions from source in the docs
URL: https://github.com/apache/incubator-mxnet/pull/17808#issuecomment-606725758
 
 
   @ChaiBapchya I added instance type auto-detection and found out c5 was 
running the GPU ci, which caused the segfault.


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] TaoLv commented on issue #17937: Fix for handling negative indices in the fusion of slice

2020-03-31 Thread GitBox
TaoLv commented on issue #17937: Fix for handling negative indices in the 
fusion of slice
URL: https://github.com/apache/incubator-mxnet/pull/17937#issuecomment-606662435
 
 
   > @leezu Having a patch release would require following a release process 
again and my understanding is that there is going to be 1.7 release soon. 
@TaoLv I believe you guys wanted to do 1.7, right? Could you comment on the 
timeline?
   
   @ptrendx Thank you for the ping. @ciyongch will help to manage the release 
of 1.7 and will send out the plan and timeline to dev@ soon.


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] D-Roberts commented on issue #17851: [Numpy] np.linalg.qr forward implementation

2020-03-31 Thread GitBox
D-Roberts commented on issue #17851: [Numpy] np.linalg.qr forward implementation
URL: https://github.com/apache/incubator-mxnet/pull/17851#issuecomment-606631246
 
 
   @mxnet-bot run ci [windows-cpu]


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-bot commented on issue #17851: [Numpy] np.linalg.qr forward implementation

2020-03-31 Thread GitBox
mxnet-bot commented on issue #17851: [Numpy] np.linalg.qr forward implementation
URL: https://github.com/apache/incubator-mxnet/pull/17851#issuecomment-606631332
 
 
   Jenkins CI successfully triggered : [windows-cpu]


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.

2020-03-31 Thread aaronmarkham
This is an automated email from the ASF dual-hosted git repository.

aaronmarkham 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 766f86d  Bump the publish timestamp.
766f86d is described below

commit 766f86df3f448549816af73cc4198d517efbfa21
Author: mxnet-ci 
AuthorDate: Tue Mar 31 12:45:15 2020 +

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..5ef72bb
--- /dev/null
+++ b/date.txt
@@ -0,0 +1 @@
+Tue Mar 31 12:45:15 UTC 2020



[GitHub] [incubator-mxnet] sa-mustafa commented on issue #17943: CMake build misses some parameters

2020-03-31 Thread GitBox
sa-mustafa commented on issue #17943: CMake build misses some parameters
URL: 
https://github.com/apache/incubator-mxnet/issues/17943#issuecomment-606600218
 
 
   Hi,
   I manually introduce the library to cmake-gui, specifying the path. However, 
the errors suggest that the library type is not identified by cmake. Either the 
script should ask for the library type specifically, or it should be able to 
find it automatically.


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] vexilligera commented on issue #17808: [WIP] Windows dev environment configuration, update install instructions from source in the docs

2020-03-31 Thread GitBox
vexilligera commented on issue #17808: [WIP] Windows dev environment 
configuration, update install instructions from source in the docs
URL: https://github.com/apache/incubator-mxnet/pull/17808#issuecomment-606545045
 
 
   @mxnet-bot run ci [windows-gpu]


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-bot commented on issue #17808: [WIP] Windows dev environment configuration, update install instructions from source in the docs

2020-03-31 Thread GitBox
mxnet-bot commented on issue #17808: [WIP] Windows dev environment 
configuration, update install instructions from source in the docs
URL: https://github.com/apache/incubator-mxnet/pull/17808#issuecomment-606545125
 
 
   Jenkins CI successfully triggered : [windows-gpu]


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] John1231983 commented on issue #17944: How to split symbol?

2020-03-31 Thread GitBox
John1231983 commented on issue #17944: How to split symbol?
URL: 
https://github.com/apache/incubator-mxnet/issues/17944#issuecomment-606512387
 
 
   Thanks. Please check it because it has some error
   >mxnet.base.MXNetError: [16:36:59] 
src/operator/tensor/./matrix_op-inl.h:2634: Check failed: start < end: start 4 
is not less than end 4for subarray 2 Stack 


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] lilongyue commented on issue #17943: CMake build misses some parameters

2020-03-31 Thread GitBox
lilongyue commented on issue #17943: CMake build misses some parameters
URL: 
https://github.com/apache/incubator-mxnet/issues/17943#issuecomment-606509542
 
 
   hi i can successfully build mxnet cpp on linux operating system ,never tried 
windows op.
   it seems that you have not installed the google test libs on your system.
   After  installing it , the cmake should find it automatically for you!
   


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] lilongyue commented on issue #17944: How to split symbol?

2020-03-31 Thread GitBox
lilongyue commented on issue #17944: How to split symbol?
URL: 
https://github.com/apache/incubator-mxnet/issues/17944#issuecomment-606506860
 
 
   you can use 'split_v2' function to solve this ! below is a ndarray version 
to your case.
   symbolic operator should be the same 
   
   ##
   import mxnet.ndarray as nd
   
   input=nd.random.uniform(shape=[64,4,224,224])
   
   output=input.split_v2((3,4),1)
   
   print(input.shape)
   print('--')
   print(output[0].shape)
   print(output[1].shape)


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] BenjaminCHEN2016 commented on a change in pull request #17904: [Numpy] add: numpy op trilindices

2020-03-31 Thread GitBox
BenjaminCHEN2016 commented on a change in pull request #17904: [Numpy] add: 
numpy op trilindices
URL: https://github.com/apache/incubator-mxnet/pull/17904#discussion_r400737486
 
 

 ##
 File path: python/mxnet/numpy/multiarray.py
 ##
 @@ -5533,6 +5533,87 @@ def tril(m, k=0):
 """
 return _mx_nd_np.tril(m, k)
 
+@set_module('mxnet.numpy')
+def tril_indices(n, k=0, m=None):
+"""
+Return the indices for the lower-triangle of an (n, m) array.
+
+Parameters
+--
+n : int
+The row dimension of the arrays for which the returned
+indices will be valid.
+k : int, optional
+Diagonal offset (see `tril` for details).
+m : int, optional
+.. versionadded:: 1.9.0
+
+The column dimension of the arrays for which the returned
+arrays will be valid.
+By default `m` is taken equal to `n`.
+
+
+Returns
+---
+inds : tuple of arrays
+The indices for the triangle. The returned tuple contains two arrays,
+each with the indices along one dimension of the array.
+
+See also
+
+triu_indices : similar function, for upper-triangular.
+mask_indices : generic function accepting an arbitrary mask function.
+tril, triu
+
+Notes
+-
+.. versionadded:: 1.4.0
+
+Examples
+
+Compute two different sets of indices to access 4x4 arrays, one for the
+lower triangular part starting at the main diagonal, and one starting two
+diagonals further right:
+
+>>> il1 = np.tril_indices(4)
+>>> il2 = np.tril_indices(4, 2)
+
+Here is how they can be used with a sample array:
+
+>>> a = np.arange(16).reshape(4, 4)
+>>> a
+array([[ 0,  1,  2,  3],
+   [ 4,  5,  6,  7],
+   [ 8,  9, 10, 11],
+   [12, 13, 14, 15]])
+
+Both for indexing:
+
+>>> a[il1]
+array([ 0,  4,  5,  8,  9, 10, 12, 13, 14, 15])
+
+And for assigning values:
+
+>>> a[il1] = -1
+>>> a
+array([[-1,  1,  2,  3],
+   [-1, -1,  6,  7],
+   [-1, -1, -1, 11],
+   [-1, -1, -1, -1]])
+
+These cover almost the whole array (two diagonals right of the main one):
+
+>>> a[il2] = -10
+>>> a
+array([[-10, -10, -10,   3],
+   [-10, -10, -10, -10],
 
 Review comment:
   I have added more tests.


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] John1231983 opened a new issue #17944: How to split symbol?

2020-03-31 Thread GitBox
John1231983 opened a new issue #17944: How to split symbol?
URL: https://github.com/apache/incubator-mxnet/issues/17944
 
 
   I have a symbol that is created by concat between `data`  and `seg` at 
`dim=1`
   ```
   data with shape of 64x3x224x224
   seg with shpe of 64x1x224x224
   ```
   Hence, the symbol has size of `64x4x224x224`. I want to split the symbol 
back to data and seg. How can I do it? This is what I did
   ```
   data_seg  = mx.symbol.split(data=data_seg, axis=1, num_outputs=2)
   data = data_seg [0]
   seg =  data_seg [1]
   ```
   However, the shape of data and seg result in `64x2x224x224` instead of 
`64x3x224x224` and `64x1x224x224`, respectively.


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] vexilligera commented on issue #17808: [WIP] Windows dev environment configuration, update install instructions from source in the docs

2020-03-31 Thread GitBox
vexilligera commented on issue #17808: [WIP] Windows dev environment 
configuration, update install instructions from source in the docs
URL: https://github.com/apache/incubator-mxnet/pull/17808#issuecomment-606461815
 
 
   @leezu Thank you for checking the instance type and changing the cuda arch 
to 5.2, the ci is running now. @ChaiBapchya previously the segfault was caused 
by specifying 7.0 on the g3 instance.


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] sa-mustafa opened a new issue #17943: CMake build misses some parameters

2020-03-31 Thread GitBox
sa-mustafa opened a new issue #17943: CMake build misses some parameters
URL: https://github.com/apache/incubator-mxnet/issues/17943
 
 
   ## Description
   When CMake is used to build the MXNet 1.6.0 on Windows, some errors are 
generated pertaining to missing options.
   
   ### Error Message
   CMake Error at {build_path}/cmake-3.15/Modules/FindGTest.cmake:209 
(add_library):
   ```
   CMake Error at 
D:/Build/cmake-3.15.0/share/cmake-3.15/Modules/FindGTest.cmake:209 
(add_library):
 add_library called with IMPORTED argument but no library type.
   Call Stack (most recent call first):
 CMakeLists.txt:477 (find_package)
   
   
   CMake Error at 
D:/Build/cmake-3.15.0/share/cmake-3.15/Modules/FindGTest.cmake:211 
(set_target_properties):
 set_target_properties Can not find target to add properties to:
 GTest::GTest
   Call Stack (most recent call first):
 CMakeLists.txt:477 (find_package)
   
   
   CMake Error at 
D:/Build/cmake-3.15.0/share/cmake-3.15/Modules/FindGTest.cmake:219 
(set_target_properties):
 set_target_properties Can not find target to add properties to:
 GTest::GTest
   Call Stack (most recent call first):
 CMakeLists.txt:477 (find_package)
   
   
   CMake Error at 
D:/Build/cmake-3.15.0/share/cmake-3.15/Modules/FindGTest.cmake:134 
(set_property):
 set_property could not find TARGET GTest::GTest.  Perhaps it has not yet
 been created.
   Call Stack (most recent call first):
 D:/Build/cmake-3.15.0/share/cmake-3.15/Modules/FindGTest.cmake:224 
(__gtest_import_library)
 CMakeLists.txt:477 (find_package)
   
   
   CMake Error at 
D:/Build/cmake-3.15.0/share/cmake-3.15/Modules/FindGTest.cmake:137 
(set_target_properties):
 set_target_properties Can not find target to add properties to:
 GTest::GTest
   Call Stack (most recent call first):
 D:/Build/cmake-3.15.0/share/cmake-3.15/Modules/FindGTest.cmake:224 
(__gtest_import_library)
 CMakeLists.txt:477 (find_package)
   
   
   CMake Error at 
D:/Build/cmake-3.15.0/share/cmake-3.15/Modules/FindGTest.cmake:143 
(set_target_properties):
 set_target_properties Can not find target to add properties to:
 GTest::GTest
   Call Stack (most recent call first):
 D:/Build/cmake-3.15.0/share/cmake-3.15/Modules/FindGTest.cmake:224 
(__gtest_import_library)
 CMakeLists.txt:477 (find_package)
   
   
   CMake Error at 
D:/Build/cmake-3.15.0/share/cmake-3.15/Modules/FindGTest.cmake:228 
(add_library):
 add_library called with IMPORTED argument but no library type.
   Call Stack (most recent call first):
 CMakeLists.txt:477 (find_package)
   ```
   
   ## To Reproduce
   Just build the MXNet v1.6.0 project on Windows 8.1 (version is irrelevant). 
The CMake generates errors related to GTest options.
   
   ## What have you tried to solve it?
   Reading the CMake scripts helped find the cause. Two options are missing 
from the main CMakeList.txt file of the project. The CMake script needs to 
specify how to link with GTest library as shared/static/object or whatever. 
Just add the following two lines to CMakeList.txt @ line 472:
   ```cmake
   set(GTEST_LIBRARY_TYPE SHARED)
   set(GTEST_MAIN_LIBRARY_TYPE SHARED)
   ```


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] JustinhoCHN commented on issue #17923: can not install mxnet on jetson nano, jetpack 4.3, mxnet 1.4

2020-03-31 Thread GitBox
JustinhoCHN commented on issue #17923: can not install mxnet on jetson nano, 
jetpack 4.3, mxnet 1.4
URL: 
https://github.com/apache/incubator-mxnet/issues/17923#issuecomment-606444051
 
 
   Guys, I solve that problem, from nvidia jetson forums advice:
   
   1. Download the mxnet-1.6 whl for jetson: 
[link](https://drive.google.com/file/d/1acFgoFaw9arP1I6VZFR3Jjsm6TNkpR0v/view?usp=drive_open)
   
   2. 
   ```
   sudo pip3 install numpy==1.16
   sudo pip3 install mxnet-1.6.0-py3-none-any.whl
   ```
   
   3. switch to sudo account! that’s import for me:
   ```
   sudo su
   export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/mxnet
   ```
   ```
   root@jetbot:/home/jetbot# python3
   Python 3.6.9 (default, Nov  7 2019, 10:44:02) 
   [GCC 8.3.0] on linux
   Type "help", "copyright", "credits" or "license" for more information.
   >>> import mxnet as mx
   >>> mx.__version__
   '1.6.0'
   ```
   
   If I use python3 under jetbot account, will thorw segmentation fault error, 
seems I forgot change to sudo.


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] JustinhoCHN closed issue #17923: can not install mxnet on jetson nano, jetpack 4.3, mxnet 1.4

2020-03-31 Thread GitBox
JustinhoCHN closed issue #17923: can not install mxnet on jetson nano, jetpack 
4.3, mxnet 1.4
URL: https://github.com/apache/incubator-mxnet/issues/17923
 
 
   


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.

2020-03-31 Thread aaronmarkham
This is an automated email from the ASF dual-hosted git repository.

aaronmarkham 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 e841be1  Bump the publish timestamp.
e841be1 is described below

commit e841be17746867f88a6ab72f60f9e66a5d3ad869
Author: mxnet-ci 
AuthorDate: Tue Mar 31 06:44:53 2020 +

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..c8a738b
--- /dev/null
+++ b/date.txt
@@ -0,0 +1 @@
+Tue Mar 31 06:44:53 UTC 2020



[GitHub] [incubator-mxnet] becauseofAI opened a new issue #17942: error when slice_axis exporting to onnx

2020-03-31 Thread GitBox
becauseofAI opened a new issue #17942: error when slice_axis exporting to onnx
URL: https://github.com/apache/incubator-mxnet/issues/17942
 
 
   ## Description
   An error occurred when exporting the ```slice_axis()``` operation of mxnet 
to onnx.
   
   ### Related code
   ```python
   branch1_conv3 = mxnet.symbol.Convolution(data=branch1_relu2,
 kernel=(1, 1),
 stride=(1, 1),
 pad=(0, 0),
 num_filter=2,
 name=prefix_name_branch1)
   predicts = mxnet.symbol.softmax(data=branch1_conv3, axis=1)
   predict = mxnet.symbol.slice_axis(predicts, axis=1, begin=0, end=1)
   ```
   The corresponding json code block is as follows:
   ```json
   {
 "op": "Convolution", 
 "name": "branch1_conv3", 
 "attrs": {
   "kernel": "(1, 1)", 
   "num_filter": "2", 
   "pad": "(0, 0)", 
   "stride": "(1, 1)"
 }, 
 "inputs": [[45, 0, 0], [46, 0, 0], [47, 0, 0]]
   }, 
   {
 "op": "softmax", 
 "name": "softmax0", 
 "attrs": {"axis": "1"}, 
 "inputs": [[48, 0, 0]]
   }, 
   {
 "op": "slice_axis", 
 "name": "slice_axis20", 
 "attrs": {
   "axis": "1", 
   "begin": "0", 
   "end": "1"
 }, 
 "inputs": [[49, 0, 0]]
   }
   ```
   
   ### Error Message
   ```shell
   File 
"to/path/anaconda3/lib/python3.7/site-packages/mxnet/contrib/onnx/mx2onnx/export_model.py",
 line 87, in export_model
   verbose=verbose)
 File 
"to/path/anaconda3/lib/python3.7/site-packages/mxnet/contrib/onnx/mx2onnx/export_onnx.py",
 line 312, in create_onnx_graph_proto
   checker.check_graph(graph)
 File "to/path/anaconda3/lib/python3.7/site-packages/onnx/checker.py", line 
53, in checker
   proto.SerializeToString(), ctx)
   onnx.onnx_cpp2py_export.checker.ValidationError: Node (slice_axis20) has 
input size 1 not in range [min=3, max=5].
   
   ==> Context: Bad node spec: input: "softmax0" output: "slice_axis20" name: 
"slice_axis20" op_type: "Slice" attribute { name: "axes" ints: 1 type: INTS } 
attribute { name: "ends" ints: 1 type: INTS } attribute { name: "starts" ints: 
0 type: INTS }
   ```
   
   ### Environment
   mxnet==1.5.0/1.5.1/1.6.0
   onnx>=1.4.0 # the above error occurred
   onnx==1.1.1/1.3.0 # exported successfully
   
   So if I want to use onnx==1.6.0 to export successfully, what can I do for 
this 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