Skip to content
New issue

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

Record test result for RISC-V build #2

Open
qjivy opened this issue Apr 3, 2024 · 5 comments
Open

Record test result for RISC-V build #2

qjivy opened this issue Apr 3, 2024 · 5 comments
Assignees

Comments

@qjivy
Copy link
Collaborator

qjivy commented Apr 3, 2024

Describe the issue:

commit 1c8b03b

cmd line: spin test -v

fail cases:

=========================== short test summary info ============================
FAILED numpy/_core/tests/test_numeric.py::TestBoolCmp::test_float - Assertion...
FAILED numpy/_core/tests/test_umath.py::TestDivision::test_floor_division_errors[g]
FAILED numpy/_core/tests/test_umath.py::TestRemainder::test_float_remainder_errors[remainder-g]
FAILED numpy/_core/tests/test_umath.py::TestFPClass::test_fpclass[-4] - Asser...
FAILED numpy/_core/tests/test_umath.py::TestFPClass::test_fpclass[-2] - Asser...
FAILED numpy/_core/tests/test_umath.py::TestFPClass::test_fpclass[-1] - Asser...
FAILED numpy/_core/tests/test_umath.py::TestFPClass::test_fpclass[1] - Assert...
FAILED numpy/_core/tests/test_umath.py::TestFPClass::test_fp_noncontiguous[f]
= 8 failed, 42779 passed, 1705 skipped, 2783 deselected, 35 xfailed, 4 xpassed in 1347.65s (0:22:27) =

Reproduce the code example:

NA

Error message:

NA

Python and NumPy Versions:

Python 3.11.8 from Arch Linux

Runtime Environment:

NA

Context for the issue:

NA

@qjivy qjivy self-assigned this Apr 3, 2024
@qjivy
Copy link
Collaborator Author

qjivy commented Apr 7, 2024

commit 4517378

fail cases:

=========================== short test summary info ============================
FAILED numpy/_core/tests/test_umath.py::TestDivision::test_floor_division_errors[g]
FAILED numpy/_core/tests/test_umath.py::TestRemainder::test_float_remainder_errors[remainder-g]
= 2 failed, 42785 passed, 1705 skipped, 2783 deselected, 35 xfailed, 4 xpassed in 1281.85s (0:21:21) =

@qjivy
Copy link
Collaborator Author

qjivy commented Apr 7, 2024

commit 4517378

fail cases:

=========================== short test summary info ============================
FAILED numpy/_core/tests/test_umath.py::TestDivision::test_floor_division_errors[g]
FAILED numpy/_core/tests/test_umath.py::TestRemainder::test_float_remainder_errors[remainder-g]
= 2 failed, 42785 passed, 1705 skipped, 2783 deselected, 35 xfailed, 4 xpassed in 1281.85s (0:21:21) =

The fail is due to differences behavior of GCC and llvm compilers.

This is the extracted micro-case for validate:

// demo.c

#include <math.h>
#include <fenv.h>
#include <stdio.h>

_Bool
test(long double a, long double b)
{
    long double m = fmodl(a, b);
    return isless(m, (long double)0);
}

int main(void) {
    fetestexcept(FE_INVALID);
    long double a = NAN, b = 1.0;
    printf("%d\n", test(a, b));
    if(fetestexcept(FE_INVALID)) printf("raised\n");
    return 0;
}


de89897ffde6160dc57664b3cb2d25b2

b05ea6afb67afd72da4bc2d689988478

@qjivy
Copy link
Collaborator Author

qjivy commented Apr 11, 2024

Numpy test result with OpenBlas enabled ZVL128

=========================== short test summary info ============================
FAILED numpy/_core/tests/test_multiarray.py::TestMethods::test_no_dgemv[F-matmul]
FAILED numpy/_core/tests/test_umath.py::TestDivision::test_floor_division_errors[g]
FAILED numpy/_core/tests/test_umath.py::TestRemainder::test_float_remainder_errors[remainder-g]
FAILED numpy/linalg/tests/test_linalg.py::TestQR::test_stacked_inputs[complex128-outer_size2-size1]
FAILED numpy/matrixlib/tests/test_matrix_linalg.py::TestQRMatrix::test_stacked_inputs[complex128-outer_size1-size2]
= 5 failed, 42858 passed, 1629 skipped, 2783 deselected, 35 xfailed, 4 xpassed in 2135.18s (0:35:35) =

luyahan pushed a commit that referenced this issue Apr 25, 2024
feat: Set up CI workflow
@qjivy
Copy link
Collaborator Author

qjivy commented May 14, 2024

version info:

commit edee45e5e184d23929a605c9441607aca03a019a (HEAD -> neon2rvv, origin/neon2rvv)
Author: Yang Liu <[email protected]>
Date:   Wed May 8 16:02:34 2024 +0800

    ENH: Add preliminary RVV support using neon2rvv (#9)

hw platform:

processor       : 0
hart            : 0
model name      : Spacemit(R) X60
isa             : rv64imafdcv_sscofpmf_sstc_svpbmt_zicbom_zicboz_zicbop_zihintpause
mmu             : sv39
mvendorid       : 0x710
marchid         : 0x8000000058000001
mimpid          : 0x1000000049772200

os info:

Debian GNU/Linux trixie/sid \n \l

Overall res:

= 237 failed, 42600 passed, 1705 skipped, 2783 deselected, 35 xfailed, 4 xpassed in 2067.86s (0:34:27) =

logfile:
logtest.txt

@ArielHeleneto
Copy link

openEuler 20240514 上无法运行测试。

安装系统级别依赖: g++ gcc cmake make python3-devel

python 包:requirements/test_requirements.txt

[root@openeuler-riscv64 numpy]# spin test -v
Invoking `build` prior to running tests:
Error: build() got an unexpected keyword argument 'gcov'; aborting.

这和官版运行结果不一致。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants