Optimizing Recommendation Systems with JDK's Vector API

58 points - last Tuesday at 4:33 AM

Source

Comments

lukev today at 9:30 PM
I had success on a similar problem by allocating native buffers for the matrices, then using a basic CUDA call. The actual work was 100x faster than my CPU baseline.

The bottleneck of course was fetching & loading relevant data to memory to start with.

aberoham today at 7:29 PM
"the remaining 2% were large batch requests", [which made up 50% of the work] .. who really watches that many shows on Netflix? What was in those batches, if someone is watching that much, why bother with serendipity at all? Most serendipitous thing you could do is shut off their subscription.