提交 e3b0af43 编写于 作者: Y Yang Yu

Fix CI Error

上级 adf14b0c
...@@ -228,7 +228,7 @@ class TestLayerNormdOp(OpTest): ...@@ -228,7 +228,7 @@ class TestLayerNormdOp(OpTest):
place) place)
places = [core.CPUPlace()] 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)) places.append(core.CUDAPlace(0))
for place in places: for place in places:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册