Skip to content

Proto data dependent symbolics#5077

Draft
CharlieL7 wants to merge 23 commits into
developfrom
proto_data_dependent_symbolics
Draft

Proto data dependent symbolics#5077
CharlieL7 wants to merge 23 commits into
developfrom
proto_data_dependent_symbolics

Conversation

@CharlieL7

Copy link
Copy Markdown
Collaborator

Motivation

  • Prototype of framework to handle data-dependent symbolic variables.

Technical Details

Changelog Category

Add a CHANGELOG.md entry for any option other than Not Applicable

    • Added: New functionality.
    • Changed: Changes to existing functionality.
    • Removed: Functionality or support that has been removed. (Compared to a previous release)
    • Optimized: Component performance that has been optimized or improved.
    • Resolved Issues: Known issues from a previous version that have been resolved.
    • Not Applicable: This PR is not to be included in the changelog.

Follow the LLVM AI Tool Use Policy for contributions using AI.

@CharlieL7
CharlieL7 requested a review from shivadbhavsar July 17, 2026 21:45
@CharlieL7 CharlieL7 self-assigned this Jul 17, 2026
@CharlieL7
CharlieL7 changed the base branch from sym_slice to develop July 21, 2026 18:57
Comment on lines +73 to +74
auto type = inputs.at(0).type();
auto k_val = std::get<int64_t>(k);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
auto type = inputs.at(0).type();
auto k_val = std::get<int64_t>(k);
auto type = inputs.at(0).type();
auto k_val = std::get<int64_t>(k);

Comment thread src/onnx/parse_topk.cpp
const shape k_shape{shape::int64_type, {1}};
auto k_lit = info.add_literal(literal{k_shape, {k}});
auto topk_ret = info.add_instruction(
make_op("topk", {{"k", k}, {"axis", axis}, {"largest", largest}}), args.at(0), k_lit);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
make_op("topk", {{"k", k}, {"axis", axis}, {"largest", largest}}), args.at(0), k_lit);
make_op("topk", {{"k", k}, {"axis", axis}, {"largest", largest}}),
args.at(0),
k_lit);

Comment thread src/onnx/parse_topk.cpp
Comment on lines +71 to +72
auto ret_val = info.add_instruction(make_op("get_tuple_elem", {{"index", 0}}), topk_ret);
auto ret_ind = info.add_instruction(make_op("get_tuple_elem", {{"index", 1}}), topk_ret);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
auto ret_val = info.add_instruction(make_op("get_tuple_elem", {{"index", 0}}), topk_ret);
auto ret_ind = info.add_instruction(make_op("get_tuple_elem", {{"index", 1}}), topk_ret);
auto ret_val =
info.add_instruction(make_op("get_tuple_elem", {{"index", 0}}), topk_ret);
auto ret_ind =
info.add_instruction(make_op("get_tuple_elem", {{"index", 1}}), topk_ret);

Comment thread src/onnx/parse_topk.cpp
// Constant `k`: use its value for the attribute; topk output is already the exact size.
int64_t k = arg_k.at<int>();
auto topk_ret = info.add_instruction(
make_op("topk", {{"k", k}, {"axis", axis}, {"largest", largest}}), args.at(0), args.at(1));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
make_op("topk", {{"k", k}, {"axis", axis}, {"largest", largest}}), args.at(0), args.at(1));
make_op("topk", {{"k", k}, {"axis", axis}, {"largest", largest}}),
args.at(0),
args.at(1));

Comment thread src/onnx/parse_topk.cpp
Comment on lines +85 to +86
auto ret_val = info.add_instruction(make_op("get_tuple_elem", {{"index", 0}}), topk_ret);
auto ret_ind = info.add_instruction(make_op("get_tuple_elem", {{"index", 1}}), topk_ret);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
auto ret_val = info.add_instruction(make_op("get_tuple_elem", {{"index", 0}}), topk_ret);
auto ret_ind = info.add_instruction(make_op("get_tuple_elem", {{"index", 1}}), topk_ret);
auto ret_val =
info.add_instruction(make_op("get_tuple_elem", {{"index", 0}}), topk_ret);
auto ret_ind =
info.add_instruction(make_op("get_tuple_elem", {{"index", 1}}), topk_ret);

