1. 17 Apr, 2023 5 commits
  2. 13 Apr, 2023 1 commit
  3. 12 Apr, 2023 3 commits
  4. 11 Apr, 2023 3 commits
  5. 10 Apr, 2023 3 commits
  6. 09 Apr, 2023 1 commit
  7. 07 Apr, 2023 1 commit
  8. 06 Apr, 2023 2 commits
    • Charlie Lin's avatar
      Driver dynamic batch update (#1652) · adccec52
      Charlie Lin authored
      Examples..
      
      bin/driver verify /codes/onnx_models/resnet50-v1-7/resnet50-v1-7.onnx --split-single-dyn-dim --batch 3 --dyn-input-dim @data "[{min:1, max:4}, 3, 224, 224]"
      
      bin/driver compile /codes/onnx_models/resnet50-v1-7/resnet50-v1-7.onnx --split-single-dyn-dim --default-dyn-dim "{min:1, max:10}" --output resnet50_batch1-10.mxr
      
      bin/driver perf resnet50_batch1-10.mxr --batch 4
      adccec52
    • Paul Fultz II's avatar
      Add reduction fusion (#1614) · f201285c
      Paul Fultz II authored
      Automatically fuse multiple reductions and pointwise operations.
      f201285c
  9. 05 Apr, 2023 3 commits
  10. 04 Apr, 2023 2 commits
    • shivadbhavsar's avatar
      fix bug in transpose_slice simplification (#1660) · 30af1697
      shivadbhavsar authored
      Bug found due to failing torch benchmark. Added test case to reproduce issue causing the model to error out on compile.
      Original logic results in the following error:
      AMDMIGraphX/src/include/migraphx/op/unsqueeze.hpp:128: normalize_compute_shape: UNSQUEEZE: Axis dimenstion is not divisible by step
      30af1697
    • Charlie Lin's avatar
      Refactor dynamic_dimension to have multiple optimals (#1625) · e7ec374f
      Charlie Lin authored
      Makes the optimals into a std::set<std::size_t>
      Changes shape object functions to handle the opts change
      Changes to convolution, flatten, pooling, and convolution in that they no longer calculate the output optimal dimensions. Instead returns empty opts. Will need to change this in the future if we want to support dynamic shapes fully.
      Many changes to tests and shape calls with respect to the new optimals
      e7ec374f
  11. 03 Apr, 2023 2 commits
  12. 01 Apr, 2023 1 commit
  13. 31 Mar, 2023 1 commit
    • Charlie Lin's avatar
      Split single dynamic dimension compiler pass (#1580) · e9e3eacc
      Charlie Lin authored
      Adds a new GPU compiler pass split_single_dyn_dim that handles when one input parameter has a single non-fixed dynamic_dimension.
      commonly occurs for dynamic batch or BERT sequence length
      Splits the dynamic shape into several submodules will static input parameters to handle all of the cases in the dynamic_dimension range.
      Essentially does what I manually did for the select_module verify tests
      Adds a compile option split_single_dyn_dim that toggles the pass on/off. Defaults to false.
      Updates verify_program.hpp and run_verify.cpp to allow for the tests to change the compile_options
      e9e3eacc
  14. 30 Mar, 2023 1 commit
  15. 29 Mar, 2023 2 commits
  16. 28 Mar, 2023 2 commits
  17. 27 Mar, 2023 1 commit
  18. 26 Mar, 2023 1 commit
  19. 25 Mar, 2023 1 commit
  20. 24 Mar, 2023 1 commit
    • Ted Themistokleous's avatar
      Add Additional flags to accuracy_checker.py (#1637) · 6c8b978d
      Ted Themistokleous authored
      Useful to get more insight into Onnxruntime. Allows us to reuse the accuracy checker code while also allowing us to capture Execution Provider output with the --ort_run and --ort_logging flags
      
      Also added the --target flag as well to allow us to force using either a specific target for the accuracy checking. Originally this was defaulting to the GPU. This now allows us to use ref, fpga, etc to quickly change targets.
      6c8b978d
  21. 22 Mar, 2023 1 commit
  22. 21 Mar, 2023 2 commits
    • Charlie Lin's avatar
      select_module refactor (#1615) · 94a7f6ee
      Charlie Lin authored
      Refactor to have select_module use output parameters
      Disable select_module verify tests on cpu
      94a7f6ee
    • Umang Yadav's avatar
      Fix default target in driver (#1635) · 11e2451f
      Umang Yadav authored
      Recent changes #1608 removed migraphx_all_target lib from driver and that led to missing compile time definitions.
      Missing compile definitions led to change of default target in driver.
      11e2451f