- 08 Oct, 2021 1 commit
-
-
Shucai Xiao authored
This PR is for the nonzero operator with static output shape. Co-authored-by:
Paul Fultz II <pfultz2@yahoo.com> Co-authored-by:
mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 01 Oct, 2021 1 commit
-
-
turneram authored
Add multinomial op to onnx parser with ref and GPU implementations. The onnx parser inserts a literal of shape {batch_size, sample_size} with random values in the range [0, 1) and inserts existing ops to compute the cumulative density function. The multinomial operator multiplies the random values by the sum of the CDF and returns the index of the first element of the CDF that is greater than the result, representing samples randomly drawn from [0, class_size) that follow the log-probability distribution. Resolves #821 Co-authored-by:Shucai Xiao <shucai@gmail.com>
-
- 29 Sep, 2021 1 commit
-
-
Cagri Eryilmaz authored
Supports 1,11,13 ONNX Operator Set
-
- 10 Sep, 2021 1 commit
-
-
turneram authored
Add ability to parse ThresholdedRelu ONNX operator. Resolves #888 Co-authored-by:Shucai Xiao <shucai@gmail.com>
-
- 02 Sep, 2021 1 commit
-
-
Shucai Xiao authored
* add topk operator doe ref, cpu and gpu * Hash modules for quicker lookup of modules * add onnx unit test * add unit tests for the topk operator Co-authored-by:
Paul <pfultz2@yahoo.com> Co-authored-by:
mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 04 Aug, 2021 1 commit
-
-
Paul Fultz II authored
* Add pyflakes to CI * Remove unused imports
-
- 12 Jul, 2021 1 commit
-
-
Shucai Xiao authored
Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 25 Jun, 2021 1 commit
-
-
Shucai Xiao authored
-
- 23 Apr, 2021 1 commit
-
-
Shucai Xiao authored
* add support for axes inputs for sequeeze/unsqueeze/reduce_sum * clang format * fix build problems * backup code changes * clang format * fix a bug in parsing quantizelinear operator * clang format * fix a cppcheck error * disable different versions of unit tests for different onnx version * clang format * upgrade onnx to 1.8 * update onnx to 1.8.1 * disable two more real models * clang format * fix review comments * fix the function of assign axes in parsing the squeeze operator * add unit tests and fix a bug * clang format * fix review comments * clang format * fix a build error * backup code changes * clang format * add more unit tests and add parsing opset version * clang format * fix cppcheck error * adding installing the onnx package * resolve no protobuf compiler * fix cppcheck error * add unit tests for more code coverage * clang format * try a comment in jenkins build * include the install onnnx line * code backup * reorder the dependenciesd installed * refine dockerfile * fix review comments * clang format Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 05 Apr, 2021 1 commit
-
-
Shucai Xiao authored
* code cleanup * clang format * backup code * clang format * remove unnecessary code * clang format * add module print function * code backup * refine the module::print function * refine the module:to_value() function * code backup * backup code changes * code backup * remove to_value and from_value function from the module class * rename a function * rename the if operator * refine the if operator * refine the print function of module and program * code backup * code backup * fix a build warning * fix overload of compute_shape function * code backup * fix unit test error * fix cppcheck error * fix the issue related to the overload of compute_shape * fix review comments * fix cppcheck error * change the return name of if_op to be if * clang format * fix two unit tests * clang format * rename variables * clang format * remove the unused compute_op function * clang format * add lowering of if operator and compute_op function * clang format * add parsing if operator in onnx file * clang format * fix clang tidy format * clang format * add the gpu implementation of the if operator * enhance the validate function and uncomment a unit test * clang format * remove unnecessary code * add sub_module processing in ref passes * clang format * clang format * fix a hang issue related to the valid function * fix an issue in replace_refs * clang format * fix review comments * clang format * fix cppcheck error * clang format * add a unit test for more code coverage * clang format * fix review comments and add test for more code coverage * clang format * fix cppcheck error * clang format * fix cppcheck error * fix a cppcheck error * clang format * backup code * clang format * fix cppcheck error * clang format * some code refinement * clang format * code backup to handle submodules in module compilation * clang format * code backup * clang format * code backup * clang format * fix a bug related to literal id * fix a bug in gpu execution * change the way of compiling a graph * clang format * backup more changes * clang format * refine pass log information * remove unnecessary code * clang format * temp changes backup * clang format * add module name prefix to scratch memory id in hip_memory_allocation * clang format * change to copy the cond input by inserting a copy instruction * clang format * change to use the if output argument as the submodule output so can remove a gpu_copy * clang format * consider submodule in some compile passes * clang format * fix review comments * clang format * fix issues related to scratch memory * clang format * remove unnecessary code * fix cppcheck error * clang format * reslove the implicit dependencies issue related to submodule * clang format * fix cppcheck error * clang format * backup temp changes * clang format * fixed an bug in the has_instruction function * clang format * fix the return value of the gpu implementation of the if operator * fix a bug in the compute_shape function in the gpu implementation * add an if onnx unit test * clang format * add more unit tests * clang format * tmp code backup * clang format * fix a sync problem related to copy cond argument from gpu to cpu * clang format * change the compile offload copy flag setting * clang format * enable copy from cpu to be able to do synchronous copy * clang format * add more unit tests * add more unit tests * add more ref unit tests * clang format * fixed a bug error * tmp code backup * clang format * fixed an onnx verify unit test * add more unit tests * clang format * reverse a change * fix cppcheck error * fix cppcheck error * fix to print all instructions in program execution * clang format * fix bugs related to memory coloring and offload copy to be true * clang format * remove unnecessary include header file * sort test cases in ref_cpu_ops alphabetically * clang format * add a flag to disable cpu target in verification test * change the way to disable some tests * clang format * disable verify unit test of the if operators * add a function call to have more code coverage * fix a build error * fix review comments * fix review comments * clang format * add a api gpu unit test for more code coverage * clang format * change to use instruction.size() as node index * move the calc_implicit_deps function to module class as a member function * clang format * move the offload_copy flag setting to lowering * clang format * assign the module_eval lambda function to a variable to simplify code * clang format * move the compute function from ref/gpu implementation to the main if operator * clang format * fix cpp check error * add a unit test for more code coverage * clang format * add unit test to calculate implicit deps * add a python unit test * clang format * refine a unit test to have more code coverage * clang format * chang the way of wrap up arguments for sub modules * clang format * fix some build errors * code cleanup * refine unit tests to have more code coverage * clang format * refine unit test to have more code coverage * code backup * clang format * add memory coloring test * refine memory coloring unit test * clang format * remove an unnecessary line * remove an unused line * remove an unnecessary parameter in the lambda function * clang format * refine a unit test * remove an unnecessary line * refine unit tests to have more code coverage * clang format * combine two lines * add one more unit test for more code coverage * clang format * add one more unit test * clang format * fix review comments * refine a print out information * fix review comments * clang format * change the sync copy to using a gpu device sync * clang format * remove unnecessary code Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 26 Feb, 2021 1 commit
-
-
Shucai Xiao authored
* if operator support with constant condition input * clang format * add a missing file * clang format * add an onnx verifcation unit test for the if operator * clang format' * fix review comments * temp version to try jenkin build * remove unnecessary changes * unit tests refinement for more code coverage * clang format * try a mutex to fix possible race condition in onnxruntime tests * tmp changes to try jenkins build * remove unnecessary code * fix review comments Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 19 Jan, 2021 1 commit
-
-
Shucai Xiao authored
* add the and operator * clang format * add unit tests for the and operator * clang format * change the and name to logical_and and add the logical_or, logical_xor * clang format * add onnx unit tests for or and xor * add more unit tests
-
- 13 Jan, 2021 1 commit
-
-
kahmed10 authored
* initial testing * initial testing * add dequantize * formatting * add tests * formatting * revert file * add parse files * formatting * add axis tuning and fix tests * formatting * add tests and fix int8 * formatting * fix tidy * test with int32 * add default name and change string to upper * formatting * remove boost call
-
- 08 Jan, 2021 1 commit
-
-
Shucai Xiao authored
* add support of the different input data_type for the pow operator * clang format * fix cppcheck error * clang format * add unit test for the pow operator with different input data types * clang format * remove unnecessary comments * fix review comments * clang format * fix a issue related to hash table key type * clang format Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 25 Nov, 2020 1 commit
-
-
Paul Fultz II authored
* Fix issue with module wrapper * Formatting * Remove custom build of python 3.6 * Fix print function in tests * Formatting * Install onnx * Download the models * Add gcc 5 * Boost time limit for now * Try to use oauth instead of app * Disable all warnings
-
- 05 Nov, 2020 1 commit
-
-
Shucai Xiao authored
* add an api get_main_module * clang format * modify onnx unit test for module * clang format * refactor ops unit test with the get_main_module * clang format * code backup * clang format * refine module c api * add python api for module * clang format * fix a python api issue * clang format * fix cppcheck error * clang format * refine unit tests changes * clang format * defer some changes to later PRs * change return of get_main_module from ref to pointer * clang format * add unit tests for the get_main_module_api * clang format * fix cppcheck error * clang format * add more unit tests for more code change coverage * clang format * fix unit test * clang format * code change for more code coverage * Add option to no generate a destroy method * Formatting * fix some review comments * clang format * fix review comments * clang format * clang format Co-authored-by:Paul <pfultz2@yahoo.com>
-
- 04 Nov, 2020 1 commit
-
-
Paul Fultz II authored
* Add all_targets cmake target * Rename target * Add ref target * Rename tests * Refactor compiler target * Formatting * Verify for every target * Formatting * Add verify test suite * Formatting * Add initial test programs * Formatting * Add rnn tests * Formatting * Validate gpu * Formatting * Remove old gpu tests * Fix gpu tests * Fix ref error * Fix tidy issues * Formatting * Tidy fixes * Fix header in python api * Rename to ref * Use ref in verify_onnx * Fix tidy issue * Build with verbose on * Fix typo * Remove verbose * rename some cpu prefix to ref Co-authored-by:Shucai Xiao <Shucai.Xiao@amd.com>
-
- 22 Oct, 2020 1 commit
-
-
Paul Fultz II authored
* Target multiple python versions * Fix overriding c++ standard * Add a cmake module for python * Remove python 3 stage * Suppress warnings * Formatting Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 19 Oct, 2020 1 commit
-
-
Shucai Xiao authored
* code backup * clang format * add the python api for op construction * clang format * add converting a json string to a value and then pass to make_op * fix a build error * support kwargs decoder * clang format * code backup * clang format * temp code backup * clang format * temp code backup * convert input string to the json format * clang format * remove unnecessary code * fix review comments * clang format * add a comment * add unit tests * clang format * fix cppcheck error * fix review comments * clang format * rename two files * refine an error report * clang format * remove unnecessary code * fix a review comments * add convert_to_json unit tests * clang format * fix cppcheck error * fix cppcheck error * add more unit tests * clang format * fix clang tidy error * clang format * fixed an test failure * fix cppcheck error * fix a bug * fix cppcheck error * fix jenkins build error * fix a jenkin build error by wrap up string * clang format * another try * clang format * fix jenkins build error * clang format * remove unnecessary code * fix review comments * fix cppcheck error * fix review comments Co-authored-by:Paul Fultz II <pfultz2@yahoo.com>
-
- 15 Oct, 2020 1 commit
-
-
turneram authored
* Added greater and less operators * Fixed ops_test.cpp * Set commutative to false for less, greater * Refactored parse_equal/less/greater into parse_compare_op * Removed unnecessary function attributes() from greater.hpp/less.hpp * Added op_name arguments * Removed local settings * Formatting * Missing comma * Formatting * Formatting * Formatting * Formatting * Formatting * Missing space Co-authored-by:Paul Fultz II <pfultz2@yahoo.com>
-
- 25 Sep, 2020 1 commit
-
-
Shucai Xiao authored
* code backup * clang format * support for sele operator * clang format * added an onnx unit test for selu * clang format * add more unit tests for the selu operation Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 21 Sep, 2020 2 commits
-
-
Paul Fultz II authored
* Take numpy array directly in python API * Formatting * Intialize program parameters from initializer list * Formatting Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
Shucai Xiao authored
* turn on the alexnet unit tests through downloading the real model in dockerfile * clang format * refine home directory * enable all real model unit tests * clang format * fix review comments and disable incorrect test cases * clang format * increase timeout value to avoid time out * turn on one more test * disable one more real model unit test * fix review comments * remove unnecessary comment lines * clang format * fix review comments * print out program info when there is an error * clang format * redirect c++ stdout to sys.stdout of python for python api * clang format * two minor issues * fix a cppcheck error * fix review comments * clang format * remove unnecessary changes * refine script
-
- 14 Sep, 2020 1 commit
-
-
Shucai Xiao authored
* add the where operator * clang format * add where unit tests * add where op unit test * clang format * add more unit tests for the where op * clang format * Add support for constructing value from enum * Formatting * add an comment about the algorithm * call make_op to create the convert instruction Co-authored-by:Paul <pfultz2@yahoo.com>
-
- 10 Sep, 2020 1 commit
-
-
Paul Fultz II authored
* Add save/load functions * Formatting * Add loading and saving to the driver * Formatting * Add return * Serialize the context with the program * Formatting * Add python API * Formatting * Add c/c++ apis * Formatting * Add tests * Formatting * Fix tidy error * Fix python doc * Restore python code * Add function name to errors * Formatting * Use lvalue for writing * Serialize context * Fix convolution and pooling operator for miopen * Formatting * Add const ref * Set target name to gpu * Add target tests * Formatting * Move register target to cpp file * Fix target test * Use make_target in driver * Formatting * Use make_target for the API * Formatting * Add cpu include * Increase timeout * Add more tests * Formatting Co-authored-by:
Shucai Xiao <shucai.xiao@amd.com> Co-authored-by:
mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 09 Sep, 2020 1 commit
-
-
Shucai Xiao authored
* add support for latest dropout version * clang format * fix a build error * fix a cppcheck error * add bool type * code backup * code backup * clang format * fix build warnings * clang format * add the equal operator * add the equal operator * clang format * remove unnecessary code * refine unit tests * clang format * fix review comments and a bug * clang format * additional changes * clang format * remove unnecessary changes * remove unnecessary changes Co-authored-by:Paul Fultz II <pfultz2@yahoo.com>
-
- 01 Sep, 2020 1 commit
-
-
Shucai Xiao authored
* fix a bug in parsing clip * clang format * add unit tests * clang format
-
- 31 Aug, 2020 2 commits
-
-
Shucai Xiao authored
* not refect activation desriptor for some mipen operators * clang format
-
Shucai Xiao authored
* support pooling ceil_mode * clang format * add unit test for pooling ceil mode * clang format * fix review comments * clang format * add more unit tests and fixed a bug in cpu pooling implementation * clang format * add one more unit test * clang format * fix cppcheck error * fix cppcheck error * fix cppcheck error * fix review comments * clang format * remove the padding_mode attribute in pooling * clang format * clang format * fix review comments * clang format * fix a cppcheck error * fix review comments Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 28 Aug, 2020 1 commit
-
-
Shucai Xiao authored
* add bool type * code backup * code backup * clang format * fix build warnings * clang format * add the equal operator * add the equal operator * clang format * remove unnecessary code * refine unit tests * clang format * fix review comments and a bug * clang format * additional changes * clang format * fix cppcheck error * add bool type in c api * fix cppcheck error * fix review comments * fix cppcheck error * fix a build error related to gcc * fix cppcheck error * fix cppcheck error * added the equal operator to register list * add parsing boolean type * clang format * fix bool type issue for python output * clang format * add support for automatic multibroadcast of the equal operator * additional unit tests for more code coverage * clang format * missing an onnx file * code cleanup * clang format * fix issue of int64 data type in python api * clang format * include more onnx backend unit tests * add more unit tests to cover code changes * clang format * disable python tests for python2.7 * code backup for python half type support * clang format * code change to support half data type in python * add a unit test for python half type * clang format * add more unit tests for more code coverage * clang format * add more unit tests for more code coverage * clang format * refine unit tests to have more code coverage * clang format * update python unit test * revert to a previous version of test_gpu.py
-
- 27 Aug, 2020 1 commit
-
-
Shucai Xiao authored
* add bool type * code backup * code backup * clang format * fix build warnings * clang format * add the equal operator * add the equal operator * clang format * remove unnecessary code * refine unit tests * clang format * fix review comments and a bug * clang format * additional changes * clang format * fix cppcheck error * add bool type in c api * fix cppcheck error * fix review comments * fix cppcheck error * fix a build error related to gcc * fix cppcheck error * fix cppcheck error * added the equal operator to register list * add parsing boolean type * clang format * fix bool type issue for python output * clang format * add support for automatic multibroadcast of the equal operator * additional unit tests for more code coverage * clang format * missing an onnx file Co-authored-by:Paul Fultz II <pfultz2@yahoo.com>
-
- 13 Aug, 2020 1 commit
-
-
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:
Khalique <15948690+kahmed10@users.noreply.github.com> Co-authored-by:
mvermeulen <5479696+mvermeulen@users.noreply.github.com> Co-authored-by:
Paul Fultz II <pfultz2@yahoo.com>
-
- 05 May, 2020 1 commit
-
-
Shucai Xiao authored
* python api support scalar argument * clang format * add unit test for the scalar type * clang format * update to include numpy * fix package issue * fix package issue * fixed review comments * resolve review comments * remove unnecessary changes * refine a unit test for beter coverage * clang format * refine unit tests to cover code change * clang format * change unit test * refine tests * refine unit test * clang format * refine unit test * fix a dockerfile error * fix bug * scalar shape support in c++ api * clang format * fix cppcheck error * fix possible errors * clang format Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 15 Feb, 2020 1 commit
-
-
Shucai Xiao authored
* Add initial api * Formatting * Add more api * Formatting * Add auto api generation * Formatting * Fix some compilation errors * Change handle struct * Formatting * Fix reamining compilation errors * Formatting * Simplify using ctype * Formatting * Initial c++ generation * Formatting * Add C++header * Formatting * Add test * Formatting * Add initial tests * Formatting * Try to fix formatting * Cleanup formatting * Formatting * Fix constructors on the same line * Fix tests * Formatting * Fix tidy issues * Fix tidy issues * Fix naming issue * Add onnx API to parse buffer * Formatting * Add arguments api * Formatting * Fix verify parameters * Fix cppcheck issues * Formatting * Add method to get output shapes and bytes * Formatting * Try formatting * Formatting * Improve the test coverage * Formatting * Add print method * Formatting * Fix cppcheck issue * Fix package dependency * change migraphx api to support multiple program outputs * clang format * change api implementation * clang format * fix a build error * change api for correct automatic generation * clang format * Add nolint * Try fix formatting * Formatting * formatting * formatting * Fix formatting * code cleanup * clang format * fix cppcheck error * fix review comments * clang format Co-authored-by:
Paul Fultz II <pfultz2@yahoo.com> Co-authored-by:
kahmed10 <15948690+kahmed10@users.noreply.github.com>
-
- 15 Nov, 2019 1 commit
-
-
Paul Fultz II authored
* Add compiler options * Add copy operators * Formatting * Use run_passes in tests * Formatting * Use run_pass in schedule test * Formatting * Add compile_options to get_passes in target * Formatting * Offload copy option * Formatting * Copy using pinned memory * Formatting * Improve performance of gpu copying * Formatting * Dont copy * Formatting * Always make an extra copy * Formatting * Remove unused write op * Add missing include * Remove copy_to_gpu function in python api * Make offload copy disabled by default on C++ * Formatting * Fix tidy issues * Formatting * Fix namespace * Fix python tests * Turn clang format off since its broken * Fix compile error on gcc 5 * Remove commented code
-
- 02 Oct, 2019 1 commit
-
-
kahmed10 authored
* test hook * test hook * test hook * test hook * test hook * test hook * test hook * test hook * test hook * test hook * test hook * test hook * test hook * test hook * test hook * test hook * test hook * test hook * test hook * test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook * # This is a combination of 3 commits. # The first commit's message is: # This is a combination of 2 commits. # The first commit's message is: test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook test hook # This is the 2nd commit message: test hook # This is the 2nd commit message: test hook # This is the 3rd commit message: test hook * fix format * fix format * ignore doc dir * fix regex * fix jenkins error * exclude another dir * formatting test_array * fix version of yapf * test hook * formatting * reinclude dirs
-
- 23 Aug, 2019 1 commit
-
-
Khalique authored
-
- 20 Feb, 2019 1 commit
-
-
Paul authored
-
- 19 Feb, 2019 2 commits