MIOpen icon indicating copy to clipboard operation
MIOpen copied to clipboard

Issue with int8 datatype for miopenBatchNormalizationForwardInference

Open RambabuSwargam opened this issue 2 years ago • 1 comments

For int8 inference case we are facing some issues and we tried to confirm with the reproducer. And we checked with different combinations, all are passing in the float32 cases and for int8 some are giving core dump and some are failing. Attached the examples for float32 and int8 and also the results.

Could some one help us regarding this, what could be the issue in the example and is there any limitations with int8 datatype

And is NHWC format is supported for miopenBatchNormalizationForwardInference and miopenBatchNormalizationForwardTraining ?

Note : Compilation command: clang++ <filename.cpp> -I/opt/rocm/include -L/opt/rocm/lib -D__HIP_PLATFORM_HCC__= -D__HIP_PLATFORM_AMD__= -I/opt/rocm/hip/include -I/opt/rocm/llvm/bin/../lib/clang/14.0.0 -I/opt/rocm/hsa/include -L/opt/rocm/rocblas/lib -lMIOpen -lamdhip64 -v -lrocblas

s8IssueCase.log f32Case.log FWD_Inference_f32Pass_Code.txt

FWD_Inference_s8_CoreFailCaes_Code.txt

Attached code files in .txt since here it not allowing to attach cpp file.

RambabuSwargam avatar Mar 03 '23 07:03 RambabuSwargam