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

45 Коммитов

Автор SHA1 Сообщение Дата
Vadim Mazalov 086dd28252 Update .gitattributes to mark MLF as binary file 2018-08-16 21:25:39 -07:00
liqfu c589619dec update to ONNX1.2.2 2018-06-28 08:38:36 -07:00
David Brownell 7882cf052b Building .Net Core on Linux 2018-06-06 08:38:54 -07:00
liqun fu cdb9afb6ea Add ONNX 1.2 support 2018-06-04 16:35:49 -07:00
KeDengMS 3cf3af5df6 CNTK support for CUDA 9
CNTK now supports CUDA 9/cuDNN 7. This requires an update to build environment to Ubuntu 16/GCC 5 for Linux, and Visual Studio 2017/VCTools 14.11 for Windows. With CUDA 9, CNTK also added a preview for 16-bit floating point (a.k.a FP16) computation.

Please check out the example of FP16 in ResNet50 at /Examples/Image/Classification/ResNet/Python/TrainResNet_ImageNet_Distributed.py

Notes on FP16 preview:
* FP16 implementation on CPU is not optimized, and it's not supposed to be used in CPU inference directly. User needs to convert the model to 32-bit floating point before running on CPU.
* Loss/Criterion for FP16 training needs to be 32bit for accumulation without overflow, using cast function. Please check the example above.
* Readers do not have FP16 output unless using numpy to feed data, cast from FP32 to FP16 is needed. Please check the example above.
* FP16 gradient aggregation is currently only implemented on GPU using NCCL2. Distributed training with FP16 with MPI is not supported.
* FP16 math is a subset of current FP32 implementation. Some model may get Feature Not Implemented exception using FP16.
* FP16 is currently not supported in BrainScript. Please use Python for FP16.

