Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #108513

Re: Intel Distribution for Python

From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: Intel Distribution for Python
Date 2016-05-11 13:12 +1000
Message-ID <mailman.585.1462936338.32212.python-list@python.org> (permalink)
References <31116921-144f-498e-873f-63510c6b8c63@googlegroups.com> <CAPTjJmrn4NmvdKpo6+D+7LPD0hRaSTSFmMRxxrHgpcJ7iJy7Lw@mail.gmail.com>

Show all headers | View raw


On Wed, May 11, 2016 at 12:00 PM, beliavsky--- via Python-list
<python-list@python.org> wrote:
> The Intel Distribution for Python 2017 Beta https://software.intel.com/en-us/python-distribution is available for Windows, Linux, and Mac OS for Python 2.7 and 3.5.
>
> "The Beta product adds new Python packages like scikit-learn, mpi4py, numba, conda, tbb (Python interfaces to Intel® Threading Building Blocks) and pyDAAL (Python interfaces to Intel® Data Analytics Acceleration Library). The Beta also delivers performance improvements for NumPy/SciPy through linking with performance libraries like Intel® MKL, Intel® Message Passing Interface (Intel® MPI), Intel® TBB and Intel® DAAL."
>
> I just installed Intel Python today. Has anyone tried it? Does it run your programs faster than the usual CPython?
>

I haven't used it, but based on a reading of their blurbs, I suspect
you won't see any significant improvement in base Python code - the
advantage is the numeric computation work.

For general Python performance, check out PyPy, although it tends to
lag behind CPython in versions somewhat. However, PyPy doesn't do
anything for your numpy performance, and doesn't even guarantee that
everything works:

http://pypy.org/download.html#installing-numpy

So if the Intel Math Kernel Library lives up to the descriptions, it
might be the thing to fill in this gap - "use PyPy to speed up your
Python code, or Intel Python to speed up your numpy code". (Most
programs won't have performance issues on both of those at once.)

It's worth noting that Intel engineers have been proposing a number of
performance improvements for backporting into the CPython core, and
some of them even made it into 2.7. I've no idea whether the page you
linked to is part of the same project or not; it might be completely
separate, or it might be the source of all those improvements.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Intel Distribution for Python beliavsky@aol.com - 2016-05-10 19:00 -0700
  Re: Intel Distribution for Python Chris Angelico <rosuav@gmail.com> - 2016-05-11 13:12 +1000
  Re: Intel Distribution for Python Arshpreet Singh <arsh840@gmail.com> - 2016-05-10 20:17 -0700
    Re: Intel Distribution for Python Chris Angelico <rosuav@gmail.com> - 2016-05-11 14:02 +1000
    Re: Intel Distribution for Python DFS <nospam@dfs.com> - 2016-05-11 00:17 -0400
    Re: Intel Distribution for Python beliavsky@aol.com - 2016-05-11 05:20 -0700
  Re: Intel Distribution for Python Terry Reedy <tjreedy@udel.edu> - 2016-05-10 23:47 -0400
  Re: Intel Distribution for Python beliavsky@aol.com - 2016-06-09 06:28 -0700

csiph-web