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

randn results in inf values in large arrays #819

Closed
coquelin77 opened this issue Jun 23, 2021 · 0 comments
Closed

randn results in inf values in large arrays #819

coquelin77 opened this issue Jun 23, 2021 · 0 comments
Assignees

Comments

@coquelin77
Copy link
Member

Description
see title

To Reproduce

    features = ht.random.randn(100000, 320, split=0)  # .astype(T)
    print(torch.nonzero(torch.isinf(features.larray)))
[1] tensor([[17552,   116],
[1]         [32690,   262],
[1]         [36752,    84],
[1]         [43018,   240],
[1]         [45453,   103]])
[0] tensor([[11522,   258],
[0]         [29520,   280],
[0]         [32970,   185],
[0]         [37122,    75]])

Expected behavior
no inf values

Version Info
current master

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

2 participants