Skip to content

Commit 53f26ca

Browse files
authored
remove fluid (#8631)
1 parent e717deb commit 53f26ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/pipeline/ppvehicle/vehicle_plateutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def get_infer_gpuid():
200200
if sysstr == "Windows":
201201
return 0
202202

203-
if not paddle.fluid.core.is_compiled_with_rocm():
203+
if not paddle.device.is_compiled_with_rocm():
204204
cmd = "env | grep CUDA_VISIBLE_DEVICES"
205205
else:
206206
cmd = "env | grep HIP_VISIBLE_DEVICES"

0 commit comments

Comments
 (0)