oneflow icon indicating copy to clipboard operation
oneflow copied to clipboard

OneFlow is a deep learning framework designed to be user-friendly, scalable and efficient.

Results 591 oneflow issues
Sort by recently updated
recently updated
newest added

## Summary When attempting to create or fill `IntTensor` with unsupported data types (e.g., strings or floats), OneFlow does not raise a Python-level error, but instead leads to a **segmentation...

bug
community

## Summary Can't import oneflow ## Code to reproduce bug ![Image](https://github.com/user-attachments/assets/39746a64-5824-454b-b384-616b02f6c8e7) Just import oneflow in python code. ## System Information - What is your OneFlow installation (pip, source, dockerhub):python3 -m...

bug
community

### Description When I install onediff that depend on oneflow,I get the above exception. Intall Command: pip install --pre oneflow -f https://oneflow-pro.oss-cn-beijing.aliyuncs.com/branch/community/cu121 --no-deps My pytorch version is 2.1.2+cu121

### Description Major torch releases have cudnn 9.X backend, so I wonder is there a plan to support it? Without having to manually install older cudnn. ### Alternatives _No response_

## Code to reproduce bug ``` import oneflow as flow lamb = flow.optim.LAMB(flow.nn.Parameter([float('nan')])) lamb.step() ``` output: ``` Stack trace (most recent call last): Object "/opt/conda/lib/python3.8/site-packages/oneflow/_oneflow_internal.cpython-38-x86_64-linux-gnu.so", at 0x7f35d91282cd, in Object "/opt/conda/lib/python3.8/site-packages/oneflow/_oneflow_internal.cpython-38-x86_64-linux-gnu.so",...

bug
community

### Description ## Summary The crash is triggered when the start value is set to Nan. ## Code to reproduce bug ``` import oneflow as flow output_tensor_nan_start = flow.logspace(start=float('nan'), end=1.0,...

### Description ## Code to reproduce bug ``` import oneflow as flow result = flow.linalg.vector_norm(flow.zeros((0,)), ord=2, dim=None, keepdim=False) ``` output: ``` Stack trace (most recent call last) in thread 1756:...

### Description A crash is triggered when value is set to a negative value. ## Code to reproduce bug ``` import oneflow as flow import numpy as np negative_number =...

### Description ## A crash is triggered when K is set to a negative value. ## Code to reproduce bug ``` import oneflow as flow topk_result = flow.topk(input=flow.randn(2, 100), k=-100)...

oneflow autocast 不支持 global tensor。下面代码直接报错 ```python import oneflow as flow placement = flow.placement("cuda", ranks=[0]) sbp = flow.sbp.broadcast a = flow.randn(2, 3).to_global(placement=placement, sbp=sbp) b = flow.randn(3, 4).to_global(placement=placement, sbp=sbp) with flow.autocast(device_type="cuda"): c...

enhancement
op
global