Skip to content

make epsilon greedy sampler support GPU mode#690

Closed
alexnikulkov wants to merge 1 commit intofacebookresearch:mainfrom
alexnikulkov:export-D41062175
Closed

make epsilon greedy sampler support GPU mode#690
alexnikulkov wants to merge 1 commit intofacebookresearch:mainfrom
alexnikulkov:export-D41062175

Conversation

@alexnikulkov
Copy link
Contributor

Summary: In the GPU mode, the function will raise error since tensors created by torch.ones or torch.zeros are in CPU and rest tensors are in GPU.

Differential Revision: D41062175

Summary: In the GPU mode, the function will raise error since tensors created by torch.ones or torch.zeros are in CPU and rest tensors are in GPU.

Differential Revision: D41062175

fbshipit-source-id: 5a7f0474a0d4e28c59e0c2a20a12b8d573a998c3
@facebook-github-bot
Copy link

This pull request was exported from Phabricator. Differential Revision: D41062175

xuruiyang pushed a commit that referenced this pull request Sep 20, 2025
Summary:
Pull Request resolved: #690

In the GPU mode, the function will raise error since tensors created by torch.ones or torch.zeros are in CPU and rest tensors are in GPU.

Reviewed By: alexnikulkov

Differential Revision: D41062175

fbshipit-source-id: 27a4be58804f72f258476c749c64731de157c7f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants