New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C# refactoring, memory leak fixes, general goodness,... #863
Conversation
enable non-annotation based specification of serialization
opening compiler infrastructure for external usage
minor cleanup outstanding
fixed default namespace to blank added test cases
Pushed. From: John <notifications@github.commailto:notifications@github.com> Done. -John On 12/21/2015 11:08 AM, Markus Cozowicz wrote:
— |
It says "
Fix? -John On 12/21/2015 11:43 AM, Markus Cozowicz wrote:
|
Can all the cs_/ go into cs/? |
That’s what I’m doing right now. Need to go through all the cs_proj files. From: John <notifications@github.commailto:notifications@github.com> Can all the cs_/ go into cs/? — |
Cool. |
removed duplicate vw_key.snk
My tests are crashing after upstream merge… From: John <notifications@github.commailto:notifications@github.com> It says " This branch has conflicts that must be resolved" Fix? -John On 12/21/2015 11:43 AM, Markus Cozowicz wrote:
— |
Unclear what's up? The master branch is in the same state as before as -John On 12/21/2015 12:22 PM, Markus Cozowicz wrote:
|
I believe there are more changes on the master compared to when I last sync’d. I moved all C# into cs/, but my VS Test environment crashes and I can’t properly debug. Markus |
What disables debugging? For any file, you can get the changes between -John On 12/21/2015 01:09 PM, Markus Cozowicz wrote:
|
Already looked at the changes and didn’t see anything suspicious. Investigating… |
My diff output below. From what I can find on the web, git only stores files as 644 or 755. I actually don’t understand why it should have been something else… I think 644 is the right mode – non-executable as it should be for a model file. mwtds@ubuntu:~/vw.eisber/vowpal_wabbit/test/model-sets$ git diff upstream/master 7.10.2_corrupted.model From: John [mailto:notifications@github.com] why are attributes changed on test/model-sets/7.10.2_corrupted.model? — |
644 does seem like the right mode. I'm just unclear on why it is -John On 12/21/2015 02:05 PM, Markus Cozowicz wrote:
|
From the diff it looks like there was no mode set all. I’m not sure if one can return to that state… From: John <notifications@github.commailto:notifications@github.com> 644 does seem like the right mode. I'm just unclear on why it is -John On 12/21/2015 02:05 PM, Markus Cozowicz wrote:
— |
Found 2 issues. Visual Leak Detector somehow sneaked into Debug builds. I found the offending commit: 923bbe6 from Will Newton. Changing to %llu http://stackoverflow.com/questions/6655410/why-doesnt-zd-printf-format-work-in-vs2010 Still one to go… |
Cool. -John On 12/21/2015 04:03 PM, Markus Cozowicz wrote:
|
fixed model loading code for corrupted models fixed %z specifier (not supported on Windows)
Pushed. Found the 2nd offender too. The extension for dynamic memory when reading model introduced for the Java API didn’t care for corrupted models. I’ll have to wait for Visual Leak Detector nuget to be build, minor change to make sure there isn’t an unwanted dependency onto VLD in Debug. Markus |
Checks failing still? |
Cs/ move around aftermath… |
fixed From: John <notifications@github.commailto:notifications@github.com> Checks failing still? — |
C# refactoring, memory leak fixes, general goodness,...
Merged at last! All, this is a major update to the C# .net library interface, plus many -John On 12/21/2015 05:56 PM, Markus Cozowicz wrote:
|
fixed Runtime library mismatch between zlib, libvw, vw.exe, VowpalWabbitCore.dll (CLR),... by using zlib/boost nuget provided msbuild targets
included Visual Leak Detector for memory leak detection on windows
refactored C# API to allow users to dynamically constructor serializers based on alternate descriptions (not just on static annotations)
string marshalling is compatible to command line (either escaping or splitting)
schema based pre-hashing: if hash can be determine from schema it's only generated once and re-used for each example.
added type extension API for marshalling
allow user to generate native and string examples in parallel in both debug and release
keep marshalling expression tree for debugging
refactored marshalling expression tree generation to improve readability
added sweeping helper
improved C# label parsing extensibility
added assembly signing
fixed memory leaks in C# usage of VW
fixed model hashing/reload interaction
fixed handling of empty line examples within set of action dependent features
fixed order issue when predicting ADF examples containing empty action dependent features
fixed default namespace incompatibility (space vs. 0)
improved RunTests to C# test wrapping (detects inter-test dependencies and input files)
unit tests are run in test/ folder, thus no need copy all input files
added user-supplied model id support