julius icon indicating copy to clipboard operation
julius copied to clipboard

More memory efficient implementation / improvements on julius for > 100K sequence length?

Open penguinshin opened this issue 1 year ago • 1 comments

Julius works great, but I notice that the memory usage grows super-linearly with filter length. Are there any settings to change or improvements to be made that could reduce gpu memory consumption?

penguinshin avatar Jun 04 '23 20:06 penguinshin

You can try deactivating the fft based implementation (not sure anymore what is the name of the parameter), especially if you have an input that requires a gradient. It's tuned for speed but not sure I do everything the best way for memory. But then things will be a lot slower. With the regular implem it will be slow but memory usage should be linear.

adefossez avatar Jun 05 '23 11:06 adefossez