Граф коммитов

307 Коммитов

Автор SHA1 Сообщение Дата
Hakan Erdogan fe68c14b9d Add explicit template instantiation for TaskDescriptor and update Makefile for other readers. 2015-01-27 16:41:54 -05:00
wengong_jin 13957ff777 fix -O2 problem 2015-01-27 15:31:10 +08:00
Yu aecdb3503c Merge branch 'linux-gcc' of https://git.codeplex.com/cntk into linux-gcc 2015-01-24 13:47:46 -05:00
Yu 508d1bf081 Fix compile error for g++ (it cannot automatic infer some types like icc). 2015-01-24 13:45:26 -05:00
Yu 0f42a7d349 A temporary fix for Linux and Windows wstring handls.
Details:
Change fputstring function, for linux, always convert a wstring to a char16_t and then write it.
Change fgetstring function, for linux, use fgetc twice to get a char16_t.
2015-01-24 13:42:42 -05:00
Hakan Erdogan 7ed0c8c396 Modified readme for ACML. 2015-01-24 13:39:40 -05:00
Yu cf91c565e3 Merge remote-tracking branch 'origin/master' into linux-gcc
update linux-gcc to newest version
2015-01-23 15:47:18 -05:00
Yu d873d8b82d Merge remote-tracking branch 'origin/master' into linux-gcc
Get the updated version for linux-gcc
2015-01-23 15:35:11 -05:00
Hakan Erdogan 471599e15f More changes to Makefiles. Eventually, they probably could be merged. 2015-01-22 17:23:36 -05:00
yzhang87 8b8f20138b Fix the bug during loadCheckPointFile. It try to putMarker in the old file. 2015-01-21 23:03:28 -05:00
Dong Yu 032a0e8ede Merge branch 'master' of https://git01.codeplex.com/cntk 2015-01-21 18:25:58 -08:00
Dong Yu 6e1876111c Change Sparse Matrix implementation (esp. GPU Sparse matrix) to make it work for LM training and other sparse features.
Note: still many improvements are needed for sparse matrices.
2015-01-21 18:25:41 -08:00
Hakan Erdogan 169d8b14bc changes to Makefiles for cleaner builds. 2015-01-21 17:39:15 -05:00
Hakan Erdogan 09afb0dd9e changes to Makefile.cpu, Makefile.gpu and CPUMatrix.cpp to have it compile in linux with ACML library. 2015-01-21 14:56:49 -05:00
wengong_jin de39c79e4f Added README. 2015-01-20 14:41:29 +08:00
yzhang87 dc6164c06a Merge branch 'master' of https://git01.codeplex.com/cntk 2015-01-19 16:30:33 -05:00
yzhang87 0879cfef56 Fix the bug for MEL when adding a recurrent loop. 2015-01-19 16:30:25 -05:00
Jasha Droppo 08a9c5e946 Add plumbing for ExpNode in NDL 2015-01-19 09:27:41 -08:00
ascii991218 8aef179d7d Creating new branch linux-gcc
Merge branch 'master' of https://git.codeplex.com/cntk into linux-gcc
2015-01-18 15:08:34 +08:00
Dong Yu 43ea68b59e change SparseInputValue node and CPU Sparse matrix to make LM CPU training work. 2015-01-17 13:37:00 -08:00
ascii991218 0443dc818d Merge branch 'master' of https://git.codeplex.com/cntk
Conflicts:
	.gitignore
	Common/Include/fileutil.h
2015-01-17 21:40:37 +08:00
ascii991218 b5c41e6516 A large modification, allowing compilation of CNTK under linux g++
1. Add Common/Include/Platform.h for substitution of windows API and types
2. Fixed compile errors under g++, warning is not handled.
3. Compiles Readers into shared library, added code in *Reader/Export.cpp for dynamic linking and loading
4. Fixed msra::strfun::_strprintf to make it work under linux g++
5. Added makefiles for building (cpu and gpu)
2015-01-17 21:03:40 +08:00
yzhang87 459ff2ded1 Merge branch 'master' of https://git01.codeplex.com/cntk 2015-01-14 22:51:55 -05:00
yzhang87 97d5fb415a FIx the bug when Dropout node in recurrent loop. Bug: the funcationValues is unintialized when dropOutNode in a recurrent loop. 2015-01-14 22:23:57 -05:00
Jasha Droppo eafc86daab MPI Model Averaging. Added check to short-circuit empty minibatch 2015-01-14 18:51:05 -08:00
Jasha Droppo 3e68d18ad8 Improvements to MPI Model Averaging.
DecimateMinibatch now checks that all input matrices have the same number of columns, and throws an exception if they do not.

DecimateMinibatch now checks for empty input matricies (after decimation).

The reduction/averaging code now weights each model by the relative number of samples in it's effective minibatch.

