Revision fbe030b0dcfdc336eb10b80cbb28c37f3e3496b2 authored by KeDengMS on 10 November 2017, 19:48:16 UTC, committed by KeDengMS on 10 November 2017, 19:48:16 UTC
On Linux: sudo mkdir /usr/local/mklml sudo wget https://github.com/01org/mkl-dnn/releases/download/v0.11/mklml_lnx_2018.0.1.20171007.tgz sudo tar -xzf mklml_lnx_2018.0.1.20171007.tgz -C /usr/local/mklml On Windows: Create a directory on your machine to hold MKLML, e.g. mkdir c:\local\mklml Download the file [mklml_win_2018.0.1.20171007.zip](https://github.com/01org/mkl-dnn/releases/download/v0.11/mklml_win_2018.0.1.20171007.zip). Unzip it into your MKLML path, creating a versioned sub directory within. Set the environment variable `MKLML_PATH` to the versioned sub directory, e.g. setx MKLML_PATH c:\local\mklml\mklml_win_2018.0.1.20171007 This change also enables CPU convolution forward/backward using MKL, which leads to ~4x speedup in AlexNet training.
1 parent e017ef9
CNTK.Common.props
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- Note: SolutionDir / RepoRootPath are the same in current setup -->
<RepoRootPath>$(MSBuildThisFileDirectory)</RepoRootPath>
<RelativeProjectPath>$(MSBuildProjectDirectory.Substring($(MSBuildThisFileDirectory.Length)))</RelativeProjectPath>
<OutDir>$(RepoRootPath)$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(RepoRootPath)$(Platform)\.build\$(Configuration)\$(RelativeProjectPath)\</IntDir>
<DebugBuild>false</DebugBuild>
<DebugBuild Condition="$(Configuration.StartsWith('Debug'))">true</DebugBuild>
<ReleaseBuild>false</ReleaseBuild>
<ReleaseBuild Condition="!$(DebugBuild)">true</ReleaseBuild>
<GpuBuild>true</GpuBuild>
<GpuBuild Condition="$(Configuration.EndsWith('_CpuOnly'))">false</GpuBuild>
<GpuBuild Condition="$(Configuration.EndsWith('_UWP'))">false</GpuBuild>
<CpuOnlyBuild>true</CpuOnlyBuild>
<CpuOnlyBuild Condition="$(GpuBuild)">false</CpuOnlyBuild>
<NoOptBuild>false</NoOptBuild>
<NoOptBuild Condition="$(Configuration.Contains('NoOpt'))">true</NoOptBuild>
<HasSwig>false</HasSwig>
<HasSwig Condition="Exists('$(SWIG_PATH)\swig.exe')">true</HasSwig>
<HasJava>false</HasJava>
<HasJava Condition="Exists('$(JAVA_HOME)\bin\javac.exe')">true</HasJava>
<CntkComponentVersion>2.2</CntkComponentVersion>
<CntkComponentVersion Condition="$(DebugBuild)">$(CntkComponentVersion)d</CntkComponentVersion>
</PropertyGroup>
</Project>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...