Skip to content

Commit d412c72

Browse files
committed
small fix
1 parent f02981b commit d412c72

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/legacy_test/op_test.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2909,13 +2909,13 @@ def _get_places(self):
29092909
return [place]
29102910
else:
29112911
return []
2912-
elif is_custom_device():
2913-
dev_type = paddle.device.get_all_custom_device_type()[0]
2914-
place = core.CustomPlace(dev_type, 0)
2915-
if core.is_float16_supported(place):
2916-
return [place]
2917-
else:
2918-
return []
2912+
# elif is_custom_device():
2913+
# dev_type = paddle.device.get_all_custom_device_type()[0]
2914+
# place = core.CustomPlace(dev_type, 0)
2915+
# if core.is_float16_supported(place):
2916+
# return [place]
2917+
# else:
2918+
# return []
29192919
else:
29202920
return []
29212921
places = []

0 commit comments

Comments
 (0)