File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
examples/qualcomm/oss_scripts/llama/model Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -503,7 +503,7 @@ void ETDumpGen::set_debug_buffer(Span<uint8_t> buffer) {
503
503
Result<BufferDataSink> bds_ret = BufferDataSink::create (buffer);
504
504
ET_CHECK_MSG (
505
505
bds_ret.ok (),
506
- " Failed to write tensor with error 0x%" PRIx32,
506
+ " Failed to create data sink from debug buffer with error 0x%" PRIx32,
507
507
static_cast <uint32_t >(bds_ret.error ()));
508
508
509
509
buffer_data_sink_ = std::move (bds_ret.get ());
Original file line number Diff line number Diff line change @@ -461,7 +461,7 @@ def get_metadata(self):
461
461
"get_bos_id" : 1 ,
462
462
"get_eos_id" : 2 ,
463
463
"get_dim" : self .dim ,
464
- "get_head_dim" : self .dim // self . n_heads ,
464
+ "get_head_dim" : self .head_dim ,
465
465
"get_max_batch_size" : self .max_batch_size ,
466
466
"get_max_seq_len" : self .max_seq_len ,
467
467
"get_n_bos" : 1 ,
You can’t perform that action at this time.
0 commit comments