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

RuntimeError: "random_kernel" not implemented for 'Half' #121

Closed
turian opened this issue Mar 10, 2021 · 6 comments
Closed

RuntimeError: "random_kernel" not implemented for 'Half' #121

turian opened this issue Mar 10, 2021 · 6 comments

Comments

@turian
Copy link

turian commented Mar 10, 2021

Can you please support generation of fp16 values?

@pbelevich
Copy link
Contributor

@turian it's merged to master and will be available in nightly builds tomorrow. Also it will be in 0.2.1 release in a couple of weeks

@turian
Copy link
Author

turian commented Mar 12, 2021

Thanks!

pbelevich added a commit that referenced this issue Mar 17, 2021
Summary:
Pull Request resolved: #122

Fixes #121

Test Plan: Imported from OSS

Reviewed By: nikithamalgifb, gmagogsfm

Differential Revision: D26969175

Pulled By: pbelevich

fbshipit-source-id: 62e66d354eddb389fdd5311d54c125a1d0660b95
@turian
Copy link
Author

turian commented Mar 21, 2021

@pbelevich just curious when 0.2.1 will be released? We have an upcoming release in a week and would love to pin 0.2.1 so we have half-precision support.

@pbelevich
Copy link
Contributor

@seemethere, when is the release date?

@seemethere
Copy link
Member

We're anticipating it'll come sometime later this week

@pbelevich
Copy link
Contributor

@turian it's released with PyTorch 1.8.1: https://github.com/pytorch/csprng/releases/tag/v0.2.1

!pip install torchcsprng==0.2.1 torch==1.8.1 -f https://download.pytorch.org/whl/cu101/torch_stable.html

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

No branches or pull requests

3 participants