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. 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
  3. 21 Sep, 2023 2 commits
  4. 16 Sep, 2023 2 commits
  5. 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
  6. 10 Sep, 2023 1 commit
    • 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
  7. 06 Sep, 2023 1 commit