1. 22 Jun, 2023 1 commit
  2. 20 Jun, 2023 1 commit
  3. 17 Jun, 2023 1 commit
  4. 16 Jun, 2023 1 commit
  5. 15 Jun, 2023 1 commit
    • Brian Pickrell's avatar
      fix parse_instancenorm to create broadcast and multibroadcast instruc… (#1715) · 41ba30d5
      Brian Pickrell authored
      * fix parse_instancenorm to create broadcast and multibroadcast instructions with two dynamic shape arguments instead of 1.  Their make_op() functions don't support dynamic shapes when called with one input.  This caused an error when parsing an ONNX 3duunet model
      
      * Use add_common_op() to create multibroadcast op.
      
      * add verification and parsing test for instance_norm with dynamic input.  Parse test doesn't pass.
      
      * fix for test; still doesn't pass
      
      * another fix for test; still doesn't pass
      
      * work in progress, instance_norm_dyn_batch_test works but instance_norm_test doesn't
      
      * fix onnx instancenorm tests to match parser changes.  Passes all check tests
      
      * Updated comments explaining usage of add_common_op()
      
      * hand-merged conflicts with develop
      
      * fix instance_norm_half_test after merge
      
      * add Onnx test instance_norm_dyn_batch_half_test
      
      * add shape test cases broadcast_1in_dyn_error and multibroadcast_1in_dyn_error_0
      41ba30d5
  6. 13 Jun, 2023 1 commit
  7. 12 Jun, 2023 1 commit
  8. 05 Jun, 2023 1 commit
  9. 02 Jun, 2023 1 commit
  10. 01 Jun, 2023 1 commit
  11. 31 May, 2023 1 commit
  12. 30 May, 2023 1 commit
    • Paul Fultz II's avatar
      Improvements to driver output (#1710) · d32ab85b
      Paul Fultz II authored
      Use generate_argument instead of generate_literal for python output as generate_literal doesnt exists
      Shorten the names for variables from the main module
      Use prefix p_ for parameters
      Use shorter variable m for main module in python
      d32ab85b
  13. 25 May, 2023 1 commit
  14. 20 May, 2023 1 commit
  15. 19 May, 2023 1 commit
  16. 17 May, 2023 2 commits
  17. 11 May, 2023 1 commit
  18. 05 May, 2023 1 commit
  19. 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
  20. 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
  21. 02 May, 2023 1 commit
  22. 28 Apr, 2023 1 commit
  23. 24 Apr, 2023 2 commits
  24. 20 Apr, 2023 1 commit
  25. 19 Apr, 2023 1 commit
  26. 18 Apr, 2023 1 commit
  27. 17 Apr, 2023 2 commits
  28. 13 Apr, 2023 1 commit
  29. 11 Apr, 2023 1 commit
  30. 10 Apr, 2023 2 commits
  31. 07 Apr, 2023 1 commit
  32. 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
  33. 05 Apr, 2023 1 commit
  34. 04 Apr, 2023 1 commit
    • 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