Skip to content

Conversation

@EikanWang
Copy link
Collaborator

Currently, the RNG operations in Helion only support CUDA as the device name is hard-coded as cuda to produce the RNG seed buffer. This PR intends to generalize the code by replacing torch.device('cuda') with torch.accelerator.current_accelerator().

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 2, 2025
@oulgen oulgen merged commit bae2fe5 into pytorch:main Oct 2, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants