Skip to content
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

Lower the memory footprint of shogun library #2437

Open
vigsterkr opened this issue Jul 31, 2014 · 14 comments
Open

Lower the memory footprint of shogun library #2437

vigsterkr opened this issue Jul 31, 2014 · 14 comments

Comments

@vigsterkr
Copy link
Member

travis is failing more and more with:

ld terminated with signal 9

which means that the library linking was killed because the instance was running out of memory. we need to start doing something about shogun's memory footprint ASAP

@karlnapf
Copy link
Member

karlnapf commented Aug 1, 2014

could #2005 help?

@vigsterkr
Copy link
Member Author

@karlnapf noup, unfortunately we are having that flag since march apparently and we are running into troubles still on travis

@lambday
Copy link
Member

lambday commented Aug 7, 2014

@lisitsyn how about after this gsoc we go ahead with the plugin project? I think that will also help reducing in the memory footprint. I can join with you in this. if we can make this ready before next year's gsoc it would be a great boost!

@iglesias
Copy link
Collaborator

iglesias commented Aug 8, 2014

I second that, @lambday.

@lambday
Copy link
Member

lambday commented Aug 8, 2014

@iglesias either we can go with existing libraries like pugg, or we can create from scratch our own as required like @lisitsyn started. It will be really cool!

@vigsterkr
Copy link
Member Author

@lambday as always i'll point my finger on gstreamer

@lambday
Copy link
Member

lambday commented Aug 8, 2014

@vigsterkr didn't know about this one. can we define our core components, plugin managers, plugins etc using this?

@vigsterkr
Copy link
Member Author

@lambday noup, as it's actually a media library, but they are thoroughly tested as it's being shiped with a lot of set-top boxes, browsers etc. and their plugin framework is just awesome.

@lambday
Copy link
Member

lambday commented Aug 8, 2014

@vigsterkr so can we use it in shogun? or you're suggesting that we follow what they did.

@vigsterkr
Copy link
Member Author

@lambday no not at all, it's just a good reference point how we should do things.
as that one has a very good pipelining method that basically makes sure that the pipeline you've defined, i.e. load_feature -> preprocess -> train -> test -> evaluate -> save
a) makes sense at all
b) it automagically loads all the requried dlls

@lambday
Copy link
Member

lambday commented Aug 8, 2014

@vigsterkr sounds really exciting. will check it out. as a starter I was just having a look at Dr. Dobb's tutorial on this.

@vigsterkr
Copy link
Member Author

btw the problem with travis is actually with the swig interface code compilation itself, e.g. modshogun_PYTHON.cxx. we should try again to modularize the swig interface, as that file takes more than 4gigs of ram to compile.

@iglesias
Copy link
Collaborator

@vigsterkr, could you quickly point out for me the previous attempt to modularize the swig interface, or somewhere I could start looking at?

@vigsterkr
Copy link
Member Author

@iglesias i suppose it should be among the commits, but i've just heard from @sonney2k that once it was done but that it was very unstable that's why it was dropped on the end. :S

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants