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

[FRONTEND] Make tl.rand() 1-exclusive #601

Merged
merged 2 commits into from
Jul 25, 2022

Conversation

jansel
Copy link
Contributor

@jansel jansel commented Jul 24, 2022

The previous version of tl.rand() could generate 1.0. Looking at the docstrings I don't think this was intentional and doesn't match torch.rand()

cc @ngimel

@ptillet ptillet merged commit 027321c into triton-lang:master Jul 25, 2022
@jansel jansel deleted the random202207 branch July 25, 2022 01:07
ptillet pushed a commit that referenced this pull request Oct 24, 2022
pingzhuu pushed a commit to siliconflow/triton that referenced this pull request Apr 2, 2024
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