Comment thread test/ref/topk.cpp
Comment on lines +199 to +200
auto kk = mm->add_literal(
migraphx::literal{migraphx::shape{migraphx::shape::int64_type, {1}}, {5}});

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
auto kk = mm->add_literal(
migraphx::literal{migraphx::shape{migraphx::shape::int64_type, {1}}, {5}});
auto kk =
mm->add_literal(migraphx::literal{migraphx::shape{migraphx::shape::int64_type, {1}}, {5}});

Comment thread test/ref/topk.cpp
Comment on lines 202 to +203
auto r = mm->add_instruction(migraphx::make_op("topk", {{"axis", 1}, {"k", 5}, {"largest", 0}}),
data);
data, kk);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
auto r = mm->add_instruction(migraphx::make_op("topk", {{"axis", 1}, {"k", 5}, {"largest", 0}}),
data);
data, kk);
auto r = mm->add_instruction(
migraphx::make_op("topk", {{"axis", 1}, {"k", 5}, {"largest", 0}}), data, kk);

Comment thread test/rewrite_topk.cpp
Comment on lines +98 to +99
auto r2 = m2.add_instruction(
migraphx::make_op("topk", {{"k", 8}, {"axis", 0}}), valuer, k, idxr);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
auto r2 = m2.add_instruction(
migraphx::make_op("topk", {{"k", 8}, {"axis", 0}}), valuer, k, idxr);
auto r2 =
m2.add_instruction(migraphx::make_op("topk", {{"k", 8}, {"axis", 0}}), valuer, k, idxr);

Comment thread test/rewrite_topk.cpp
Comment on lines +140 to +141
auto r2 = m2.add_instruction(
migraphx::make_op("topk", {{"k", 8}, {"axis", 1}}), valuer, k, idxr);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
auto r2 = m2.add_instruction(
migraphx::make_op("topk", {{"k", 8}, {"axis", 1}}), valuer, k, idxr);
auto r2 =
m2.add_instruction(migraphx::make_op("topk", {{"k", 8}, {"axis", 1}}), valuer, k, idxr);

Comment thread test/rewrite_topk.cpp
Comment on lines +182 to +183
auto r2 = m2.add_instruction(
migraphx::make_op("topk", {{"k", 8}, {"axis", 0}}), valuer, k, idxr);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
auto r2 = m2.add_instruction(
migraphx::make_op("topk", {{"k", 8}, {"axis", 0}}), valuer, k, idxr);
auto r2 =
m2.add_instruction(migraphx::make_op("topk", {{"k", 8}, {"axis", 0}}), valuer, k, idxr);

}

template <class E, MIGRAPHX_REQUIRES(is_bit_flag<E>{})>
constexpr E& operator|=(E& lhs, E rhs)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
constexpr E& operator|=(E& lhs, E rhs)
constexpr E& operator|=(E & lhs, E rhs)

}

template <class E, MIGRAPHX_REQUIRES(is_bit_flag<E>{})>
constexpr E& operator&=(E& lhs, E rhs)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
constexpr E& operator&=(E& lhs, E rhs)
constexpr E& operator&=(E & lhs, E rhs)

}

template <class E, MIGRAPHX_REQUIRES(is_bit_flag<E>{})>
constexpr E& operator^=(E& lhs, E rhs)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
constexpr E& operator^=(E& lhs, E rhs)
constexpr E& operator^=(E & lhs, E rhs)

Comment thread src/onnx/parse_slice.cpp

