YRInc
2021-04-23 04:02:49 +08:00
提供一个国产的给大家参考:鲲鹏 920
12 核 鲲鹏 920  24G 内存:
-------------------
Python 3.8.8 | packaged by conda-forge | (default, Feb 20 2021, 15:45:16)
Dotted two 4096x4096 matrices in 1.48 s.
Dotted two vectors of length 524288 in 0.49 ms.
SVD of a 2048x1024 matrix in 1.10 s.
Cholesky decomposition of a 2048x2048 matrix in 0.14 s.
Eigendecomposition of a 2048x2048 matrix in 8.36 s.
-------------------
24 核 鲲鹏 920 48G 内存:
-------------------
Dotted two 4096x4096 matrices in 0.76 s.
Dotted two vectors of length 524288 in 0.48 ms.
SVD of a 2048x1024 matrix in 0.93 s.
Cholesky decomposition of a 2048x2048 matrix in 0.13 s.
Eigendecomposition of a 2048x2048 matrix in 7.66 s.
与 M1 Mac 用的同样的环境,Miniforge3,相关的加速库如下:
blas_info:
    libraries = ['cblas', 'blas', 'cblas', 'blas']
    library_dirs = ['/root/miniforge3/lib']
    include_dirs = ['/root/miniforge3/include']
    language = c
    define_macros = [('HAVE_CBLAS', None)]
blas_opt_info:
    define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
    libraries = ['cblas', 'blas', 'cblas', 'blas']
    library_dirs = ['/root/miniforge3/lib']
    include_dirs = ['/root/miniforge3/include']
    language = c
lapack_info:
    libraries = ['lapack', 'blas', 'lapack', 'blas']
    library_dirs = ['/root/miniforge3/lib']
    language = f77
lapack_opt_info:
    libraries = ['lapack', 'blas', 'lapack', 'blas', 'cblas', 'blas', 'cblas', 'blas']
    library_dirs = ['/root/miniforge3/lib']
    language = c
    define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
    include_dirs = ['/root/miniforge3/include']