1ndigo

Results 41 issues of 1ndigo

**Describe the bug** Different(maybe wrong) outputs of mlx.core.max using cpu/gpu compared to numpy **To Reproduce** ```python import mlx.core as mx import numpy as np array_mlx = mx.array([[1, 2, 3], [float('nan'),...

bug

**Describe the bug** I found that mlx.core.matmul/tensordot do not support integer type matrix operations, but numpy does, and it is not stated in the mlx documentation that these two APIs...

documentation
enhancement

**Describe the bug** I once reproduced a bug in Pytroch, and when I converted the Pytroch method to the MLX method, I found that the problem still existed. This problem...

bug

**Describe the bug** a = mx.array([float('nan')]) mx.clip(a,-1,1) = array([-1], dtype=float32) **To Reproduce** Include code snippet ```python import mlx.core as mx a = mx.array([float('nan')]) print(a) b = mx.clip(a,-1,1) print(b) ``` ![image](https://github.com/ml-explore/mlx/assets/84373897/02d6afc3-8428-4c80-be9d-f58fa5c4ed4a)...

bug

**Describe the bug** float32 should have higher computational accuracy than float16, but the result of 'mlx. core. arccos' is not. Using tf.math.acos in TensorFlow to achieve the same function, it...

enhancement

### Brief Description Incorrect documentation formula for oneflow.square ![image](https://github.com/Oneflow-Inc/oneflow/assets/84373897/9bd8652b-a8ba-41e2-aa3a-feede823f24b) ### Alternatives _No response_

## Summary oneflow.matmul doesn't work for this situation ## Code to reproduce bug ```python import oneflow as flow import numpy as np x1 = flow.tensor(np.array([float('inf'), 0, -1, float('nan'), 5], dtype=np.float32))...

bug
community

## Summary core dumped occurs when an empty array is processed with oneflow.dot ## Code to reproduce bug ```python import oneflow as flow import numpy as np x1 = flow.tensor(np.array([],...

bug
community

## Summary core dumped occurs when an empty array is processed with oneflow.tensordot and the dims argument is 2 ## Code to reproduce bug ```python import oneflow as flow import...

bug
community

## Summary oneflow.cast perform differently between cpu and cuda ## Code to reproduce bug ```python import oneflow as flow import numpy as np x1 = flow.tensor(np.array([[float('inf'), 0, -1, float('nan'), 5]],...

bug
community