Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Intel Distribution for Python Date: Wed, 11 May 2016 13:12:16 +1000 Lines: 41 Message-ID: References: <31116921-144f-498e-873f-63510c6b8c63@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de ZIu6PatM/0rq8c0Z9Lu2xgapboS7DmNQItdzBgwIsFzw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; '(python': 0.05; 'cpython': 0.05; 'pypy': 0.07; 'cc:addr:python- list': 0.09; 'core,': 0.09; 'tends': 0.09; 'url:pypy': 0.09; 'python': 0.10; '2.7': 0.13; 'wed,': 0.15; '"use': 0.16; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'library).': 0.16; 'not;': 0.16; 'numpy': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'threading': 0.16; 'wrote:': 0.16; 'intel': 0.18; 'linux,': 0.18; 'library': 0.20; 'math': 0.20; 'versions': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 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; "doesn't": 0.26; 'installed': 0.26; 'message-id:@mail.gmail.com': 0.27; 'idea': 0.28; 'interface': 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; 'received:google.com': 0.35; 'behind': 0.35; 'but': 0.36; 'project': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'faster': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'mac': 0.37; "won't": 0.38; 'received:209': 0.38; 'anything': 0.38; 'building': 0.38; 'data': 0.39; 'does': 0.39; 'some': 0.40; 'your': 0.60; 'programs': 0.62; 'linked': 0.63; 'improvements': 0.66; 'python- list': 0.66; 'today.': 0.67; 'worth': 0.67; 'lives': 0.72; 'url :en-us': 0.72; '2.7.': 0.84; 'chrisa': 0.84; 'gap': 0.84; 'to:none': 0.91; 'delivers': 0.93; 'improvement': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-transfer-encoding; bh=wYK3/yBcU96MfqBNQffrQmfQ5EyYgGPOCmcRb1XeOBE=; b=EY/9ubgWLWXAU0iOqghPzWd60Dc5JBT9TWljSbulpiSH6uHgC56GZGxdDJMNoR8dVj KGdWfo2ZwVW3ilD65Tn6wXQv6npetOmYhiJ2YyDgfKLir5kbA0ScwlqunWt5NqAk7S6t o9AZtzUPEBK7RHr2jqhltb8sf4diHQgdWLgVm5ovqlHN4gUFaTt0RYmArIC1c4R0bXgX YIVOaGG32/YHYmmhqnDCt/va6/3VbVrfLt+k6j15IbdKMj5O6hyOcouaIN/JIey2h9wO RhkyeO0jUdMTJRZfjvfL3P0zal3D9DZswa6PRHsduZgHoEIRedzGJ/EmVITyK4b7yW2v uv4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc:content-transfer-encoding; bh=wYK3/yBcU96MfqBNQffrQmfQ5EyYgGPOCmcRb1XeOBE=; b=AGKnCJJ7rD9uwCMvEyQFCucurQNpGTS8hYhafF+temg4z6Mknn5zMNPLWAcPQi2T/d Q80G3gB+3r1kJbn1ysskC7b8EhMjko6oBPT00q7CdJ64QR2o30SHDsoL8OMvmQGYIT7b 7tql/t60mt5yuhynxMdA1WFb6url5de3YOXoobf8aVJRGTgMJrFhDT7V53PvTh2aByCB nFkSiskMkSH/NoxnL8pC9Qh5J/AkR0qoSk5aPOTMR45hdXHftnGpebc04stiQ1EVGJKw aQtRGXj9OILiJ1B9MXPAUKZg/B+FUQgwXLV0hFJZuQKsDxWRwWtPmQNbhWkg6GFh2wQk nUcg== X-Gm-Message-State: AOPr4FUKbiLhJJpqxfOrqzrG6EPJCXU1WXnHKFgpncu60REGFniOVpFwAWPDTcxOkoq0+0uFrwrVPhHejYo8tg== X-Received: by 10.25.148.69 with SMTP id w66mr396467lfd.28.1462936336101; Tue, 10 May 2016 20:12:16 -0700 (PDT) In-Reply-To: <31116921-144f-498e-873f-63510c6b8c63@googlegroups.com> 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:108513 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 for Pyt= hon 2.7 and 3.5. > > "The Beta product adds new Python packages like scikit-learn, mpi4py, num= ba, conda, tbb (Python interfaces to Intel=C2=AE Threading Building Blocks)= and pyDAAL (Python interfaces to Intel=C2=AE Data Analytics Acceleration L= ibrary). The Beta also delivers performance improvements for NumPy/SciPy th= rough linking with performance libraries like Intel=C2=AE MKL, Intel=C2=AE = Message Passing Interface (Intel=C2=AE MPI), Intel=C2=AE TBB and Intel=C2= =AE DAAL." > > I just installed Intel Python today. Has anyone tried it? Does it run you= r 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