Skip to content

Commit 6641ffa

Browse files
authored
Fix potential synGraphCompile issue in per channel quant (#1853)
Signed-off-by: Fei Wang <[email protected]>
1 parent 4258572 commit 6641ffa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backends/intel_hpu/custom_ops/llama_infer/fused_quant_per_channel.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class FusedQuantPerChannel : public HpuOperator {
5555
inputs[0].type,
5656
inputs[0].dims,
5757
false,
58-
inputs[0].name);
58+
"abs_out");
5959
std::vector<synTensor> abs_outputs;
6060
abs_outputs.push_back(abs_out);
6161
status = synNodeCreate(graphHandle_,
@@ -79,7 +79,7 @@ class FusedQuantPerChannel : public HpuOperator {
7979
outputs[0].type,
8080
outputs[0].dims,
8181
false,
82-
outputs[0].name);
82+
"max_out");
8383

8484
std::vector<synTensor> max_outputs;
8585
max_outputs.push_back(max_out);

0 commit comments

Comments
 (0)