• Shucai Xiao's avatar
    integrate onnx backend test suit to migraphx (#574) · d612e976
    Shucai Xiao authored
    
    
    * initial progress
    
    * formatting
    
    * add pooling changes
    
    * formatting
    
    * change eliminate_pad
    
    * formatting
    
    * rename var
    
    * fomratting
    
    * update op shape test and compute
    
    * formatting
    
    * revert conv constructor
    
    * formatting
    
    * change initializer
    
    * formatting
    
    * fix tidy
    
    * change quant conv and shape check
    
    * add tests and fixes
    
    * formatting
    
    * fix type
    
    * fix conv test
    
    * formatting
    
    * add pooling and bn tests
    
    * formatting
    
    * add inconsistent attr tests
    
    * fix padding issue
    
    * formatting
    
    * progress on 1d to 2d
    
    * formatting
    
    * change compute and compile functions
    
    * formatting
    
    * fix duplicate
    
    * fix conflict
    
    * fix issue with 1d conv
    
    * formatting
    
    * add check for 3d limit
    
    * rename function
    
    * formatting
    
    * update to MIOPen 2.3
    
    * add support for nd pooling
    
    * formatting
    
    * test miopen 2.4
    
    * change function name
    
    * rename functions
    
    * formatting
    
    * add op_shape test
    
    * add gpu ops tests
    
    * formatting
    
    * initial progress
    
    * formatting
    
    * add pkg-config
    
    * add to support asymmetric padding of averagepool
    
    * clang format
    
    * fix bug for average pooling
    
    * clang format
    
    * fix a bug
    
    * add unit tests for the asymmetric padding of averagepool
    
    * clang format
    
    * change functions
    
    * formatting
    
    * additional code refinement
    
    * clang format
    
    * check existing tests
    
    * formatting
    
    * change to copy_backward
    
    * formatting
    
    * change for loop to transform
    
    * formatting
    
    * add tests
    
    * formatting
    
    * remove comment
    
    * add more tests
    
    * remove an optimization for pooling
    
    * clang format
    
    * add and fix unit tests
    
    * clang format
    
    * update gpu miopen calls
    
    * formatting
    
    * initial progress
    
    * add cpu impl and tests
    
    * formatting
    
    * add NOLINT
    
    * add 3d test
    
    * formatting
    
    * add more op_shape tests
    
    * test diff miopen version
    
    * add submodule onnx
    
    * add pooling shape tests
    
    * fix error msg
    
    * add onnx_test_backend
    
    * reorganize python code
    
    * temp disable test
    
    * fix cppcheck error
    
    * fix cppcheck error
    
    * code backup
    
    * add support device choice
    
    * refine onnx backend test
    
    * revert to miopen 2.4
    
    * fix review comments
    
    * fix review comments
    
    * clang format
    
    * fixed review comments
    
    * clang format
    
    * fix cppcheck error
    
    * copy onnx_backend_test to dest when building
    
    * add testdata folder
    
    * fix bounds
    
    * formatting
    
    * code backup
    
    * code backup
    
    * remove unnecessary file
    
    * fix various bugs
    
    * remove unnecessary changes
    
    * remove unnecessary submodule
    
    * remove unnecessary lines
    
    * fix algorithm
    
    * formatting
    
    * refine onnx backend unit tests
    
    * pin numpy version
    
    * fix build issue
    
    * fixed a filename to be copied
    
    * add the onnx dependency in docker image
    
    * ensure results are copied back correctly
    
    * specify onnx version
    
    * update excluded tests
    
    * remove unnecessary log info
    
    * turn on more unit tests
    
    * restrict onnx backend test to python 3.x
    
    * clang format
    
    * refine retrieving the input parameters
    
    * clang format
    
    * fix program input parameter names
    
    * clang format
    
    * avoid running onnx test in python 2.x
    
    * fix cppcheck error
    
    * fix python2.7 backend unit tests error
    
    * clang format
    
    * resolve the issue of ensure data copy to be completed
    
    * clang format
    
    * fix review comments
    
    * fix onnx backend unit test error
    
    * another change to make onnx backend test pass
    
    * clang format
    
    * fix onnx backend test error
    
    * clang format
    
    * disable onnx backend test to try
    
    * build try
    
    * update Dockerfile to try onnx backend test
    
    * remove unnecessary code
    
    * fix a bug in copying program
    
    * clang format
    
    * update dockerfile to include onnx
    
    * fix review comments
    
    * add the pytest module to the container
    
    * exclude real model to avoid to be downloaded
    
    * resolve the sync device for data copy from gpu to cpu
    
    * clang format
    
    * fix review comments
    
    * clang format
    
    * move sync_device after memory_coloring
    Co-authored-by: default avatarKhalique <15948690+kahmed10@users.noreply.github.com>
    Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
    Co-authored-by: default avatarPaul Fultz II <pfultz2@yahoo.com>
    d612e976
program_test.cpp 3.21 KB