op::slice::slice_mode get_slice_mode(slice_input_flags slice_flags)
{
switch (slice_flags)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
switch (slice_flags)
switch(slice_flags)

Comment thread src/onnx/parse_slice.cpp
Comment on lines +81 to +98
case slice_input_flags::none:
return op::slice::slice_mode::one_input;
case slice_input_flags::starts_input:
return op::slice::slice_mode::starts_input;
case slice_input_flags::ends_input:
return op::slice::slice_mode::ends_input;
case slice_input_flags::axes_input:
return op::slice::slice_mode::axes_input;
case (slice_input_flags::starts_input | slice_input_flags::ends_input):
return op::slice::slice_mode::starts_ends_input;
case (slice_input_flags::starts_input | slice_input_flags::axes_input):
return op::slice::slice_mode::starts_axes_input;
case (slice_input_flags::ends_input | slice_input_flags::axes_input):
return op::slice::slice_mode::ends_axes_input;
case (slice_input_flags::starts_input | slice_input_flags::ends_input | slice_input_flags::axes_input):
return op::slice::slice_mode::starts_ends_axes_input;
default:
MIGRAPHX_THROW("PARSE_SLICE: invalid slice_mode");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
case slice_input_flags::none:
return op::slice::slice_mode::one_input;
case slice_input_flags::starts_input:
return op::slice::slice_mode::starts_input;
case slice_input_flags::ends_input:
return op::slice::slice_mode::ends_input;
case slice_input_flags::axes_input:
return op::slice::slice_mode::axes_input;
case (slice_input_flags::starts_input | slice_input_flags::ends_input):
return op::slice::slice_mode::starts_ends_input;
case (slice_input_flags::starts_input | slice_input_flags::axes_input):
return op::slice::slice_mode::starts_axes_input;
case (slice_input_flags::ends_input | slice_input_flags::axes_input):
return op::slice::slice_mode::ends_axes_input;
case (slice_input_flags::starts_input | slice_input_flags::ends_input | slice_input_flags::axes_input):
return op::slice::slice_mode::starts_ends_axes_input;
default:
MIGRAPHX_THROW("PARSE_SLICE: invalid slice_mode");
case slice_input_flags::none: return op::slice::slice_mode::one_input;
case slice_input_flags::starts_input: return op::slice::slice_mode::starts_input;
case slice_input_flags::ends_input: return op::slice::slice_mode::ends_input;
case slice_input_flags::axes_input: return op::slice::slice_mode::axes_input;
case(slice_input_flags::starts_input | slice_input_flags::ends_input):
return op::slice::slice_mode::starts_ends_input;
case(slice_input_flags::starts_input | slice_input_flags::axes_input):
return op::slice::slice_mode::starts_axes_input;
case(slice_input_flags::ends_input | slice_input_flags::axes_input):
return op::slice::slice_mode::ends_axes_input;
case(slice_input_flags::starts_input | slice_input_flags::ends_input |
slice_input_flags::axes_input):
return op::slice::slice_mode::starts_ends_axes_input;
default: MIGRAPHX_THROW("PARSE_SLICE: invalid slice_mode");

Comment thread src/onnx/parse_slice.cpp
op::slice create_slice_operator()
{
op::slice slice_op;
slice_op.axes = axes;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
slice_op.axes = axes;
slice_op.axes = axes;

Comment thread src/onnx/parse_slice.cpp
Comment on lines +107 to +108
slice_op.ends = ends;
slice_op.mode = get_slice_mode(flags);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
slice_op.ends = ends;
slice_op.mode = get_slice_mode(flags);
slice_op.ends = ends;
slice_op.mode = get_slice_mode(flags);

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

format.py

[format.py] reported by reviewdog 🐶

throws_shape(
migraphx::make_op("slice", {{"starts", {0, 1, 2}}, {"mode", "ends_axes_input"}}),
input,
ends,
axes);


[format.py] reported by reviewdog 🐶

mm->add_instruction(
migraphx::make_op("slice", {{"axes", {2}}, {"mode", "starts_ends_input"}}),
l0,
starts,
ends);


[format.py] reported by reviewdog 🐶

mm->add_instruction(
migraphx::make_op("slice", {{"axes", {2}}, {"mode", "starts_ends_input"}}),
l0,
starts,
ends);


[format.py] reported by reviewdog 🐶

mm->add_instruction(
migraphx::make_op("slice", {{"axes", {2}}, {"mode", "starts_ends_input"}}),
input,
starts,
ends);


[format.py] reported by reviewdog 🐶

mm->add_instruction(
migraphx::make_op("slice", {{"starts", {-4}}, {"mode", "ends_axes_input"}}),
input,
ends,
axes);


[format.py] reported by reviewdog 🐶

mm->add_instruction(
migraphx::make_op("slice", {{"axes", {2}}, {"mode", "starts_ends_input"}}),
input,
starts,
ends);


[format.py] reported by reviewdog 🐶

auto slice_ins = m0.add_instruction(
migraphx::make_op("slice", {{"mode", "starts_ends_axes_input"}}),
input,
input_starts,
input_ends,
input_axes);

if(inputs.size() == 1)
{
if(any_sym(starts) or any_sym(ends))
MIGRAPHX_THROW("SLICE: Invalid attributes: symbolic in attribute for 1 input slice");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
MIGRAPHX_THROW("SLICE: Invalid attributes: symbolic in attribute for 1 input slice");
MIGRAPHX_THROW(
"SLICE: Invalid attributes: symbolic in attribute for 1 input slice");

if(inputs.size() == 2)
{
if(set_attributes == ends_axes)
std::vector<slice_mode> two_input_modes_not_axes = {slice_mode::starts_input, slice_mode::ends_input};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
std::vector<slice_mode> two_input_modes_not_axes = {slice_mode::starts_input, slice_mode::ends_input};
std::vector<slice_mode> two_input_modes_not_axes = {slice_mode::starts_input,
slice_mode::ends_input};

dds.at(axis) = {0, dds.at(axis).get_interval().max};
});
if(inputs[1].lens()[0] != axes.size())
MIGRAPHX_THROW("SLICE: input length (" + migraphx::to_string(inputs[1].lens()[0]) + ") does not match attribute length (" + migraphx::to_string(axes.size()) + ")");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
MIGRAPHX_THROW("SLICE: input length (" + migraphx::to_string(inputs[1].lens()[0]) + ") does not match attribute length (" + migraphx::to_string(axes.size()) + ")");
MIGRAPHX_THROW("SLICE: input length (" +
migraphx::to_string(inputs[1].lens()[0]) +
") does not match attribute length (" +
migraphx::to_string(axes.size()) + ")");

return shape::dynamic_dimension{0, dd.get_interval().max};
});
if(inputs[1].lens()[0] != starts.size())
MIGRAPHX_THROW("SLICE: input length (" + migraphx::to_string(inputs[1].lens()[0]) + ") does not match attribute length (" + migraphx::to_string(starts.size()) + ")");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
MIGRAPHX_THROW("SLICE: input length (" + migraphx::to_string(inputs[1].lens()[0]) + ") does not match attribute length (" + migraphx::to_string(starts.size()) + ")");
MIGRAPHX_THROW("SLICE: input length (" +
migraphx::to_string(inputs[1].lens()[0]) +
") does not match attribute length (" +
migraphx::to_string(starts.size()) + ")");

