未验证 提交 ee605673 编写于 作者: J Jiabin Yang 提交者: GitHub

support dcu in eager (#43371)

上级 a0d0bb63
......@@ -178,8 +178,7 @@ def _fallback_legacy_dygraph():
need_fallback = False
# Only enable eager on CPU/GPU
is_not_support = core.is_compiled_with_xpu() or core.is_compiled_with_npu(
) or core.is_compiled_with_ipu() or core.is_compiled_with_mlu(
) or core.is_compiled_with_rocm()
) or core.is_compiled_with_ipu() or core.is_compiled_with_mlu()
if _in_eager_mode_ and is_not_support:
# switch into legacy dygraph mode
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册