diff --git a/paddle/phi/core/flags.cc b/paddle/phi/core/flags.cc index 8b5a78575d220d7d04c7f1046237d79053f8cb30..526457499c8844ddca40587eaba2ffa7d3202896 100644 --- a/paddle/phi/core/flags.cc +++ b/paddle/phi/core/flags.cc @@ -146,17 +146,17 @@ PADDLE_DEFINE_EXPORTED_bool( * CUDA related related FLAG * Name: FLAGS_gemm_use_half_precision_compute_type * Since Version: 2.4 - * Value Range: bool, default=true + * Value Range: bool, default=false * Example: * Note: whether to use fp16 compute type when the input and output is fp16, * faster but it may loss precision. */ PADDLE_DEFINE_EXPORTED_bool( gemm_use_half_precision_compute_type, - true, + false, "Whether to use fp16 compute type when the input and output is fp16, " "faster but it may loss precision in most case. If true, the compute " - "type will be set to fp32. Default is true."); + "type will be set to fp16. Default is false."); /** * CUDA related FLAG