1. 20 Oct, 2023 1 commit
  2. 19 Oct, 2023 1 commit
  3. 17 Oct, 2023 1 commit
  4. 11 Oct, 2023 4 commits
  5. 10 Oct, 2023 1 commit
  6. 06 Oct, 2023 3 commits
  7. 04 Oct, 2023 1 commit
  8. 28 Sep, 2023 2 commits
    • Charlie Lin's avatar
      Fix shapes check for allocate (#2258) · 5b53552d
      Charlie Lin authored
      5b53552d
    • 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
  9. 27 Sep, 2023 1 commit
    • Ted Themistokleous's avatar
      Modify reshapes (#2099) · 7e5ccd4b
      Ted Themistokleous authored
      Modify reshapes to use reshape_lazy for aliasing and then reshape for a reshape copy operation to eliminate contiguous
      7e5ccd4b
  10. 24 Sep, 2023 1 commit
  11. 21 Sep, 2023 1 commit
  12. 16 Sep, 2023 1 commit
    • Charlie Lin's avatar
      `fill` ref operator (#2087) · 0da1037f
      Charlie Lin authored
      Implements a fill operator that sets the values in an output buffer to a given value
      Will be used when parsing ONNX ConstantOfShape
      Can also be used when a buffer needs to be filled with a value that is determined at runtime
      0da1037f
  13. 14 Sep, 2023 1 commit
    • Brian Pickrell's avatar
      added rand_uniform operation closes #1958 (#2051) · fbd12bd3
      Brian Pickrell authored
      New op that populates a shape with random numbers with a uniform distribution. The rand_uniform op. can implement the Onnx RandomUniform instruction, and can also create the random number sequence necessary to implement Multinomial. (At this time, our Onnx Multinomial parsing generates a random sequence of numbers when parsing as a workaround, so that the resulting program uses the same "random" set every time.)
      
      Arguments: shape, seed. Shape is required; can be static or dynamic. Seed is still optional in this version. If it's not given at inference time, use the value in the creation attribute seed. Update: deleted A boolean use_auto_seed causes any given seed to be ignored.
      fbd12bd3
  14. 12 Sep, 2023 1 commit
  15. 11 Sep, 2023 1 commit
  16. 10 Sep, 2023 2 commits
    • Charlie Lin's avatar
      Dynamic allocate (#2079) · ede8bfa6
      Charlie Lin authored
      Makes a version of allocate that takes in dimensions and allocates a buffer
      Going to create a simplify_dynamic_ops compiler pass that will use the use_shape_attr flag
      The ONNX op ConstantOfShape needs the buffer to be filled with a specific value, so going to make another PR for that and a fill operator
      ede8bfa6
    • Lakhinder Walia's avatar
      Move operation for memory performance + misc changes for cpu performance (#2130) · b00489b3
      Lakhinder Walia authored
      Reduce memory footprint by std::move of temporary (potentially very large) containers.
      Minor cleanup for performance optimization: e.g. of Index() calculation -- which can get repeated millions of times in large tensors/vectors in a single Visit.
      b00489b3
  17. 08 Sep, 2023 1 commit
  18. 07 Sep, 2023 1 commit
  19. 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
  20. 28 Aug, 2023 1 commit
  21. 18 Aug, 2023 1 commit
    • Charlie Lin's avatar
      Variable input slice (#2039) · e4ef64f4
      Charlie Lin authored
      Allows slice to work with variable starts, ends, and axes input
      Outputs a dynamic shape even with a static shape data input when the starts and ends are variable
      e4ef64f4
  22. 12 Aug, 2023 1 commit
  23. 08 Aug, 2023 1 commit
  24. 07 Aug, 2023 1 commit
  25. 04 Aug, 2023 1 commit
  26. 03 Aug, 2023 1 commit
  27. 31 Jul, 2023 1 commit
    • Lakhinder Walia's avatar
      Lw/fix half shape (#2000) · e4dc75ea
      Lakhinder Walia authored
      * Use shape of Instruction (instead of a default) in add_return()
      
      * Instruction validation fix: not to use a default shape value for comparison
      
      * Fix instruction::replace() to recompute shape for "@return"
      
      * handle the case of missing shape in an Instruction related Test
      
      * use compute_shape() to get op shapes + test case for tuple_type
      
      * add test case shape_test/return_shape_tuple
      
      * Add test for @return to check for half type
      
      * Move @return unit-tests around..; Address review comments
      
      * Broken comparison fix: comparison to a (default) shape of tuple_type
      
      * Test cases: (add) return_shape_empty & (modify) return_shape_tuple
      
      * modify the assert() statement
      e4dc75ea
  28. 28 Jul, 2023 2 commits
  29. 25 Jul, 2023 2 commits
  30. 23 Jul, 2023 1 commit
  31. 22 Jul, 2023 1 commit