1. 17 May, 2023 1 commit
    • shivadbhavsar's avatar
      scalar unsqueeze broadcast support (#1753) · 2140fe19
      shivadbhavsar authored
      Adding support for broadcasted scalars to unsqueeze op.
      
      Specifying steps other than 1 is disallowed in this implementation since we want the output the always be a tensor. We can support varying step sizes if we allow a broadcasted scalar output from this op.
      2140fe19
  2. 08 May, 2023 1 commit
  3. 06 May, 2023 1 commit
  4. 05 May, 2023 3 commits
  5. 04 May, 2023 2 commits
    • Paul Fultz II's avatar
      Rewrite multiplies with dot operator (#1685) · 457703a8
      Paul Fultz II authored
      When multiplying either the input or output across the K dimensions then the multiple can be applied to the constant which can then be folded with propagate_const.
      457703a8
    • Zhuoran Yin's avatar
      [mlir] Adding quant convolution fusion as anchor op (#1683) · 7f105952
      Zhuoran Yin authored
      Exposed the mlir_enabled() call the decide for lowering pipeline's enablement
      Disabled the rewrite quantization pipeline in mlir compilation
      Added quant convolution as anchor ops
      Fixed the return type expectations
      Added the fall back hip implementation for quantizelinear and dequantizelinear
      Will need advises to improve the implementation for quantizelinear
      7f105952
  6. 03 May, 2023 1 commit
    • Charlie Lin's avatar
      Update C/C++ API for dynamic batch (#1712) · 0ff00ef6
      Charlie Lin authored
      Relies on Removed split_single_dyn_dim compile flag #1711
      Exposes dynamic_dimension as a opaque object with dynamic_dimensions and optimals
      Exposes ONNX dyn_input_dims and default_dyn_dim to run with dynamic batch
      Updates api.py to be able to create objects from aggregate initialization (used for dynamic_dimension)
      Uses offload copy for now
      0ff00ef6
  7. 02 May, 2023 1 commit
  8. 28 Apr, 2023 1 commit
  9. 25 Apr, 2023 2 commits
  10. 24 Apr, 2023 3 commits
  11. 21 Apr, 2023 1 commit
  12. 20 Apr, 2023 1 commit
  13. 19 Apr, 2023 1 commit
  14. 18 Apr, 2023 2 commits
  15. 17 Apr, 2023 2 commits
  16. 13 Apr, 2023 1 commit
  17. 12 Apr, 2023 1 commit
  18. 11 Apr, 2023 1 commit
  19. 10 Apr, 2023 2 commits
  20. 09 Apr, 2023 1 commit
  21. 07 Apr, 2023 1 commit
  22. 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
  23. 05 Apr, 2023 3 commits
  24. 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
  25. 03 Apr, 2023 2 commits
  26. 01 Apr, 2023 1 commit