You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well said - and indeed there is a lot of work by @carlkl going on behind the scenes to make this happen. I believe we are nearly there now - @carlkl - when will you go public, do you think?
For context: the reason this isn't trivial is that the binaries you linked
to depend on Intel's proprietary runtime and math library, which
complicates redistributing them.
fwiw I personally would like to change the size of the default integer in win64 before we actually provide official binaries, though there was some resistance too it when I last proposed it, also possibly with anaconda and other third party binaries its probably already too late :(
also speaking of openblas, someone fancy some debugging, I'm tired of it (looks like the same failure that breaks scipy with openblas):
test_einsum_sums_float64 (test_einsum.TestEinSum) ... ==31931== Invalid read of size 16
==31931== at 0x7B28EB9: ddot_k_NEHALEM (in /usr/lib/libopenblasp-r0.2.10.so)
==31931== by 0x6DBDA90: DOUBLE_dot (arraytypes.c.src:3127)
==31931== by 0x6E93DEC: cblas_matrixproduct (cblasfuncs.c:528)
==31931== by 0x6E6B7B3: PyArray_MatrixProduct2 (multiarraymodule.c:994)
==31931== by 0x6E6E29B: array_matrixproduct (multiarraymodule.c:2276)
======================================================================
FAIL: test_nan_outputs2 (test_umath.TestHypotSpecialValues)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\tools\wp_279\python-2.7.9rc1\lib\site-packages\numpy\core\tests\test_umath.py", line 411, in test_nan_outputs2
assert_hypot_isinf(np.nan, np.inf)
File "D:\tools\wp_279\python-2.7.9rc1\lib\site-packages\numpy\core\tests\test_umath.py", line 402, in assert_hypot_isinf
"hypot(%s, %s) is %s, not inf" % (x, y, ncu.hypot(x, y)))
File "D:\tools\wp_279\python-2.7.9rc1\lib\site-packages\numpy\testing\utils.py", line 53, in assert_
raise AssertionError(smsg)
AssertionError: hypot(nan, inf) is nan, not inf
======================================================================
FAIL: test_umath_complex.TestCabs.test_cabs_inf_nan(<ufunc 'absolute'>, inf, nan, inf)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\tools\wp_279\python-2.7.9rc1\lib\site-packages\nose\case.py", line 197, in runTest
self.test(*self.arg)
File "D:\tools\wp_279\python-2.7.9rc1\lib\site-packages\numpy\core\tests\test_umath_complex.py", line 523, in check_real_value
assert_equal(f(z1), x)
File "D:\tools\wp_279\python-2.7.9rc1\lib\site-packages\numpy\testing\utils.py", line 275, in assert_equal
return assert_array_equal(actual, desired, err_msg, verbose)
File "D:\tools\wp_279\python-2.7.9rc1\lib\site-packages\numpy\testing\utils.py", line 739, in assert_array_equal
verbose=verbose, header='Arrays are not equal')
File "D:\tools\wp_279\python-2.7.9rc1\lib\site-packages\numpy\testing\utils.py", line 628, in assert_array_compare
chk_same_position(x_isnan, y_isnan, hasval='nan')
File "D:\tools\wp_279\python-2.7.9rc1\lib\site-packages\numpy\testing\utils.py", line 608, in chk_same_position
raise AssertionError(msg)
AssertionError:
Arrays are not equal
x and y nan location mismatch:
x: array([ nan])
y: array(inf)
======================================================================
FAIL: test_umath_complex.TestCabs.test_cabs_inf_nan(<ufunc 'absolute'>, -inf, nan, inf)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\tools\wp_279\python-2.7.9rc1\lib\site-packages\nose\case.py", line 197, in runTest
self.test(*self.arg)
File "D:\tools\wp_279\python-2.7.9rc1\lib\site-packages\numpy\core\tests\test_umath_complex.py", line 523, in check_real_value
assert_equal(f(z1), x)
File "D:\tools\wp_279\python-2.7.9rc1\lib\site-packages\numpy\testing\utils.py", line 275, in assert_equal
return assert_array_equal(actual, desired, err_msg, verbose)
File "D:\tools\wp_279\python-2.7.9rc1\lib\site-packages\numpy\testing\utils.py", line 739, in assert_array_equal
verbose=verbose, header='Arrays are not equal')
File "D:\tools\wp_279\python-2.7.9rc1\lib\site-packages\numpy\testing\utils.py", line 628, in assert_array_compare
chk_same_position(x_isnan, y_isnan, hasval='nan')
File "D:\tools\wp_279\python-2.7.9rc1\lib\site-packages\numpy\testing\utils.py", line 608, in chk_same_position
raise AssertionError(msg)
AssertionError:
Arrays are not equal
x and y nan location mismatch:
x: array([ nan])
y: array(inf)
I don't disagree about changing the win64 integer size, but I think that's
a separate issue that should be decoupled from the wheels. If this were the
first time win64 numpy builds were becoming widely available, then it'd
make sense to link them, but at this point there are already tons of users
for years, they're just using cgholke or anaconda or whatever. So let's
treat that as an independent discussion?
(Strictly speaking it's a backcompat break, but even so it seems reasonable
that we might be able to pull it off, since it actually reduces
incompatibility between platforms -- all portable code has to handle 64-bit
dtype=int already.)
On Thu, Jan 22, 2015 at 8:59 PM, Julian Taylor [email protected]
wrote:
fwiw I personally would like to change the size of the default integer in
win64 before we actually provide official binaries, though there was some
resistance too it when I last proposed it, also possibly with anaconda and
other third party binaries its probably already too late :(
also speaking of openblas, someone fancy some debugging, I'm tired of it
(looks like the same failure that breaks scipy with openblas):
test_einsum_sums_float64 (test_einsum.TestEinSum) ... ==31931== Invalid read of size 16
==31931== at 0x7B28EB9: ddot_k_NEHALEM (in /usr/lib/libopenblasp-r0.2.10.so)
==31931== by 0x6DBDA90: DOUBLE_dot (arraytypes.c.src:3127)
==31931== by 0x6E93DEC: cblas_matrixproduct (cblasfuncs.c:528)
==31931== by 0x6E6B7B3: PyArray_MatrixProduct2 (multiarraymodule.c:994)
==31931== by 0x6E6E29B: array_matrixproduct (multiarraymodule.c:2276)
—
Reply to this email directly or view it on GitHub #5479 (comment).
Just a heads up. Using 64 bit integers in blas is a terrible idea. Stop before you get too far down that road. Matlab, and Julia before I went and fixed it, did this, and it breaks any third-party library that assumes conventional 32-bit integers in blas.
What we've been doing in Julia for the past ~5 months is actually renaming all the symbols in openblas to add a _64 suffix to them for the 64-bit-int version, that way you can do linear algebra on really huge arrays if you want, but loading external libraries into the same process won't segfault by name shadowing and trying to call dgemm with the wrong ABI.
My latest version is available on binstar.org though I'm not sure if anaconda.org is the new prefered name now.
The wheels for py-2.6 .. 3.4 (32/64bit) are about 2 months old:
@matthew-brett, I announced these builds a month ago, but I don't remember where. Anyway, these builds link against numpy-atlas supplied by your numpy wheels.
Is that the right log? It has NumPy is installed in D:\devel\py\python-3.4.4\lib\site-packages\numpy at the end.
I was wondering if we are close to being able to provide a scipy wheel, even if it dangerously links against the wrong MSVC runtime, but it looks as is there are far too many errors for this build.
Do you get fewer errors for the 64-bit build? For the current best build against openblas 0.2.18 ?
I know: this cries for comparison with OpenBLAS. However, I'm stuck since the last 4 weeks for several reasons as you may have noticed. Hopefully the situation will continue to improve.
@matthew-brett, I would appreciate using numpy MSVC builds with OpenBLAS. My latest builds are here:
As if mingwpy, conda-forge, Anaconda and Canopy wasn't enough here comes the Intel Distribution for Python and it's free to download. It includes just the numerical tools (SciPy, NumPy, Numba, Scikit-Learn) plus some extras (mpi4py Intel mp interface and pyDAAL data analytics) and uses conda.
No worries the license expires 10/29/16 so these Intel builds are just a
beta test followed by probably an MKL+ etc. license fee. OpenBLAS builds
will remain the open source solution so thank you for providing these
builds.
On Apr 28, 2016 7:21 PM, "Mark Mikofski" [email protected] wrote:
Thanks for the report - I think we must have uploaded too soon, and therefore before all the wheels were built. I've uploaded the missing wheel. It looks like we need a test to make sure this doesn't happen again.
I understand that this issue is closed but I believe we should consider re-opening it.
This remains an issue for windows users trying to get their scientific stack running without having to resort to conda. I still need to use the @cgohlke'MKL' builds see this related scipy issue which remains open. Although wheels are being created, without being compatible with scipy, they are not usable for many.
Activity
matthew-brett commentedon Jan 22, 2015
Well said - and indeed there is a lot of work by @carlkl going on behind the scenes to make this happen. I believe we are nearly there now - @carlkl - when will you go public, do you think?
njsmith commentedon Jan 22, 2015
For context: the reason this isn't trivial is that the binaries you linked
to depend on Intel's proprietary runtime and math library, which
complicates redistributing them.
carlkl commentedon Jan 22, 2015
I deployed the recent OpenBLAS based numpy and scipy wheels on binstar. You can install them with:
pip install -i https://pypi.binstar.org/carlkl/simple numpy
pip install -i https://pypi.binstar.org/carlkl/simple scipy
This works for python-2.7 and for python-3.4. The wheels are marked as 'experimental'. Feedback is welcome.
njsmith commentedon Jan 22, 2015
If you want widespread testing then you should send this to the list :-)
On Thu, Jan 22, 2015 at 8:54 PM, carlkl [email protected] wrote:
Nathaniel J. Smith
Postdoctoral researcher - Informatics - University of Edinburgh
http://vorpus.org
juliantaylor commentedon Jan 22, 2015
fwiw I personally would like to change the size of the default integer in win64 before we actually provide official binaries, though there was some resistance too it when I last proposed it, also possibly with anaconda and other third party binaries its probably already too late :(
also speaking of openblas, someone fancy some debugging, I'm tired of it (looks like the same failure that breaks scipy with openblas):
carlkl commentedon Jan 22, 2015
OpenBLAS version used is 0.2.12. I didn't experienced significant problems with this version yet.
The scipy failures are copied to https://gist.github.com/carlkl/b05dc6055fd42eba8cc7.
32bit only numpy failures due to http://sourceforge.net/p/mingw-w64/bugs/367
njsmith commentedon Jan 22, 2015
I don't disagree about changing the win64 integer size, but I think that's
a separate issue that should be decoupled from the wheels. If this were the
first time win64 numpy builds were becoming widely available, then it'd
make sense to link them, but at this point there are already tons of users
for years, they're just using cgholke or anaconda or whatever. So let's
treat that as an independent discussion?
(Strictly speaking it's a backcompat break, but even so it seems reasonable
that we might be able to pull it off, since it actually reduces
incompatibility between platforms -- all portable code has to handle 64-bit
dtype=int already.)
On Thu, Jan 22, 2015 at 8:59 PM, Julian Taylor [email protected]
wrote:
Nathaniel J. Smith
Postdoctoral researcher - Informatics - University of Edinburgh
http://vorpus.org
TFenby commentedon Feb 12, 2015
I'm also interested in this. Is there some way of assisting with the process?
carlkl commentedon Feb 12, 2015
OpenBLAS can be compiled with
INTERFACE64=1and numpy can be compiled with-fdefault-integer-8for a first try.tkelman commentedon Mar 16, 2015
Just a heads up. Using 64 bit integers in blas is a terrible idea. Stop before you get too far down that road. Matlab, and Julia before I went and fixed it, did this, and it breaks any third-party library that assumes conventional 32-bit integers in blas.
What we've been doing in Julia for the past ~5 months is actually renaming all the symbols in openblas to add a
_64suffix to them for the 64-bit-int version, that way you can do linear algebra on really huge arrays if you want, but loading external libraries into the same process won't segfault by name shadowing and trying to calldgemmwith the wrong ABI.guyverthree commentedon Jun 25, 2015
Hey guys is there any update on the wheels files being made available for Numpy ?
njsmith commentedon Jun 25, 2015
Not that I'm aware of right now.
On Jun 25, 2015 4:27 AM, "guyverthree" [email protected] wrote:
mikofski commentedon Jun 25, 2015
@guyverthree Christoph Gohlke has been releasing NumPy using Intel's MKL as wheels for a while now.
Also, see my blog post on NumPy wheels. I made some NumPy wheels in my Dropbox using Carl Kleffner's modified mingw-w64 toolchain and Zhang Xianyi's OpenBLAS port of GotoBLAS. Olivier Grisel was looking for help modifying the NumPy buildbot to repeat the same steps used in the OpenBLAS google groups thread I post to.
carlkl commentedon Jun 26, 2015
My latest version is available on binstar.org though I'm not sure if anaconda.org is the new prefered name now.
The wheels for py-2.6 .. 3.4 (32/64bit) are about 2 months old:
build with my https://bitbucket.org/carlkl/mingw-w64-for-python and a more or less recent OpenBLAS.
pip install:
pip install -i https://pypi.binstar.org/carlkl/simple numpypip install -i https://pypi.binstar.org/carlkl/simple scipymikofski commentedon Jul 10, 2015
+1 @carlkl and I wish these could be added to NumPy build at the Cheese Factory as well.
244 remaining items
carlkl commentedon Apr 28, 2016
@matthew-brett, I announced these builds a month ago, but I don't remember where. Anyway, these builds link against numpy-atlas supplied by your numpy wheels.
scipy-0.17.0-cp35-cp35m-win##.whl are linked against the wrong C-runtime msvcrt.dll. For scipy this seems to be OK. Test logs are here: https://gist.github.com/carlkl/9e9aa45f49fedb1a1ef7
matthew-brett commentedon Apr 28, 2016
Is that the right log? It has
NumPy is installed in D:\devel\py\python-3.4.4\lib\site-packages\numpyat the end.I was wondering if we are close to being able to provide a scipy wheel, even if it dangerously links against the wrong MSVC runtime, but it looks as is there are far too many errors for this build.
Do you get fewer errors for the 64-bit build? For the current best build against openblas 0.2.18 ?
carlkl commentedon Apr 28, 2016
64bit has only 6 failures all with:
FAIL: test_continuous_basic.test_cont_basic(<scipy.stats._continuous_distns.nct_gen object ...I know: this cries for comparison with OpenBLAS. However, I'm stuck since the last 4 weeks for several reasons as you may have noticed. Hopefully the situation will continue to improve.
@matthew-brett, I would appreciate using numpy MSVC builds with OpenBLAS. My latest builds are here:
mikofski commentedon Apr 29, 2016
As if mingwpy, conda-forge, Anaconda and Canopy wasn't enough here comes the Intel Distribution for Python and it's free to download. It includes just the numerical tools (SciPy, NumPy, Numba, Scikit-Learn) plus some extras (mpi4py Intel mp interface and pyDAAL data analytics) and uses conda.
mrslezak commentedon Apr 29, 2016
No worries the license expires 10/29/16 so these Intel builds are just a
beta test followed by probably an MKL+ etc. license fee. OpenBLAS builds
will remain the open source solution so thank you for providing these
builds.
On Apr 28, 2016 7:21 PM, "Mark Mikofski" [email protected] wrote:
As if mingwpy, conda-forge, Anaconda and Canopy wasn't enough here comes
the Intel Distribution for Python
https://software.intel.com/en-us/python-distribution and it's free to
download
https://software.intel.com/en-us/articles/intel-distribution-for-python-support-and-documentation.
It includes just the numerical tools (SciPy, NumPy, Numba, Scikit-Learn)
plus some extras (mpi4py Intel mp interface and pyDAAL data analytics) and
uses conda.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#5479 (comment)
giumas commentedon Jul 18, 2016
For 1.11.1, it looks like that there is a missing Windows wheel on PyPi for Python 3.5 amd64.
Is there a particular reason for that? If I go to 1.11.0 (https://pypi.python.org/pypi/numpy/1.11.0), the wheel is there.
matthew-brett commentedon Jul 18, 2016
Thanks for the report - I think we must have uploaded too soon, and therefore before all the wheels were built. I've uploaded the missing wheel. It looks like we need a test to make sure this doesn't happen again.
giumas commentedon Jul 18, 2016
I have just tested it, and it works great!
Thank you so much for all the work done to make the Windows wheels available.
pv commentedon Oct 24, 2016
Closing the issue -- wheels have been available for the last few releases.
waynenilsen commentedon Sep 6, 2017
I understand that this issue is closed but I believe we should consider re-opening it.
This remains an issue for windows users trying to get their scientific stack running without having to resort to conda. I still need to use the @cgohlke 'MKL' builds see this related scipy issue which remains open. Although wheels are being created, without being compatible with scipy, they are not usable for many.
astrojuanlu commentedon Sep 6, 2017
@waynenilsen you have the instructions for installing the new wheels in the mailing list thread that is linked in the issue you just mentioned:
scipy/scipy#5461 (comment)
So if you do
it should work for you.
pv commentedon Sep 6, 2017
waynenilsen commentedon Sep 6, 2017
This works great for me @Juanlu001 I am really looking forward to when this is on pypi!