NVIDIA-Merlin / models

Merlin Models is a collection of deep learning recommender system model reference implementations
https://nvidia-merlin.github.io/models/main/index.html
Apache License 2.0
262 stars 50 forks source link

Introducing Block #1087

Closed marcromeyn closed 1 year ago

marcromeyn commented 1 year ago

Goals :soccer:

First PR for the new PyTorch backend, this PR introduces the following user-facing classes:

And internal classes:

Implementation Details :construction:

TorchScriptWrapper makes it easier to work with torch-script. It will check the forward method and then stores various properties of it as constants. This way, torchscript doesn't need to worry about it.

Testing Details :mag:

Since these are some of the lowest-level classes, I tried to maximize test-coverage as much as possible

CleanShot 2023-05-12 at 13 47 22@2x
github-actions[bot] commented 1 year ago

Documentation preview

https://nvidia-merlin.github.io/models/review/pr-1087