To setup build and runtime environment on Windows:
* Install [Visual Studio 2017](https://www.visualstudio.com/downloads/) with following workloads and components. From command line (use Community version installer as example):
    vs_community.exe --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.Universal --add Microsoft.Component.PythonTools --add Microsoft.VisualStudio.Component.VC.Tools.14.11
* Install [NVidia CUDA 9](https://developer.nvidia.com/cuda-90-download-archive?target_os=Windows&target_arch=x86_64)
* From PowerShell, run:
    /Tools/devInstall/Windows/DevInstall.ps1
* Start VCTools 14.11 command line, run:
    cmd /k "%VS2017INSTALLDIR%\VC\Auxiliary\Build\vcvarsall.bat" x64 --vcvars_ver=14.11
* Open /CNTK.sln from the VCTools 14.11 command line. Note that starting CNTK.sln other than VCTools 14.11 command line, would causes CUDA 9 [build error](https://developercommunity.visualstudio.com/content/problem/163758/vs-2017-155-doesnt-support-cuda-9.html).

To setup build and runtime environment on Linux using docker, please build Unbuntu 16.04 docker image using Dockerfiles /Tools/docker. For other Linux systems, please refer to the Dockerfiles to setup dependent libraries for CNTK.
2018-01-22 16:58:56 -08:00
Philipp Kranen 63488568fe enabling native proposal layer and dlib selective search 2017-08-30 17:12:35 +02:00
Mark Hillebrand 1d0d8c6831 .gitattributes: Examples/Evaluation/UWPImageRecognition/ImageRecognizerLib/utils.inl text 2017-07-31 17:55:46 +02:00
yuxiaoguo b1f6a467f1 crosstalkcaffe: convert caffe model to CNTK model 2017-07-26 12:48:55 +02:00
Zhou Wang 94ed0d3b1e Adjust tests and project settigns for UWP
remove hard tabs; add types in .gitattributes

update test, update baseline

use 01_OneHidden.model instead of 01_OneHidden.

update using CNTKOPENBLAS version 2

add a comment for using multiple inputs in C# example

improve project settings

fix settigns
2017-07-25 18:59:01 +02:00
Qiwei Ye 252a2af027 Merge branch 'master' of https://github.com/Microsoft/CNTK into qiwye/lightrnn 2017-07-21 12:54:18 +08:00
Qiwei Ye c1bb0db2e5 bug fix from jenkins 2017-07-17 18:41:03 +08:00
Amit Agarwal 563b3a4481 CNTK v2 library: Add a non-SSE/AVX version of the halide_convolve static library for windows and use that by default to enable the tests to be run on machines without AVX support. 2017-05-30 11:02:35 -07:00
Amit Agarwal 71b8a35771 CNTK v2 library: Add Binary convolution native user-defined Function library. 2017-05-27 22:52:08 -07:00
Philipp Kranen 5d140f4a12 marking cython modules as binary 2017-05-24 10:12:50 +02:00
Ratan Rai Sur c6de4db35a Java Bindings (squashed)
adding some doc

use $$

add comments

automatically loadLibrary in java

semicolon

removing .iml

add more dependencies

move java static block code to cntk_java.i

remove also class files.

Adding .java files to jar

changing test location

typo

ignore DeviceDescriptorVector size constructor

DRY in Main.java

use List interface instead of ArrayList implementation

moving test location, expanding tests to gpu, fixing comments

move linux java tests

updating baseline.txt
2017-05-10 00:20:18 -04:00
Qiwei Ye a5d8763883 Merge branch 'qiwye/asgd-e2e-fix' of https://github.com/Microsoft/CNTK into qiwye/asgd-e2e-fix 2017-04-12 16:17:43 +08:00
Qiwei Ye e8ecda8f94 address code reveiw comments 2017-04-12 01:16:25 -07:00
Eldar Akchurin 2ef2b7e8e3 Adding ability to specify sequece key in the output format 2017-04-11 09:18:40 +02:00
Wolfgang Manousek e24b4820cd added psm1 files to gitattributes 2017-03-10 12:31:42 +01:00
Philipp Kranen 50beeadbfb updated Fast R-CNN to py35 2017-02-15 09:28:34 +01:00
Mark Hillebrand a3380bcd61 Tests\Install\windows: 1st version of Windows OOBE test added 2017-02-06 17:46:34 +01:00
Mark Hillebrand 1877508d6e Tools/samples.json: initial 2017-01-03 14:12:37 +01:00
thhoens ef6aa8584e Final update for CNTK Binary Reader. 2016-12-01 10:31:10 -08:00
Philipp Kranen 9231ece8ce Restructuring examples and tutorials 2016-11-14 16:24:45 +01:00
Alexey Reznichenko fb1daccc28 Improve v2 serialization, add UTs
Add arenas for allocating protobuf messages.
  Add Save/Load  methods to Dictionary/DictionaryValue.
  Add error checking to GetFStream (barf on non-existent files).
  Add unit tests to verify backward/forward compat.
2016-11-05 16:43:35 +01:00
Mark Hillebrand 83db0ef022 Tools/check-git-head.sh: add git attributes check 2016-10-27 10:04:41 +01:00
Wolfgang Manousek c52342af31 adding .i, .asax and dockerfile as text to gitattributes 2016-10-11 10:17:40 +02:00
Mark Hillebrand b57445ad18 Tools/check-git-head.sh: run basic checks against Git HEAD 2016-09-19 09:13:31 +02:00
Mark Hillebrand 887a2b9ef2 Tests/EndToEndTests/UnitTests/run-boost-test-common: add and use 2016-09-01 14:47:40 +02:00
Alexey Orlov 551f1dfe3a Added *.snk (Strong Name key) to ,gitattribute as binary 2016-08-12 07:17:46 -07:00
Frank Seide 595c7abe72 addressed review feedback 2016-08-08 10:04:02 -07:00
Zhou Wang 1a4f4a461e fix typo 2016-08-03 20:40:17 +02:00
Zhou Wang f4cb19bd82 disable convertion of LF to CRLF for test data file, and update the file offset value in the control file.
change the file name to take .gitattributes in effect without cleanup workspaces in Jenkins
2016-08-03 19:55:03 +02:00
Mark A. Hillebrand 44d127eb7d Normalize line endings where missing 2016-07-25 14:37:41 +02:00
Mark Hillebrand ae0eb49d96 Get Tests/EndToEndTests/Examples/Speech/TIMIT/Write*/ to work again
Note: WriteScaledLogLike produces results of varying checksum on
Windows, where our hardware varies greater. If we see similar effects
on Linux or WriteBottleneck as well, we need to rework.
2016-05-18 21:20:01 +02:00
Gaizka Navarro fb6cfb7be1 This commits adds .rst extensions as text files. This prevents these files from showing up as modified in Visual Studio 2016-04-20 08:50:01 +02:00
Yongqiang Wang c2c59ff714 (Address CR feedback) 2016-04-19 15:27:44 -07:00
Eldar Akchurin 0a9dfaf5e1 Addressing CR comments 2016-04-15 15:17:20 +02:00
Gaizka Navarro 911f5ce4d5 This commit fixes issues with files marked as "modified" by Visual Studio. The offending extensions are added to the .gitattributes marking them as "text" files.
The offending Output files and directory are removed
The offending will-be-license files are renamed to include a ".txt" extension.
2016-04-12 10:49:23 +02:00
Alexey Orlov 294e370509 Binary drop script. Linux. Addressed Code Review comments 2016-03-11 13:19:01 +01:00
Mark Hillebrand e71ba99f8c .gitattributes: add "*.ps1 text" 2016-03-04 10:41:03 +01:00
Mark Hillebrand ea55623979 Introduce CNTK.Cpp.props and load in every .vcxproj 2016-02-10 09:05:31 +01:00
Mark Hillebrand 1bcefe770a .gitattributes: set proper configuration for text files (and normalize files) 2016-01-18 09:35:54 +01:00
Amit Agarwal 3b5900227e Added run-test-common EOL setting to .gitattributes to make cygwin happy 2015-10-15 16:16:46 -07:00
Vladimir Ivanov ca189d8e35 Added ability to run speech e2e tests on Windows (cygwin) 2015-08-11 18:17:37 -07:00