We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
flow.nn.functional.log_softmax/flow.nn.functional.gumbel_softmax
A crash is triggered on the specified input, possibly due to a precision problem.
import oneflow as flow eps = flow.tensor(1e-6, dtype=flow.float32) target_sum = eps + eps x = flow.log(target_sum) - flow.log(target_sum - eps) print(x) log_softmax = flow.nn.functional.log_softmax(x)
import oneflow as flow eps = flow.tensor(1e-6, dtype=flow.float32) target_sum = eps + eps x = flow.log(target_sum) - flow.log(target_sum - eps) print(x) log_softmax = flow.nn.functional.gumbel_softmax(x)
output:
tensor(0.6931, dtype=oneflow.float32) Segmentation fault (core dumped)
python3 -m oneflow --doctor
path: ['/home/miniconda3/envs/oneflow/lib/python3.9/site-packages/oneflow'] version: 0.9.0 git_commit: 381b12c cmake_build_type: Release rdma: True mlir: True
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
A crash is triggered on the specified input, possibly due to a precision problem.
Code to reproduce bug
output:
System Information
python3 -m oneflow --doctor
):The text was updated successfully, but these errors were encountered: