MobileTeleSystems / RecTools

RecTools - library to build Recommendation Systems easier and faster than ever before
Apache License 2.0
287 stars 37 forks source link

gpu support for `ImplicitRanker` #200

Closed blondered closed 2 days ago

blondered commented 3 weeks ago

Feature Description

use_gpu argument to ImplicitRanker.rank method that calls implicit.gpu.KnnQuery().topk instead of implicit.cpu.topk.topk when set to True.

Why this feature?

Allows for gpu inference for a range of models

Additional context

Described at https://github.com/MobileTeleSystems/RecTools/issues/199