dds.at(axis) = {0, dds.at(axis).get_interval().max};
});
if(inputs[1].lens()[0] != axes.size())
MIGRAPHX_THROW("SLICE: input length (" + migraphx::to_string(inputs[1].lens()[0]) + ") does not match attribute length (" + migraphx::to_string(axes.size()) + ")");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
MIGRAPHX_THROW("SLICE: input length (" + migraphx::to_string(inputs[1].lens()[0]) + ") does not match attribute length (" + migraphx::to_string(axes.size()) + ")");
MIGRAPHX_THROW("SLICE: input length (" +
migraphx::to_string(inputs[1].lens()[0]) +
") does not match attribute length (" +
migraphx::to_string(axes.size()) + ")");

Comment thread test/op_shape_test.cpp
Comment on lines +5168 to +5172
throws_shape(
migraphx::make_op("slice",
{{"ends", {2, 3, 4}}, {"axes", {0, 1, 2}}, {"mode", "starts_input"}}),
input,
starts);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
throws_shape(
migraphx::make_op("slice",
{{"ends", {2, 3, 4}}, {"axes", {0, 1, 2}}, {"mode", "starts_input"}}),
input,
starts);
throws_shape(migraphx::make_op(
"slice", {{"ends", {2, 3, 4}}, {"axes", {0, 1, 2}}, {"mode", "starts_input"}}),
input,
starts);

