| 244 | } |
| 245 | #ifdef ENABLE_BF16 |
| 246 | else if (std::is_same<T, __nv_bfloat16>::value) { |
| 247 | threshold = 5e-2; |
| 248 | } |
| 249 | #endif |
| 250 | else { |
| 251 | FT_LOG_ERROR("data_type should be fp32, fp16 or bf16!"); |
nothing calls this directly
no outgoing calls
no test coverage detected