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

make gaussian randomizer use cuda #124

Merged
merged 2 commits into from
Dec 22, 2023
Merged

make gaussian randomizer use cuda #124

merged 2 commits into from
Dec 22, 2023

Conversation

cremebrule
Copy link
Member

No description provided.

Copy link
Member

@amandlek amandlek left a comment

Choose a reason for hiding this comment

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

We should probably detect what device the input is on, and set the device for the noise appropriately, instead of always assuming gpu

Copy link
Member

@amandlek amandlek left a comment

Choose a reason for hiding this comment

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

LGTM

@amandlek amandlek merged commit bdc89f7 into master Dec 22, 2023
@amandlek amandlek deleted the fix/gaussian-randomizer branch December 22, 2023 18:06
Eubooks3003 pushed a commit to Eubooks3003/robomimic that referenced this pull request Oct 7, 2024
* make gaussian randomizer use cuda

* make randomized torch tensor use same device as inputs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants