Skip to content

Remove use_gpu argument from Implicit model example notebook#369

Merged
oliverholworthy merged 1 commit intoNVIDIA-Merlin:mainfrom
oliverholworthy:implicit-example-remove-use-gpu-param
Jun 12, 2023
Merged

Remove use_gpu argument from Implicit model example notebook#369
oliverholworthy merged 1 commit intoNVIDIA-Merlin:mainfrom
oliverholworthy:implicit-example-remove-use-gpu-param

Conversation

@oliverholworthy
Copy link
Contributor

Removes the use_gpu argument from the Implicit model example notebook (examples/Serving-An-Implicit-Model-With-Merlin-Systems.ipynb).

This is to support running this notebook as an integration test in a CUDA 12 Environment. Implicit currnently supports CUDA 11.

The model class we're calling should select the GPU version if it can successfully load the GPU accelerated version (currenlty in a CUDA 11 environment)

@oliverholworthy oliverholworthy added this to the Merlin 23.06 milestone Jun 12, 2023
@oliverholworthy oliverholworthy self-assigned this Jun 12, 2023
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions
Copy link

Documentation preview

https://nvidia-merlin.github.io/systems/review/pr-369

@jperez999
Copy link
Collaborator

jperez999 commented Jun 12, 2023

This means that in the next release we will have a hard dependency on merlin-models 23.06 right? Or does merlin models implicit support already have this feature? Where it autoloads the model on GPU if possible? What happens if the user wants to use CPU even in a GPU environment?

@oliverholworthy
Copy link
Contributor Author

This means that in the next release we will have a hard dependency on merlin-models 23.06 right?

I don't think this PR adds any dependency, merlin-models is not part of the install_requires for Systems. And this PR doesn't change that.

@oliverholworthy oliverholworthy merged commit 100d056 into NVIDIA-Merlin:main Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants