Incubator-mxnet: 1.3.0 release pre-built package contains a buggy openblas version. Causing gluon data loader with large num_workers to crash

Created on 14 Sep 2018  路  12Comments  路  Source: apache/incubator-mxnet

Description

In latest mxnet pip prebuilt packages, when using gluon data loader with num_worker > certain number, it may raise error:

 OpenBLAS : Program will terminate because you tried to start too many threads.

Related issue: https://github.com/xianyi/OpenBLAS/issues/1735

Environment info (Required)

Ubuntu 16

pip install mxnet==1.3.0
from mxnet import gluon
dataset = xxx
batch_size = 16
loader = gluon.data.DataLoader(dataset, batch_size, num_workers=16)
BLAS Bug

Most helpful comment

Looks like we just need to upgrade the openblas dependency to 0.3.3. Since it doesn't require code change in mxnet I will prepare a post-release to include the upgrade shortly.

All 12 comments

@szha

Looks like we just need to upgrade the openblas dependency to 0.3.3. Since it doesn't require code change in mxnet I will prepare a post-release to include the upgrade shortly.

@mxnet-label-bot[Bug, BLAS]

@ankkhedia @Roshrini @lupesko - this may impact the windows instructions since we're currently having people use OpenBLAS v0.2.19 when building from source. WDYT @szha ?

@aaronmarkham both versions should work. It's up to the user to decide which version of dependency to include.

is impact the windows? Windows need to upgrade openblas?

i am only receiving report on ubunutu so far

ok,not upgrade now,wait report.

@zhreshold the 1.3.0.post0 releases contain the upgrade. Please verify.

Thanks @szha.
@yajiedesign are you waiting for a confirmation before you publish the windows pip package for 1.3.0?

@szha Verified with same code, 1.3.0 failed and 1.3.0.post0 passed. Thanks for the timely fix!

@lupesko At present, I have uploaded 1.3.0, waiting for report.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ajoo picture Ajoo  路  3Comments

Shiro-LK picture Shiro-LK  路  3Comments

luoruisichuan picture luoruisichuan  路  3Comments

dmadeka picture dmadeka  路  3Comments

seongkyun picture seongkyun  路  3Comments