Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Terry Reedy Newsgroups: comp.lang.python Subject: Re: Intel Distribution for Python Date: Tue, 10 May 2016 23:47:49 -0400 Lines: 53 Message-ID: References: <31116921-144f-498e-873f-63510c6b8c63@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de nn5R2J5rWHgCYOGcsFw0OArsEi/ThGmnehVqIb2OVCQw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; '(python': 0.05; 'cpython': 0.05; 'pypy': 0.07; 'core,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tends': 0.09; 'url:pypy': 0.09; 'python': 0.10; 'jan': 0.11; '2.7': 0.13; 'wed,': 0.15; '"use': 0.16; '2016': 0.16; 'library).': 0.16; 'not;': 0.16; 'numpy': 0.16; 'presume': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'threading': 0.16; 'wrote:': 0.16; 'intel': 0.18; 'linux,': 0.18; 'numerical': 0.18; 'library': 0.20; 'math': 0.20; 'versions': 0.20; 'libraries': 0.22; 'code,': 0.23; 'interfaces': 0.23; 'passing': 0.23; "haven't": 0.24; 'tried': 0.24; '(most': 0.24; 'header:In-Reply-To:1': 0.24; 'url:download': 0.24; "i've": 0.25; 'header:User-Agent:1': 0.26; "doesn't": 0.26; 'installed': 0.26; 'header:X-Complaints-To:1': 0.26; 'chris': 0.26; 'idea': 0.28; 'interface': 0.29; 'thinks': 0.29; 'url:software': 0.29; 'windows,': 0.29; 'work.': 0.30; 'code': 0.30; 'anyone': 0.32; '"the': 0.32; 'run': 0.33; 'source': 0.33; 'analytics': 0.33; 'driven': 0.33; 'behind': 0.35; 'but': 0.36; 'project': 0.36; 'url:org': 0.36; 'faster': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'mac': 0.37; "won't": 0.38; 'anything': 0.38; 'building': 0.38; 'data': 0.39; 'does': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'your': 0.60; 'programs': 0.62; 'linked': 0.63; 'received:96': 0.63; 'more': 0.63; 'improvements': 0.66; 'python-list': 0.66; 'today.': 0.67; 'worth': 0.67; 'lives': 0.72; 'url:en-us': 0.72; 'heavy': 0.81; '2.7.': 0.84; 'computation.': 0.84; 'gap': 0.84; 'received:fios.verizon.net': 0.91; 'delivers': 0.93; 'improvement': 0.93 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: pool-96-227-207-81.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <31116921-144f-498e-873f-63510c6b8c63@googlegroups.com> Xref: csiph.com comp.lang.python:108515 On 5/10/2016 11:12 PM, Chris Angelico wrote: > On Wed, May 11, 2016 at 12:00 PM, beliavsky--- via Python-list > wrote: >> The Intel Distribution for Python 2017 Beta https://software.intel.com= /en-us/python-distribution is available for Windows, Linux, and Mac OS fo= r Python 2.7 and 3.5. >> >> "The Beta product adds new Python packages like scikit-learn, mpi4py, = numba, conda, tbb (Python interfaces to Intel=C2=AE Threading Building Bl= ocks) and pyDAAL (Python interfaces to Intel=C2=AE Data Analytics Acceler= ation Library). The Beta also delivers performance improvements for NumPy= /SciPy through linking with performance libraries like Intel=C2=AE MKL, I= ntel=C2=AE Message Passing Interface (Intel=C2=AE MPI), Intel=C2=AE TBB a= nd Intel=C2=AE 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. All their benchmarks are heavy numeric computation. > 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. I presume it is all related. What I find interesting is that Intel=20 thinks it will be more profitable to be involved in numerical=20 computation driven by python than not to. --=20 Terry Jan Reedy