You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I print info->GetInputCount(), which gives 1, means it has a single input. But split_size accesses info->GetInput<TensorImpl>(1), which is the second input. Plz check this issue.
Also in ppl.nn.llm src/ppl/nn/engines/llm_cuda/ops/onnx/split_op.cc.
Line 59-62:
auto split = info->GetInput<TensorImpl>(1);
if (!split->GetBufferPtr()) {
return RC_NOT_FOUND;
}
This check seems not work.
The text was updated successfully, but these errors were encountered:
When I make a ONNX node
Split
:The ONNX split doc says that the
split
input is optional. So I did not use this input.Then I run this node with ppl.nn.llm, which gives:
I check the code in
pplnn/src/ppl/nn/oputils/onnx/reshape_split.cc
I print
info->GetInputCount()
, which gives1
, means it has a single input. Butsplit_size
accessesinfo->GetInput<TensorImpl>(1)
, which is the second input. Plz check this issue.Also in ppl.nn.llm
src/ppl/nn/engines/llm_cuda/ops/onnx/split_op.cc
.Line 59-62:
This check seems not work.
The text was updated successfully, but these errors were encountered: