Open yifeim opened 5 years ago
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): Bug
@eric-haibin-lin
It looks like the regression happens around April 16th
➜ mxnet git:(take) ✗ pip install mxnet==1.5.0b20190417
Requirement already satisfied: mxnet==1.5.0b20190417 in /Users/haibilin/miniconda3/lib/python3.7/site-packages (1.5.0b20190417)
Requirement already satisfied: numpy<1.15.0,>=1.8.2 in /Users/haibilin/miniconda3/lib/python3.7/site-packages (from mxnet==1.5.0b20190417) (1.14.6)
Requirement already satisfied: requests>=2.20.0 in /Users/haibilin/miniconda3/lib/python3.7/site-packages (from mxnet==1.5.0b20190417) (2.22.0)
Requirement already satisfied: graphviz<0.9.0,>=0.8.1 in /Users/haibilin/miniconda3/lib/python3.7/site-packages (from mxnet==1.5.0b20190417) (0.8.4)
Requirement already satisfied: idna<2.9,>=2.5 in /Users/haibilin/miniconda3/lib/python3.7/site-packages (from requests>=2.20.0->mxnet==1.5.0b20190417) (2.8)
Requirement already satisfied: certifi>=2017.4.17 in /Users/haibilin/miniconda3/lib/python3.7/site-packages (from requests>=2.20.0->mxnet==1.5.0b20190417) (2019.6.16)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /Users/haibilin/miniconda3/lib/python3.7/site-packages (from requests>=2.20.0->mxnet==1.5.0b20190417) (3.0.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /Users/haibilin/miniconda3/lib/python3.7/site-packages (from requests>=2.20.0->mxnet==1.5.0b20190417) (1.24.2)
➜ mxnet git:(take) ✗ python test.py
[20:54:47] src/operator/contrib/../tensor/../../common/utils.h:450:
Storage type fallback detected:
operator = norm
input storage types = [row_sparse, ]
output storage types = [default, ]
params = {}
context.dev_mask = cpu
The operator with default storage type will be dispatched for execution. You're seeing this warning message because the operator above is unable to process the given ndarrays with specified storage types, context and parameter. Temporary dense ndarrays are generated in order to execute the operator. This does not affect the correctness of the programme. You can set environment variable MXNET_STORAGE_FALLBACK_LOG_VERBOSE to 0 to suppress this warning.
[2.]
<NDArray 1 @cpu(0)>
➜ mxnet git:(take) ✗ pip install mxnet==1.5.0b20190416
Collecting mxnet==1.5.0b20190416
Using cached https://files.pythonhosted.org/packages/48/41/99ca13c3173c3631a024ace26e36baedf7d0810c0ac465f22cc2f0af2796/mxnet-1.5.0b20190416-cp37-cp37m-macosx_10_11_x86_64.whl
Requirement already satisfied: numpy<1.15.0,>=1.8.2 in /Users/haibilin/miniconda3/lib/python3.7/site-packages (from mxnet==1.5.0b20190416) (1.14.6)
Requirement already satisfied: graphviz<0.9.0,>=0.8.1 in /Users/haibilin/miniconda3/lib/python3.7/site-packages (from mxnet==1.5.0b20190416) (0.8.4)
Requirement already satisfied: requests>=2.20.0 in /Users/haibilin/miniconda3/lib/python3.7/site-packages (from mxnet==1.5.0b20190416) (2.22.0)
Requirement already satisfied: certifi>=2017.4.17 in /Users/haibilin/miniconda3/lib/python3.7/site-packages (from requests>=2.20.0->mxnet==1.5.0b20190416) (2019.6.16)
Requirement already satisfied: idna<2.9,>=2.5 in /Users/haibilin/miniconda3/lib/python3.7/site-packages (from requests>=2.20.0->mxnet==1.5.0b20190416) (2.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /Users/haibilin/miniconda3/lib/python3.7/site-packages (from requests>=2.20.0->mxnet==1.5.0b20190416) (3.0.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /Users/haibilin/miniconda3/lib/python3.7/site-packages (from requests>=2.20.0->mxnet==1.5.0b20190416) (1.24.2)
Installing collected packages: mxnet
Found existing installation: mxnet 1.5.0b20190417
Uninstalling mxnet-1.5.0b20190417:
Successfully uninstalled mxnet-1.5.0b20190417
Successfully installed mxnet-1.5.0b20190416
➜ mxnet git:(take) ✗ python test.py
[2.]
<NDArray 1 @cpu(0)>
I did further bisecting and the error happens starting commit 3f3ba92ae1468d08de088d2291ca14e2d5dc5515 @reminisce Need to look into it a bit more
@mxnet-label-bot add [Bug, Operator]
Description
mxnet.ndarray.sparse.norm causes sparse fallback in CSRNDArray in 1.5.0 and master. Additionally, that the regression passed unit tests suggests deeper issues. For example, all sparse regression fallbacks happen silently in the background, instead of being surfaced to the caller. This makes it difficult to id the root cause.
Environment info (Required)
Package used (Python/R/Scala/Julia): Python27 and Python36
Error Message:
Minimum reproducible example
Steps to reproduce
(Paste the commands you ran that produced the error.)
What have you tried to solve it?
Downgrade 1. 2.