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

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:

主站蜘蛛池模板: 同江市| 镇赉县| 张北县| 潼南县| 南丹县| 剑阁县| 山东省| 梁山县| 澄城县| 佛冈县| 滨海县| 东乡族自治县| 黔南| 屏东县| 仁化县| 金平| 潮州市| 苗栗县| 资溪县| 望都县| 金阳县| 农安县| 堆龙德庆县| 安康市| 赣榆县| 乌恰县| 阿巴嘎旗| 垫江县| 博罗县| 巴青县| 海城市| 宜丰县| 瑞昌市| 仪征市| 本溪市| 文水县| 平乡县| 青冈县| 田林县| 昌吉市| 甘洛县|