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

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:

主站蜘蛛池模板: 泰安市| 庆安县| 靖安县| 舒城县| 大姚县| 汾西县| 姜堰市| 廉江市| 清丰县| 稷山县| 左贡县| 台南县| 固安县| 罗源县| 晴隆县| 临夏市| 江门市| 铁力市| 邹平县| 城口县| 阿克苏市| 富平县| 中卫市| 紫云| 民权县| 乌鲁木齐市| 泸州市| 平塘县| 伊吾县| 阿拉善右旗| 铜梁县| 岗巴县| 吴旗县| 元朗区| 威宁| 永昌县| 昭通市| 洪江市| 灵山县| 洞口县| 黄大仙区|