Skip to content

Commit

Permalink
remove fluid (#8630)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrywgz authored Sep 15, 2023
1 parent 6504ef7 commit bb0a42e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/pipeline/ppvehicle/vehicle_plateutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def get_infer_gpuid():
if sysstr == "Windows":
return 0

if not paddle.fluid.core.is_compiled_with_rocm():
if not paddle.device.is_compiled_with_rocm():
cmd = "env | grep CUDA_VISIBLE_DEVICES"
else:
cmd = "env | grep HIP_VISIBLE_DEVICES"
Expand Down

0 comments on commit bb0a42e

Please sign in to comment.