Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Performance Degradation after source build inside Docker on Intel i7-5820K CPU #401

Open
sandonair007 opened this issue Jan 16, 2019 · 2 comments

Comments

@sandonair007
Copy link

Hi there, I am using nGraph to accelerate my model.

As my cpu is not Xeon series, I built nGraph and tensorflow from source inside Docker following Option 2 in README. The build succeeded and pass the model test. However, the inference time is much more slower when using nGraph backend.

CPU: 0.03387284278869629 secs
NGRAPH_CPU: 0.11669778823852539 secs

Could anyone point out possible reason for this?

Btw, I notice there are setting recommendations for Xeon series. (https://ngraph.nervanasys.com/docs/latest/frameworks/generic-configs.html#ngraph-enabled-intel-xeon.) I am wondering if the environment parameter settings would affect a lot.

Any hint is highly appreciated!!

@avijit-nervana
Copy link
Contributor

What DL model you tried for this test?

@sandonair007
Copy link
Author

I am using a simple model trained on mnist. The model file is borrowed from https://github.com/nex3z/tfmobile-mnist-android. The session is run for multiple times.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants