File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
transformer_engine/common/cast/nvfp4 Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,6 @@ __device__ __forceinline__ nvfp4_scale_t compute_decoding_scaling_factor(const f
5050 const float S_dec_b = block_amax / fp4_max * S_enc;
5151 return static_cast <nvfp4_scale_t >(fminf (S_dec_b, TypeExtrema<float >::max));
5252}
53- #else
54- NVTE_ERROR (" FP4 support requires CUDA 12.8+, but compile-time CUDA version is " , CUDA_VERSION);
5553#endif // FP4_TYPE_SUPPORTED
5654} // namespace quantization_and_transposition_SF
5755
@@ -67,8 +65,6 @@ __device__ __forceinline__ fp8e4m3 compute_decoding_scaling_factor(const float b
6765 // return S_dec_b_fp8;
6866 return static_cast <fp8e4m3>(block_amax * rcp_6f * S_enc);
6967}
70- #else
71- NVTE_ERROR (" FP4 support requires CUDA 12.8+, but compile-time CUDA version is " , CUDA_VERSION);
7268#endif // FP4_TYPE_SUPPORTED
7369} // namespace quantization_SF
7470
You can’t perform that action at this time.
0 commit comments