[release/2.14] test_scaled_matmul_cuda_xpu.py::TestFP8MatmulXPU::test_float8_scale_result_xpu AssertionError: Tensor-likes are not 'equal'!
- Dominant language
- Python
- Stars
- 113
- Forks
- 128
- Avg merge
- 5d 9h
- Merged PRs (30d)
- 112
Description
### 🐛 Describe the bug
Cases:
op_ut,third_party.torch-xpu-ops.test.xpu.test_scaled_matmul_cuda_xpu.TestFP8MatmulXPU,test_float8_scale_result_xpu
## ErrorLog
### AssertionError: Tensor-likes are not 'equal'!
```bash
________________ TestFP8MatmulXPU.test_float8_scale_result_xpu _________________
[gw6] linux -- Python 3.10.20 /tmp/xpu-tool/Python/3.10.20/x64/bin/python
Traceback (most recent call last):
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_scaled_matmul_cuda.py", line 755, in test_float8_scale_result
self.assertEqual(actual, expected)
File "/tmp/xpu-tool/Python/3.10.20/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 4809, in assertEqual
raise error_metas.pop()[0].to_error( # type: ignore[index]
AssertionError: Tensor-likes are not 'equal'!
Mismatched elements: 874 / 1024 (85.4%)
The first mismatched element is at index (0, 0).
```
## Pytorch Version
latest good : 006f50836eb6e24b43e3a1549e88e0c68ef417fb
current : dc26b59876c3726fe657d77782b2dcd302bb0c8b
### Versions
Detail
Collecting environment information...
PyTorch version: 2.14.0a0+gitdc26b59
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A
OS: Ubuntu 24.04.4 LTS (x86_64)
GCC version: (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0
Clang version: Could not collect
CMake version: version 3.31.6
Libc version: glibc-2.39
Python version: 3.10.20 (main, Jun 16 2026, 21:01:32) [GCC 13.3.0] (64-bit runtime)
Python platform: Linux-5.15.0-176-generic-x86_64-with-glibc2.39
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
[pip3] onnx-ir==0.1.16
[pip3] onnxscript==0.6.2
[pip3] optree==0.13.0
[pip3] tbb==2023.0.0
[pip3] tcmlib==1.5.0
[pip3] torch==2.14.0a0+gitdc26b59
[pip3] torchao==0.18.0.dev20260726+xpu
[pip3] torchaudio==2.11.0a0+c0cbdb9
[pip3] torchvision==0.29.0a0+3f87802
[pip3] triton-xpu==3.7.2+git5fcc14d9
[pip3] umf==1.1.0
[conda] No relevant packages
Contributor guide
Assessment
This issue has not been assessed yet.