- 25 May, 2023 2 commits
-
-
Chris Austen authored
Use std::numeric_limits::min/max() functions plus the appropriate value to encode -inf/inf Co-authored-by:Ted Themistokleous <107195283+TedThemistokleous@users.noreply.github.com>
-
Chris Austen authored
* Use action to free space which uses apt remove to remove all the dependencies as well (#1756) * Docsupdate (#1748) * adjust docker files to support new rocm 5.5 (#1729) * update to v0.11.0 of rocm-docs-core (#1763)
-
- 06 May, 2023 1 commit
-
-
Chris Austen authored
* Removed split_single_dyn_dim compile flag (#1711) * Update C/C++ API for dynamic batch (#1712) * Python API update for dynamic batch (#1723) * Dynamic batch C++ API example #1728 * Optimize file space of github runners (#1743) Co-authored-by:Charlie Lin <charlie.lin@amd.com>
-
- 05 May, 2023 1 commit
-
-
Chris Austen authored
Improves the constant propagation for bert models. Larger batch size no longer use as large of constants. Also improves the speed of model compilation Co-authored-by:Paul Fultz II <pfultz2@yahoo.com>
-
- 25 Apr, 2023 2 commits
-
-
kahmed10 authored
update rocBLAS version check to support 3.0 and above with simplified logic
-
Chris Austen authored
-
- 24 Apr, 2023 3 commits
-
-
Charlie Lin authored
Updates the hip::copy_to_gpu and hip::copy_from_gpu operators to work with dynamic shapes Allows for offload_copy to be used with dynamic batch Changed assert in select_module because the argument might now be smaller with how offload_copy will work with dynamic batch. (maximum buffer size will be used)
-
Paul Fultz II authored
This fixes #1700
-
Paul Fultz II authored
-
- 21 Apr, 2023 1 commit
-
-
Umang Yadav authored
-
- 20 Apr, 2023 1 commit
-
-
Umang Yadav authored
Solves #1311
-
- 19 Apr, 2023 1 commit
-
-
shivadbhavsar authored
Expose get_shape and get_operator methods for instruction_ref object in the python API.
-
- 18 Apr, 2023 2 commits
-
-
Paul Fultz II authored
This will show whats being replaced with a constant. This is useful for debugging where a literal comes from.
-
Ted Themistokleous authored
Ensure that we don't have empty inputs when computing shape for pointwise function
-
- 17 Apr, 2023 2 commits
-
-
Charlie Lin authored
Fixes the above behavior This needs to be changed to allow for setting static shapes with map_dyn_input_dims since you cannot also use map_input_dims
-
shivadbhavsar authored
Expose the shape::type_t values to be used by the python api and is required by torch_migraphx to support torchbench models.
-
- 13 Apr, 2023 1 commit
-
-
Zhuoran Yin authored
-
- 12 Apr, 2023 1 commit
-
-
Paul Fultz II authored
-
- 11 Apr, 2023 1 commit
-
-
Paul Fultz II authored
-
- 10 Apr, 2023 2 commits
-
-
Umang Yadav authored
-
Charlie Lin authored
Adds a matcher to split_single_dyn_dim to find all broadcast or multibroadcast with two static shape inputs and replaces the instruction with the one input version. Sorts the get_output_parameters() list to ensure the correct ordering. (Was getting an error for some models.)
-
- 09 Apr, 2023 1 commit
-
-
Paul Fultz II authored
* Enable hiprtc by default
-
- 07 Apr, 2023 1 commit
-
-
Paul Fultz II authored
Converts can be inserted when the scales and input differ in the onnx file(we are already doing this implicit conversion in the ref implementation). This will also improve the compile-time of quantizelinear.hpp since we can remove the nested visit method.
-
- 06 Apr, 2023 2 commits
-
-
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 -
Paul Fultz II authored
Automatically fuse multiple reductions and pointwise operations.
-
- 05 Apr, 2023 3 commits
-
-
Paul Fultz II authored
* Add MIGRAPHX_VALIDATE_MATCHES env variable to validate each matcher
-
Paul Fultz II authored
This will replace conv(x+a, w) with conv(x, w) + conv(a, w) where a is a constant so conv(a, w) can be replaced with a constant.
-
Paul Fultz II authored
-
- 04 Apr, 2023 2 commits
-
-
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
-
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
-
- 03 Apr, 2023 2 commits
-
-
shivadbhavsar authored
-
Charlie Lin authored
Adds the promote_literals compiler pass that moves literals from the submodules to the main module. With the eliminate_common_subexpression pass, it will remove copies of literals created during split_single_dyn_dim. Pass is enabled with the split_single_dyn_dim compile option.
-
- 01 Apr, 2023 1 commit
-
-
Umang Yadav authored
-
- 31 Mar, 2023 1 commit
-
-
Charlie Lin authored
Adds a new GPU compiler pass split_single_dyn_dim that handles when one input parameter has a single non-fixed dynamic_dimension. commonly occurs for dynamic batch or BERT sequence length Splits the dynamic shape into several submodules will static input parameters to handle all of the cases in the dynamic_dimension range. Essentially does what I manually did for the select_module verify tests Adds a compile option split_single_dyn_dim that toggles the pass on/off. Defaults to false. Updates verify_program.hpp and run_verify.cpp to allow for the tests to change the compile_options
-
- 30 Mar, 2023 1 commit
-
-
Paul Fultz II authored
* Add hiprtc driver
-
- 29 Mar, 2023 1 commit
-
-
Paul Fultz II authored
-
- 28 Mar, 2023 1 commit
-
-
Umang Yadav authored
* Remove version from check_context and bump program version
-
- 27 Mar, 2023 1 commit
-
-
Manupa Karunaratne authored
* [MLIR] add dot offloads with manual tuning support * This commit adds dot + pointwise fusion support along with manual tuning using rocMLIR.
-
- 25 Mar, 2023 1 commit
-
-
Umang Yadav authored
Co-authored-by:Chris Austen <causten@users.noreply.github.com>
-
- 22 Mar, 2023 1 commit
-
-
Umang Yadav authored
prevent dynamically loading the target library that is not compiled with the same version of MIGraphX core lib.
-