Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable DatasetGen usage in CPU environment #1776

Merged
merged 2 commits into from
Mar 16, 2023

Conversation

oliverholworthy
Copy link
Member

Enable DatasetGen usage in CPU environment.

I ran into an error from this function when running in a CPU environment where the offsets were trying to call cupy.cumsum on numpy data.

@oliverholworthy oliverholworthy added the bug Something isn't working label Mar 10, 2023
@oliverholworthy oliverholworthy added this to the Merlin 23.03 milestone Mar 10, 2023
@oliverholworthy oliverholworthy self-assigned this Mar 10, 2023
Copy link
Contributor

@karlhigley karlhigley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a good fix for now 👍🏻

In the longer run, I think we'd like to consolidate the dataset generation code and probably favor the code in Merlin Models over this version. Not sure how much is here that MM doesn't have though, so possible we can just get rid of this version.

@oliverholworthy oliverholworthy marked this pull request as ready for review March 15, 2023 16:45
@karlhigley karlhigley merged commit 65bbe86 into NVIDIA-Merlin:main Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants