官术网_书友最值得收藏!

Installing high-performance Python distribution

Intel Corp has built a bundle of Python libraries with accelerations for High-Performance Computing (HPC) on CPUs. The vast majority of the accelerations come with no code changes, because they are snuck in under the hood. All the concepts and libraries introduced in the rest of the book will run faster in the HPC Intel Python environment. Luckily, Intel has a Conda version of their distribution, so you can add it as a new Conda environment via the following few command lines in the Anaconda prompt: 

(base) $ Conda create -n idp -c channel intelpython3_full Python=3
(base) $ Conda activate idp

Full disclosure: I work for Intel, so I won't focus too much on this HPC distribution. I will merely let the performance numbers speak for themselves. See the following graph for raw speedup numbers (optimized versus stock) when using unchanged Scikit-learn code on CPU:

主站蜘蛛池模板: 平罗县| 澄城县| 南涧| 甘洛县| 承德市| 黑河市| 海丰县| 崇阳县| 延津县| 金溪县| 德兴市| 广灵县| 合作市| 手游| 梁平县| 桂东县| 苍南县| 喀喇沁旗| 沽源县| 麟游县| 封丘县| 丽水市| 夏河县| 溧水县| 兰州市| 平顶山市| 长兴县| 兴宁市| 桑日县| 衡南县| 翼城县| 尤溪县| 平塘县| 梨树县| 隆昌县| 陇南市| 甘德县| 卓尼县| 玛多县| 永善县| 澄城县|