oneflow
oneflow copied to clipboard
OneFlow is a deep learning framework designed to be user-friendly, scalable and efficient.
## Summary A crash is triggered when the input is a empty tensor. ## Code to reproduce bug ``` import oneflow as flow invalid_data = flow.tensor([], dtype=flow.float32) invalid_min_max = flow.nn.MinMaxObserver()...
## Summary A crash is triggered when quantization_formula is not "google" or "cambricon". ## Code to reproduce bug ``` import oneflow as flow import numpy as np weight = (np.random.random((2,...
## Summary A crash is triggered when lables and logits have different data types ## Code to reproduce bug ``` import oneflow as flow labels = flow.tensor([1, 2, 3, 4,...
## Summary A crash is triggered on the specified input, possibly due to a precision problem. ## Code to reproduce bug ``` import oneflow as flow eps = flow.tensor(1e-6, dtype=flow.float32)...
## Summary A crash is triggered when the processed tensor shapes do not match. ## Code to reproduce bug ``` import oneflow as flow theta = flow.tensor([[2.0, 0.0, 4.0], [0.0,...
## Summary Creating an incompatible input shape for CrossEntropyLoss triggers a crash. ## Code to reproduce bug ``` import oneflow as flow input = flow.tensor([[1, 2, 3], [4, 5, 6],...
## Summary A crash is triggered when the padding parameter is a specific negative number, where flow.nn.ConstantPad1d triggers a Aborted (core dumped), flow.nn.ConstantPad1d triggers Segmentation fault (core dumped). ## Code...
## Summary A crash is triggered when handling empty input. ## Code to reproduce bug ``` import oneflow as flow zero_dim_input = flow.tensor([()]) print(zero_dim_input) flow.linalg.norm(zero_dim_input) ``` ``` import oneflow as...
## Summary This will cause a crash due to incompatible dimensions for concatenation. ## Code to reproduce bug ``` import oneflow as flow import numpy as np # Creating two...
## Summary Trying to stack InvalidTensorType tensor triggers a crash. ## Code to reproduce bug ``` import oneflow as flow x = flow.randn(5, 2) result = flow.hstack([x, "InvalidTensorType"]) ``` ```...