1. 28 Sep, 2023 1 commit
    • Umang Yadav's avatar
      Add options to set tolerances inside MIGraphX driver (#2213) · 69d8d789
      Umang Yadav authored
      MIGraphX verification by default uses normalized RMS error as the basis for the verification.  This change adds some logic to allow migraphx to do "np.allclose" type of elementwise verification using atol and rtol.
      
      Commit also includes changes to consistently pass "gold" or "expected" results as the second argument for "verify_range()" calls.  Default RMS tolerance inside driver is set to 0.001 which IMO is high for FP32 compared to what we had earlier. Need better defaults
      69d8d789
  2. 23 Sep, 2023 1 commit
  3. 21 Sep, 2023 1 commit
  4. 20 Sep, 2023 1 commit
  5. 17 Sep, 2023 1 commit
  6. 11 Sep, 2023 1 commit
  7. 29 Aug, 2023 1 commit
    • Brian Pickrell's avatar
      Fix dyn pooling (#1768) · 7b8a28f5
      Brian Pickrell authored
      Adds support for dynamic input shape in pooling operator along with auto-padding. This combination requires that the padding (and therefore the output shape) can't be computed until runtime.
      7b8a28f5
  8. 22 Aug, 2023 1 commit
  9. 21 Aug, 2023 1 commit
  10. 18 Aug, 2023 2 commits
  11. 08 Aug, 2023 2 commits
  12. 30 Jul, 2023 1 commit
  13. 23 Jul, 2023 1 commit
  14. 22 Jul, 2023 1 commit
  15. 21 Jul, 2023 1 commit
  16. 16 Jul, 2023 1 commit
  17. 13 Jul, 2023 1 commit
    • Charlie Lin's avatar
      Update deconvolution -> convolution_backwards and Dynamic Shape Support (#1801) · 4edf1195
      Charlie Lin authored
      Renames deconvolution -> convolution_backwards to be more consistent with the literature
      Note: this is not the cross-correlation operator (which is the adjoint of convolution). This is technically a standard convolution operator combined with an upsampling operator rather than a downsampling operator.
      Adds unit tests for the padding, strides, dilations, and other op attributes.
      Throws on auto_pad attribute since it has not been implemented
      Previously it read the attribute and set it but then did nothing with it
      Extended for dynamic shapes
      Does not support using asymmetric padding (padding_L != padding_R) and output_shape with dynamic shapes.
      4edf1195
  18. 10 Jul, 2023 1 commit
  19. 02 Jul, 2023 1 commit
  20. 20 Jun, 2023 1 commit
  21. 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
  22. 02 Jun, 2023 1 commit
  23. 01 Jun, 2023 1 commit
  24. 11 May, 2023 1 commit
  25. 17 Apr, 2023 1 commit
  26. 11 Apr, 2023 1 commit
  27. 04 Apr, 2023 1 commit
    • 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
  28. 03 Apr, 2023 1 commit
  29. 18 Mar, 2023 1 commit
  30. 14 Mar, 2023 1 commit
  31. 04 Mar, 2023 1 commit
  32. 15 Feb, 2023 1 commit
    • Brian Pickrell's avatar
      Dyn slice (#1503) · 102c6bdb
      Brian Pickrell authored
      Add dynamic shape support to slice operator.
      
      First draft of this feature doesn't support ops slicing non-fixed, dynamic axes. Resulting shape in such cases is not guaranteed.* Also, onnx parsing doesn't support any arguments other than "axes".
      102c6bdb
  33. 11 Feb, 2023 1 commit
  34. 10 Feb, 2023 1 commit
  35. 03 Feb, 2023 1 commit
  36. 02 Feb, 2023 1 commit
  37. 01 Feb, 2023 1 commit
    • Ted Themistokleous's avatar
      Parse if inline constant args (#1533) · ca15cd37
      Ted Themistokleous authored
      Allows migraphx to inline the IF operator when we run into an IF that can be evaluated at compile time, thus avoiding us injecting IF and just inserting the instructions directly.
      ca15cd37
  38. 30 Jan, 2023 1 commit