Comment thread test/op_shape_test.cpp
Comment on lines +5179 to +5183
throws_shape(
migraphx::make_op("slice",
{{"starts", {0, 1, 2}}, {"axes", {0, 1, 2}}, {"mode", "ends_input"}}),
input,
ends);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
throws_shape(
migraphx::make_op("slice",
{{"starts", {0, 1, 2}}, {"axes", {0, 1, 2}}, {"mode", "ends_input"}}),
input,
ends);
throws_shape(migraphx::make_op(
"slice", {{"starts", {0, 1, 2}}, {"axes", {0, 1, 2}}, {"mode", "ends_input"}}),
input,
ends);

Comment thread test/op_shape_test.cpp
Comment on lines +5190 to +5194
throws_shape(
migraphx::make_op("slice",
{{"starts", {0, 1, 2}}, {"ends", {3, 4, 4}}, {"mode", "axes_input"}}),
input,
axes);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
throws_shape(
migraphx::make_op("slice",
{{"starts", {0, 1, 2}}, {"ends", {3, 4, 4}}, {"mode", "axes_input"}}),
input,
axes);
throws_shape(migraphx::make_op(
"slice", {{"starts", {0, 1, 2}}, {"ends", {3, 4, 4}}, {"mode", "axes_input"}}),
input,
axes);

Comment thread test/op_shape_test.cpp
Comment on lines +5202 to +5206
throws_shape(
migraphx::make_op("slice", {{"axes", {0, 1, 2}}, {"mode", "starts_ends_input"}}),
input,
starts,
ends);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
throws_shape(
migraphx::make_op("slice", {{"axes", {0, 1, 2}}, {"mode", "starts_ends_input"}}),
input,
starts,
ends);
throws_shape(migraphx::make_op("slice", {{"axes", {0, 1, 2}}, {"mode", "starts_ends_input"}}),
input,
starts,
ends);

Comment thread test/op_shape_test.cpp
Comment on lines +5214 to +5218
throws_shape(
migraphx::make_op("slice", {{"ends", {3, 3, 3}}, {"mode", "starts_axes_input"}}),
input,
starts,
axes);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[format.py] reported by reviewdog 🐶

Suggested change
throws_shape(
migraphx::make_op("slice", {{"ends", {3, 3, 3}}, {"mode", "starts_axes_input"}}),
input,
starts,
axes);
throws_shape(migraphx::make_op("slice", {{"ends", {3, 3, 3}}, {"mode", "starts_axes_input"}}),
input,
starts,
axes);

@gh-app-migraphx-bot-pr-write

