We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c6cefc commit 534664dCopy full SHA for 534664d
examples/models/llama2/runner/runner.cpp
@@ -239,7 +239,7 @@ Error Runner::generate(
239
ET_CHECK_MSG(
240
outputs_res.ok(),
241
"Execution of method forward failed with status 0x%" PRIx32,
242
- outputs_res.error());
+ static_cast<int32_t>(outputs_res.error()));
243
// ET_LOG(Info, "Model executed successfully.");
244
245
std::vector<EValue> outputs = outputs_res.get();
@@ -265,7 +265,7 @@ Error Runner::generate(
265
266
false,
267
"Unsupported dtype output %hhd",
268
- logits_tensor.scalar_type());
+ static_cast<int8_t>(logits_tensor.scalar_type()));
269
}
270
271
// advance the state machine
0 commit comments