You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove parsing perf bottleneck in WordEmbeddingsTransform (#1599) fixes#1608
* update benchmarking docs: mention required git submodule
* update BDN to latest version with ETW profiler
* use CopyLocalLockFileAssemblies to force MSBuild to copy all dependencies to output folder, even if they are not used - to allow for dynamic assembly loading for EtwProfiler when used from console app
* use new .AsDefault() bdn method to tell it that it's a default job which can be overwritten by TrainConfig
* add benchmark which isolates the performance bottleneck
* write unit tests!
* move the parsing logic to a separate method before applying any code changes
* apply the optimizations
* read the file in parallel for even x3 speedup!
* remove the temporary benchmark
* revert breaking benchmark config changes
* apply a workaround for BenchmarkDotNet bug
* code review fixes
* cleanup the comment
* update BDN to 0.11.3, remove all workarounds
* code review fixes
* missing license header
ch.Warning($"Dimension mismatch while reading model file: '{_modelFileNameWithPath}', line number {lineNumber+1}, expected dimension = {model.Dimension}, received dimension = {dimension}");
ch.Warning($"Dimension mismatch while reading model file: '{_modelFileNameWithPath}', line number {parsedLine.lineNumber}, expected dimension = {model.Dimension}, received dimension = {dimension}");
Copy file name to clipboardExpand all lines: test/Microsoft.ML.Benchmarks/README.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,11 @@ This project contains performance benchmarks.
4
4
5
5
## Run the Performance Tests
6
6
7
-
**Pre-requisite:** On a clean repo, `build.cmd` at the root installs the right version of dotnet.exe and builds the solution. You need to build the solution in `Release` with native dependencies.
7
+
**Pre-requisite:** In order to fetch dependencies which come through Git submodules the following command needs to be run before building:
8
+
9
+
git submodule update --init
10
+
11
+
**Pre-requisite:** On a clean repo with initalized submodules, `build.cmd` at the root installs the right version of dotnet.exe and builds the solution. You need to build the solution in `Release` with native dependencies.
0 commit comments