未验证 提交 94965806 编写于 作者: Y Yu Yang 提交者: GitHub

Merge pull request #8002 from reyoung/feature/fix_ci_error

Fix CI Error
......@@ -228,7 +228,7 @@ class TestLayerNormdOp(OpTest):
place)
places = [core.CPUPlace()]
if core.is_compile_gpu() and core.op_support_gpu("layer_norm"):
if core.is_compiled_with_cuda() and core.op_support_gpu("layer_norm"):
places.append(core.CUDAPlace(0))
for place in places:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册