未验证 提交 8cf25c43 编写于 作者: T tensor-tang 提交者: GitHub

refine core warning message (#18063)

test=develop
上级 4c735f24
......@@ -57,10 +57,9 @@ if cpuinfo.supports_avx:
from .core_avx import _set_eager_deletion_mode
from .core_avx import _set_fuse_parameter_group_size
from .core_avx import _set_fuse_parameter_memory_size
except ImportError as error:
except ImportError:
sys.stderr.write(
error.__class__.__name__ +
' WARNING: Error importing avx core. You may not build with AVX, '
'WARNING: Can not import avx core. You may not build with AVX, '
'but AVX is supported on local machine, you could build paddle '
'WITH_AVX=ON to get better performance. ')
load_noavx = True
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册