Copy link
Copy Markdown
Test Batch New Rate (9a224a) Old Rate (0c63af)* Diff Status
torchvision-resnet50 64 3,245.77 3,266.06 -0.62%
torchvision-resnet50_fp16 64 5,305.88 7,546.56 -29.69% 🔴
torchvision-densenet121 32 703.31 2,482.18 -71.67% 🔴
torchvision-densenet121_fp16 32 1,270.39 4,976.34 -74.47% 🔴
torchvision-inceptionv3 32 2,059.33 2,057.16 0.11%
torchvision-inceptionv3_fp16 32 2,542.93 4,415.87 -42.41% 🔴
cadene-inceptionv4 16 816.53 818.77 -0.27%
cadene-resnext64x4 16 782.79 783.71 -0.12%
slim-mobilenet 64 8,390.52 8,356.38 0.41%
slim-nasnetalarge 64 225.64 229.42 -1.65%
slim-resnet50v2 64 3,181.39 3,185.54 -0.13%
bert-mrpc-onnx 8 1,169.27 1,167.46 0.16%
bert-mrpc-tf 1 207.82 486.41 -57.28% 🔴
pytorch-examples-wlang-gru 1 472.49 480.59 -1.68%
pytorch-examples-wlang-lstm 1 474.35 390.19 21.57% 🔆
torchvision-resnet50_1 1 1,040.02 1,037.04 0.29%
cadene-dpn92_1 1 439.96 475.84 -7.54% 🔴
cadene-resnext101_1 1 365.50 365.49 0.00%
onnx-taau-downsample 1 518.03 843.97 -38.62% 🔴
dlrm-criteoterabyte 1 24.65 32.42 -23.96% 🔴
dlrm-criteoterabyte_fp16 1 34.66 52.07 -33.44% 🔴
agentmodel 1 9,581.76 9,645.99 -0.67%
unet_fp16 2 58.20 58.92 -1.21%
resnet50v1_fp16 1 603.27 1,412.17 -57.28% 🔴
resnet50v1_int8 1 1,172.28 1,602.24 -26.84% 🔴
bert_base_cased_fp16 64 1,098.16 1,098.36 -0.02%
bert_large_uncased_fp16 32 259.61 344.75 -24.70% 🔴
bert_large_fp16 1 205.82 204.70 0.54%
distilgpt2_fp16 16 1,707.29 2,090.27 -18.32% 🔴
yolov5s 1 561.02 560.47 0.10%
tinyllama 1 45.85 45.79 0.15%
vicuna-fastchat 1 43.81 44.12 -0.69%
whisper-tiny-encoder 1 412.26 412.35 -0.02%
whisper-tiny-decoder 1 409.24 413.51 -1.03%
llama2_7b 1 20.83 20.84 -0.06%
qwen1.5-7b 1 6.82 23.52 -70.99% 🔴
phi3-3.8b 1 6.90 26.73 -74.17% 🔴
llama3-8b 1 21.69 21.66 0.12%
whisper-large-encoder 1 10.17 10.18 -0.14%
whisper-large-decoder 1 105.13 106.43 -1.22%
mistral-7b 1 23.61 23.62 -0.02%
FLUX.1-schnell 1 772.52 756.55 2.11%

Regressions detected 🔴

* No develop baseline was found for this PR's branch point; compared against the latest available develop run instead.

@gh-app-migraphx-bot-pr-write

Copy link
Copy Markdown
Test Status Result
bert-mrpc-onnx PASSED: MIGraphX meets tolerance
bert-mrpc-tf PASSED: MIGraphX meets tolerance
pytorch-examples-wlang-gru PASSED: MIGraphX meets tolerance
pytorch-examples-wlang-lstm PASSED: MIGraphX meets tolerance
dlrm-criteoterabyte PASSED: MIGraphX meets tolerance
agentmodel PASSED: MIGraphX meets tolerance
unet PASSED: MIGraphX meets tolerance
resnet50v1 PASSED: MIGraphX meets tolerance
bert_base_cased_fp16 PASSED: MIGraphX meets tolerance
bert_large_uncased_fp16 🔴 FAILED: MIGraphX is not within tolerance - check verbose output
bert_large PASSED: MIGraphX meets tolerance
yolov5s PASSED: MIGraphX meets tolerance
tinyllama PASSED: MIGraphX meets tolerance
vicuna-fastchat PASSED: MIGraphX meets tolerance
whisper-tiny-encoder PASSED: MIGraphX meets tolerance
whisper-tiny-decoder PASSED: MIGraphX meets tolerance
distilgpt2_fp16 🔴 FAILED: MIGraphX is not within tolerance - check verbose output
llama2_7b PASSED: MIGraphX meets tolerance
qwen1.5-7b PASSED: MIGraphX meets tolerance
phi3-3.8b PASSED: MIGraphX meets tolerance
llama3-8b PASSED: MIGraphX meets tolerance
whisper-large-encoder PASSED: MIGraphX meets tolerance
whisper-large-decoder PASSED: MIGraphX meets tolerance
mistral-7b PASSED: MIGraphX meets tolerance
FLUX.1-schnell PASSED: MIGraphX meets tolerance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants