Skip to content

Commit

Permalink
[CustomDevice] Disable custom device by default on GPU/XPU (PaddlePad…
Browse files Browse the repository at this point in the history
  • Loading branch information
ronny1996 authored and bukejiyu committed May 22, 2023
1 parent fffce15 commit 322d9f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,11 @@ endif()

if(LINUX
AND NOT WITH_CUSTOM_DEVICE
AND NOT WITH_GPU
AND NOT WITH_ROCM
AND NOT WITH_XPU
AND NOT WITH_XPU_KP
AND NOT WITH_XPU_XFT
AND WITH_PYTHON)
set(WITH_CUSTOM_DEVICE
ON
Expand Down

0 comments on commit 322d9f4

Please sign in to comment.