CNTK icon indicating copy to clipboard operation
CNTK copied to clipboard

SGDLib: Cannot open include file: 'AllReduceDistGradAggregator.h'

Open Henry-White opened this issue 10 years ago • 5 comments

Latest master downloaded. MS VS 2013. CNTK_ENABLE_1BitSGD=true

6>------ Rebuild All started: Project: SGDLib, Configuration: Release x64 ------ 6> Profiler.cpp 6> SGD.cpp 1> GPUSparseMatrix.cu

SGD.cpp(14): fatal error C1083: Cannot open include file: 'AllReduceDistGradAggregator.h': No such file or directory

Henry-White avatar May 10 '16 11:05 Henry-White

@Henry-White: when compiling with 1Bit-SGD support, you need to clone with --recursive (or invoke "git submodule update --init --recursive" to make up for that). See here: https://github.com/Microsoft/CNTK/wiki/Enabling-1bit-SGD Can you double-check?

Thanks, Mark

mahilleb-msft avatar May 10 '16 14:05 mahilleb-msft

Done. The command "git submodule update --init --recursive" was unsuccessfully finished but I didn't noticed that. Sorry. Fixed. SGDLib compiled successfully. Get some fatal errors inside other modules but this is another story... And thanks any way for giving me right direction :)

Henry-White avatar May 12 '16 08:05 Henry-White

It's seems to be an issue again... Downloaded latest master. After commit I've got the same issue as before. "git submodule update --init --recursive" does not help. SGD.cpp

#include` "AllReduceDistGradAggregator.h"
#include `"BlockMomentumSGD.h"

These files are not found. Catalog 1BitSGD has been removed from master.

Henry-White avatar Jun 23 '16 10:06 Henry-White

Resolved. For a some reason VS-git client has removed 1BitSGD directory and did not synced it with master. Remove and reload was helped.

Henry-White avatar Jun 27 '16 08:06 Henry-White

I have the same problem, and I did not found 1BitSGD inside the Repos. Seems it has been removed. I got the message fatal: clone of 'https://git.codeplex.com/cntk1bitsgd' into submodule path 'E:/Git/CNTK/Source/1BitSGD' failed and when I check https://git.codeplex.com/cntk1bitsgd, I can't open that page. Maybe something wrong with the server.

Chunde avatar Dec 24 '16 09:12 Chunde