TrainOneEpoch now returns the local value totalEpochSamples, so the proper weighting can be performed during model updating.
2015-01-14 18:09:39 -08:00
Jasha Droppo 9e37c72050 Changed Deviceid=auto to be MPI model-averaging compatable, no more device contention. 2015-01-14 18:09:38 -08:00
Jasha Droppo 6f21c5b388 Added debug output 2015-01-14 18:09:37 -08:00
Dong Yu bd5524720d Added a check in HTKMLFReader and throw exception if Truncated is false while nbrUttsInEachRecurrentIter is not 1. 2015-01-09 23:09:34 -08:00
Dong Yu 4ff3ab53f3 Add SetNZCount to OmmonMatrix to support setting number of Non-zero values externally.
Change the Resize function in sparse matrices to make it clear that the numNZ is used to reserve memory only so that we can call Resize repeatedly without affecting the actual number of non-zero values.
Change the cpu sparse matrix's Resize to support keeping existing values when memory is reallocated.
Change SetValue function in cpu sparsematrix to support automatic resizing.
2015-01-09 00:19:17 -08:00
Dong Yu 751b1cd744 unify the dense and sparse matrix Resize surrogate at the Matrix class level.
fix the bug of the sparse matrix CPU-GPU transfer flag.
change the SetValue(idx, j, v) so that it uses CPU when both CPU and GPU are available.
2015-01-07 23:12:56 -08:00
Frank Seide 144db5b70d bug fix by AdamE in QueryNvmlData(), to skip a check that was found to sometimes fail 2015-01-06 15:27:29 -08:00
Dong Yu 6bd6dbeb47 Changes in the CNTK book:
1. corrected the parameter list for the Delay command in NDL.
2. added the options for the rmprop gradient update type.
3. added the ConvertDBN command.
2015-01-04 23:54:16 -08:00
yzhang87 e773dc6264 Fix the error during validation stage. Bug: when the anchor node is not the root in a strong component connection, the post visited order may initialize the forward computation incorrect. 2015-01-03 01:55:27 -05:00
fyc0624@gmail.com 12b8ec6e0f Adding GetFormatString() for char* and wchar_t* in fileutil 2014-12-21 19:48:55 +08:00
Dong Yu 2c29a69661 add the option dumpFileName to the NDLNetworkBuilder block so that before validation happens the network structure information can be saved to the file specified by this option. This will help to debug the NDL related issues. 2014-12-20 02:15:09 -08:00
Dong Yu 909e8adfb0 minor typo fixes in the CNTK book. 2014-12-11 23:07:15 -08:00
Dong Yu 091a785d1f update the CNTK book to include the learnRateAdjustInterval option 2014-12-10 00:14:23 -08:00
Dong Yu c897f83f70 Added learnRateAdjustInterval option to the automatic learning rate control block for SGD. It allows users to determine the learning rate adjustment frequency when the learning rate is controlled, for example,by a dev set. 2014-12-10 00:06:20 -08:00
Dong Yu 3f92c98bfb changed the implementation of _matrixVectorColumnWiseAdd so that it uses more GPU threads but more memory access as well. Overall the speed is comparable with original implementation for normal usage but significantly faster for CNN bias. 2014-12-09 01:52:37 -08:00
guhernan 7f8315c8aa "Correct Fix for bugs in SLU example in CNTKBook"
This reverts commit 5e26505d0d which was used to revert the fix done with the wrong user name.
2014-12-04 16:23:14 -08:00
guhernan 5e26505d0d Revert "Fixed bugs in SLU example in CNTKBook (section 7.4)"
This reverts commit 435d6127d5.
2014-12-04 10:29:31 -08:00
fcb1899 435d6127d5 Fixed bugs in SLU example in CNTKBook (section 7.4)
1. Problem: RuntimeError if the full path of the output file doesn’t
exist. Fix: make the intermediate dirs for the path of the output file.
2. Problem: Output labels file not written (should be written according
to the documentation). Fix: change the rnnlu.config file.
3. Problem: mismatch between the feature and the output files when
building the evaluation file. Fix: skip empty lines in the feature file
2014-12-04 10:18:52 -08:00
Dong Yu 1645818816 Merge branch 'master' of https://git01.codeplex.com/cntk 2014-12-02 20:03:09 -08:00
Dong Yu 7a9bb9a64d fixed the gradient computation bug in CosDistanceNode. 2014-12-02 20:02:49 -08:00
Frank Seide 61f37d4ca0 fixed an incorrect argument to a printf format string 2014-12-02 17:24:28 -08:00
Frank Seide 89d12a378e Merge branch 'master' of https://git01.codeplex.com/cntk 2014-12-02 17:01:02 -08:00
Frank Seide 1bcb5b7d8f ACML DLL is now delay-loaded, which is required to be able to control the number of threads of the ACML library (set OMP_NUM_THREADS before first use, which then seems to get picked up upon DLL load) 2014-12-02 17:00:50 -08:00
Mike Seltzer c157083384 Merge branch 'master' of https://git01.codeplex.com/cntk 2014-12-02 14:42:30 -08:00
Mike Seltzer 737fd2a964 fixed DumpNodeInfo bug 2014-12-02 14:41:39 -08:00