Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.
This repository was archived by the owner on May 3, 2024. It is now read-only.

test_all.testbin failed on ThresholdLayerTest & RNNLayerTest #19

@dhzhd1

Description

@dhzhd1

Issue summary

After run the ./build/test/test_all.testbin, below test items failed:

  1. ThresholdLayerTest/3.Test
    Error Message:
    src/caffe/test/test_threshold_layer.cpp:67: Failure
    Expected: (bottom_data[i]) > (threshold_), actual: -0.635736 vs 0
    src/caffe/test/test_threshold_layer.cpp:67: Failure
    Expected: (bottom_data[i]) > (threshold_), actual: -0.363372 vs 0
    src/caffe/test/test_threshold_layer.cpp:64: Failure
    ......

  2. RNNLayerTest/2.TestForward
    Error Message:
    src/caffe/test/test_rnn_layer.cpp:156: Failure
    Expected: (this->blob_top_.cpu_data()[i]) != (top_copy.cpu_data()[t * top_count + i]), actual: -0 vs -0 t = 1; i = 0
    src/caffe/test/test_rnn_layer.cpp:156: Failure
    Expected: (this->blob_top_.cpu_data()[i]) != (top_copy.cpu_data()[t * top_count + i]), actual: -0 vs -0 t = 1; i = 1
    src/caffe/test/test_rnn_layer.cpp:156: Failure
    Expected: (this->blob_top_.cpu_data()[i]) != (top_copy.cpu_data()[t * top_count + i]), actual: 0 vs 0 t = 1; i = 2
    ......

  3. RNNLayerTest/2.TestGradient
    Error Message:
    ./include/caffe/test/test_gradient_check_util.hpp:175: Failure
    The difference between computed_gradient and estimated_gradient is 0.37764036655426025, which exceeds threshold_ * scale, where computed_gradient evaluates to -0.37764036655426025, estimated_gradient evaluates to 0, and threshold_ * scale evaluates to 0.0010000000474974513.
    debug: (top_id, top_data_id, blob_id, feat_id)=0,0,0,0; feat = 0.24414941668510437; objective+ = -0; objective- = -0
    ... ...

  4. RNNLayerTest/2.TestGradientNonZeroCont
    Error Message:
    ./include/caffe/test/test_gradient_check_util.hpp:175: Failure
    The difference between computed_gradient and estimated_gradient is 0.37112760543823242, which exceeds threshold_ * scale, where computed_gradient evaluates to 0.37112760543823242, estimated_gradient evaluates to 0, and threshold_ * scale evaluates to 0.0010000000474974513.
    debug: (top_id, top_data_id, blob_id, feat_id)=0,0,0,0; feat = -0.18513253331184387; objective+ = -0; objective- = -0
    ... ....

  5. RNNLayerTest/2.TestGradientNonZeroContBufferSize2
    Error Message:
    ./include/caffe/test/test_gradient_check_util.hpp:175: Failure
    The difference between computed_gradient and estimated_gradient is 0.14533787965774536, which exceeds threshold_ * scale, where computed_gradient evaluates to -0.14533787965774536, estimated_gradient evaluates to 0, and threshold_ * scale evaluates to 0.0010000000474974513.
    debug: (top_id, top_data_id, blob_id, feat_id)=0,0,0,0; feat = -0.17294931411743164; objective+ = 0; objective- = 0
    ... ...

  6. RNNLayerTest/2.TestGradientNonZeroContBufferSize2WithStaticInput
    Error Message:
    ./include/caffe/test/test_gradient_check_util.hpp:175: Failure
    The difference between computed_gradient and estimated_gradient is 0.14564625918865204, which exceeds threshold_ * scale, where computed_gradient evaluates to 0.14564625918865204, estimated_gradient evaluates to 0, and threshold_ * scale evaluates to 0.0010000000474974513.
    debug: (top_id, top_data_id, blob_id, feat_id)=0,0,0,0; feat = 0.20095519721508026; objective+ = -0; objective- = -0
    ... ...

  7. RNNLayerTest/3.TestForward
    Error Message:
    MIOpen Error: /data/repo/MIOpen/src/ocl/activ_ocl.cpp:45: Only alpha=1 and beta=0 is supported

Steps to reproduce

According to the README.ROCm.md build the test_all.testbin. All of the prerequired packages has been install. The LD_LIBRARY_PATH and PATH has been setup.

Your system configuration

GPU: AMD MI25
Operating system: Ubuntu 16.04.3 64bit
Compiler: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)
CUDA version (if applicable):
CUDNN version (if applicable):
BLAS: USE_ROCBLAS := 1
Python or MATLAB version (for pycaffe and matcaffe respectively): python 2.7.12
Other:
miopen-hip 1.1.4
miopengemm 1.1.5
rocm-libs 1.6.180

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions