Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit e2c1e23

Browse files
pnogaptbuilder
authored andcommitted
task-gold_u1_release: mkl_gold_u1_release
2 parents 29649bb + 331f9d5 commit e2c1e23

File tree

9 files changed

+50
-7537
lines changed

9 files changed

+50
-7537
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ to use more than one thread per core. When less than required cores are specifie
4040
limit execution of OpenMP threads to specified cores only.
4141

4242
## Best performance solution
43-
Please read [release notes](https://github.com/intel/caffe/blob/master/docs/release_notes.md) for our recommendations and configuration to achieve best performance on Intel CPUs.
43+
Please read [our Wiki](https://github.com/intel/caffe/wiki/Recommendations-to-achieve-best-performance) for our recommendations and configuration to achieve best performance on Intel CPUs.
4444

4545
## Multinode Training
4646
Intel® Distribution of Caffe* multi-node allows you to execute deep neural network training on multiple machines.

docs/release_notes.md

Lines changed: 46 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,37 @@
1-
#
2-
# All modification made by Intel Corporation: © 2016 Intel Corporation
3-
#
4-
# All contributions by the University of California:
5-
# Copyright (c) 2014, 2015, The Regents of the University of California (Regents)
6-
# All rights reserved.
7-
#
8-
# All other contributions:
9-
# Copyright (c) 2014, 2015, the respective contributors
10-
# All rights reserved.
11-
# For the list of contributors go to https://github.com/BVLC/caffe/blob/master/CONTRIBUTORS.md
12-
#
13-
#
14-
# Redistribution and use in source and binary forms, with or without
15-
# modification, are permitted provided that the following conditions are met:
16-
#
17-
# * Redistributions of source code must retain the above copyright notice,
18-
# this list of conditions and the following disclaimer.
19-
# * Redistributions in binary form must reproduce the above copyright
20-
# notice, this list of conditions and the following disclaimer in the
21-
# documentation and/or other materials provided with the distribution.
22-
# * Neither the name of Intel Corporation nor the names of its contributors
23-
# may be used to endorse or promote products derived from this software
24-
# without specific prior written permission.
25-
#
26-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27-
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28-
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
29-
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
30-
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31-
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
32-
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
33-
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
34-
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35-
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36-
#
1+
All modification made by Intel Corporation: © 2016 Intel Corporation
2+
3+
All contributions by the University of California:
4+
Copyright (c) 2014, 2015, The Regents of the University of California (Regents)
5+
All rights reserved.
6+
7+
All other contributions:
8+
Copyright (c) 2014, 2015, the respective contributors
9+
All rights reserved.
10+
For the list of contributors go to https://github.com/BVLC/caffe/blob/master/CONTRIBUTORS.md
11+
12+
Redistribution and use in source and binary forms, with or without
13+
modification, are permitted provided that the following conditions are met:
14+
15+
* Redistributions of source code must retain the above copyright notice,
16+
this list of conditions and the following disclaimer.
17+
* Redistributions in binary form must reproduce the above copyright
18+
notice, this list of conditions and the following disclaimer in the
19+
documentation and/or other materials provided with the distribution.
20+
* Neither the name of Intel Corporation nor the names of its contributors
21+
may be used to endorse or promote products derived from this software
22+
without specific prior written permission.
23+
24+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
27+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
28+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
30+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
31+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
32+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34+
---
3735

3836
---
3937
title: Release Notes
@@ -216,9 +214,14 @@ Berkeley Vision runs Caffe with K40s, K20s, and Titans including models at Image
216214
There is an unofficial Windows port of Caffe at [niuzhiheng/caffe:windows](https://github.com/niuzhiheng/caffe). Thanks [@niuzhiheng](https://github.com/niuzhiheng)!
217215

218216
# Change log
217+
03-11-2016
218+
* integration with MKL2017 update1 (providing better performance solution)
219+
* minor changes to provide optimal performance on default prototxt files describing topologies (for AlexNet, GoogleNet v2).
220+
* fixed Dockerfiles - for Ubuntu and Centos.
221+
219222
1-09-2016
220223
* added RNN support
221-
* moved form MKL2017 beta update 1 engine to MKL2017 (providing better performance solution)
224+
* moved form MKL2017 beta update 1 engine to MKL2017
222225
* added official support for ResNet50, GoogleNet v2, VGG-19. (List of currenlty supported topologies: AlexNet, GoogleNet, GoogleNet v2, ResNet50, VGG-19)
223226
* added official support for multinode on GoogleNet with MKL2017 engine
224227
* added DataLayer optimizations
@@ -234,12 +237,15 @@ Workaround: For older processors use MKL2017 GEMM engine: set USE_MKL2017_AS_DEF
234237
Workaround: Use GEMM engine in normalization layer (in prototxt file set `engine:=caffe` for that layer) for topologies that use LRN within channel like cifar.
235238

236239
* Performance results may be lower when Data Layer is provided in txt files (uncompressed list of jpg files)
237-
Workaround: We recommend to always use LMDB Data Layer
240+
Workaround: We recommend to always use compressed LMDB Data Layer
238241

239242
* LeNet, Cifar, Squeeznet currently are not optimized in terms of performance in Intel MKL2017
240243
Workaround: better performance results might be achieved with GEMM engine: `set USE_MKL2017_AS_DEFAULT_ENGINE := 0` in `Makefile.config`.
241244

242-
* We observe convergence problems with some publicly presented hyper parameters (recommended for GPUs) for Googlenet and ResNet50. For CPU tuning of hyper parameters might be needed.
245+
* We observe convergence problems with some publicly presented hyper parameters (recommended for GPUs) for Googlenet, ResNet50, VGG-19. For CPU tuning of hyper parameters might be needed.
246+
247+
* MKL2017 doesn't allow access to mean & variance statistics in batch normalization layer which prohibits their accumulation (in global-stats mode). This is affecting batch 1 scoring accuracy with topologies using batch normalization layer (resnet50, googlenet v2).
248+
Workaround: use batch 32 or higher for accuracy measurements.
243249

244250

245251
# Recommendations to achieve best performance
@@ -296,4 +302,4 @@ In folder `/examples/imagenet/` we provide scripts and instructions `readme.md`
296302
Caffe is released under the [BSD 2-Clause license](https://github.com/BVLC/caffe/blob/master/LICENSE). The BVLC reference models are released for unrestricted use.
297303

298304
***
299-
*Other names and brands may be claimed as the property of others
305+
*Other names and brands may be claimed as the property of others

external/mkl/prepare_mkl.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ echo $VERSION_LINE # Return Version Line
5656
# MKL
5757
DST=`dirname $0`
5858
OMP=0
59-
VERSION_MATCH=20160706
60-
ARCHIVE_BASENAME=mklml_lnx_2017.0.0.20160801.tgz
59+
VERSION_MATCH=20160906
60+
ARCHIVE_BASENAME=mklml_lnx_2017.0.1.20161005.tgz
6161
MKL_CONTENT_DIR=`echo $ARCHIVE_BASENAME | rev | cut -d "." -f 2- | rev`
62-
GITHUB_RELEASE_TAG=self_containted_MKLGOLD
62+
GITHUB_RELEASE_TAG=self_containted_MKLGOLD_u1
6363
MKLURL="https://github.com/intel/caffe/releases/download/$GITHUB_RELEASE_TAG/$ARCHIVE_BASENAME"
6464
# there are diffrent MKL lib to be used for GCC and for ICC
6565
reg='^[0-9]+$'

0 commit comments

Comments
 (0)