When I compile Caffe cloned from the official repository, the compilation is successful, but when trying to compile SkimCaffe, I don't get any errors while compiling (only some warnings), but when I run make runtest, some tests pass, but some don't.
commands:
train train or finetune a model
test score a model
device_query show GPU diagnostic information
time benchmark model execution time
Flags from tools/caffe.cpp:
-forward_only (Optional; Execute only forward pass) type: bool
default: false
-gpu (Optional; run in GPU mode on given device IDs separated by ','.Use
'-gpu all' to run on all available GPUs. The effective training batch
size is multiplied by the number of devices.) type: string default: ""
-iterations (The number of iterations to run.) type: int32 default: 50
-level (Optional; network level.) type: int32 default: 0
-model (The model definition protocol buffer text file.) type: string
default: ""
-phase (Optional; network phase (TRAIN or TEST). Only used for 'time'.)
type: string default: ""
-sighup_effect (Optional; action to take when a SIGHUP signal is received:
snapshot, stop or none.) type: string default: "snapshot"
-sigint_effect (Optional; action to take when a SIGINT signal is received:
snapshot, stop or none.) type: string default: "stop"
-snapshot (Optional; the snapshot solver state to resume training.)
type: string default: ""
-solver (The solver definition protocol buffer text file.) type: string
default: ""
-stage (Optional; network stages (not to be confused with phase), separated
by ','.) type: string default: ""
-weights (Optional; the pretrained weights to initialize finetuning,
separated by ','. Cannot be set simultaneously with snapshot.)
type: string default: ""
.build_release/test/test_all.testbin 0 --gtest_shuffle --gtest_filter="-GPU"
Note: Google Test filter = -GPU
Note: Randomizing tests' orders with a seed of 12730 .
[==========] Running 998 tests from 141 test cases.
[----------] Global test environment set-up.
[----------] 5 tests from EmbedLayerTest/1, where TypeParam = caffe::CPUDevice
[ RUN ] EmbedLayerTest/1.TestForward
[ OK ] EmbedLayerTest/1.TestForward (2 ms)
[ RUN ] EmbedLayerTest/1.TestGradient
[ OK ] EmbedLayerTest/1.TestGradient (30 ms)
[ RUN ] EmbedLayerTest/1.TestForwardWithBias
[ OK ] EmbedLayerTest/1.TestForwardWithBias (10 ms)
[ RUN ] EmbedLayerTest/1.TestGradientWithBias
[ OK ] EmbedLayerTest/1.TestGradientWithBias (51 ms)
[ RUN ] EmbedLayerTest/1.TestSetUp
[ OK ] EmbedLayerTest/1.TestSetUp (0 ms)
[----------] 5 tests from EmbedLayerTest/1 (93 ms total)
[----------] 1 test from CPUStochasticPoolingLayerTest/0, where TypeParam = float
[ RUN ] CPUStochasticPoolingLayerTest/0.TestSetup
[ OK ] CPUStochasticPoolingLayerTest/0.TestSetup (0 ms)
[----------] 1 test from CPUStochasticPoolingLayerTest/0 (0 ms total)
[----------] 1 test from MultinomialLogisticLossLayerTest/0, where TypeParam = float
[ RUN ] MultinomialLogisticLossLayerTest/0.TestGradientCPU
[ OK ] MultinomialLogisticLossLayerTest/0.TestGradientCPU (1 ms)
[----------] 1 test from MultinomialLogisticLossLayerTest/0 (1 ms total)
[----------] 11 tests from RandomNumberGeneratorTest/1, where TypeParam = double
[ RUN ] RandomNumberGeneratorTest/1.TestRngGaussianTimesBernoulli
[ OK ] RandomNumberGeneratorTest/1.TestRngGaussianTimesBernoulli (0 ms)
[ RUN ] RandomNumberGeneratorTest/1.TestRngBernoulli
[ OK ] RandomNumberGeneratorTest/1.TestRngBernoulli (0 ms)
[ RUN ] RandomNumberGeneratorTest/1.TestRngUniform2
[ OK ] RandomNumberGeneratorTest/1.TestRngUniform2 (0 ms)
[ RUN ] RandomNumberGeneratorTest/1.TestRngBernoulli2
[ OK ] RandomNumberGeneratorTest/1.TestRngBernoulli2 (0 ms)
[ RUN ] RandomNumberGeneratorTest/1.TestRngGaussian
[ OK ] RandomNumberGeneratorTest/1.TestRngGaussian (0 ms)
[ RUN ] RandomNumberGeneratorTest/1.TestRngUniformTimesBernoulli
[ OK ] RandomNumberGeneratorTest/1.TestRngUniformTimesBernoulli (0 ms)
[ RUN ] RandomNumberGeneratorTest/1.TestRngUniformTimesUniform
[ OK ] RandomNumberGeneratorTest/1.TestRngUniformTimesUniform (1 ms)
[ RUN ] RandomNumberGeneratorTest/1.TestRngGaussianTimesGaussian
[ OK ] RandomNumberGeneratorTest/1.TestRngGaussianTimesGaussian (0 ms)
[ RUN ] RandomNumberGeneratorTest/1.TestRngBernoulliTimesBernoulli
[ OK ] RandomNumberGeneratorTest/1.TestRngBernoulliTimesBernoulli (0 ms)
[ RUN ] RandomNumberGeneratorTest/1.TestRngUniform
[ OK ] RandomNumberGeneratorTest/1.TestRngUniform (0 ms)
[ RUN ] RandomNumberGeneratorTest/1.TestRngGaussian2
[ OK ] RandomNumberGeneratorTest/1.TestRngGaussian2 (0 ms)
[----------] 11 tests from RandomNumberGeneratorTest/1 (1 ms total)
Try to compile SkimCaffe:
In SkimCaffe directory, execute :
make libxsmm
make all
make test
make runtest
Your system configuration
Operating system: Ubuntu 18
Compiler: icpc
CUDA version (if applicable): No (CPU ONLY)
CUDNN version (if applicable):
BLAS: mkl
Python or MATLAB version (for pycaffe and matcaffe respectively):
Issue summary
When I compile Caffe cloned from the official repository, the compilation is successful, but when trying to compile SkimCaffe, I don't get any errors while compiling (only some warnings), but when I run make runtest, some tests pass, but some don't.
Steps to reproduce
Try to compile SkimCaffe: In SkimCaffe directory, execute : make libxsmm make all make test make runtest
Your system configuration
Operating system: Ubuntu 18 Compiler: icpc CUDA version (if applicable): No (CPU ONLY) CUDNN version (if applicable): BLAS: mkl Python or MATLAB version (for pycaffe and matcaffe respectively):
Thank you.