Skip to content

Commit def50f6

Browse files
authored
Merge branch 'main' into export-D84081392
2 parents c74e2e5 + 38b51aa commit def50f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/models/llama/static_attention.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def __init__(
259259
}
260260

261261
rope = Rope(config)
262-
freqs = rope.get_freqs(None, config.max_seq_len)
262+
freqs = rope.get_freqs(None, config.max_context_len)
263263
self.freqs_cos = freqs[0].to(dtype)
264264
self.freqs_sin = freqs[1].to(dtype)
265265

extension/evalue_util/print_evalue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ void print_tensor(std::ostream& os, executorch::aten::Tensor tensor) {
160160
break;
161161

162162
switch (tensor.scalar_type()) {
163-
ET_FORALL_REAL_TYPES_AND2(Bool, Half, PRINT_TENSOR_DATA)
163+
ET_FORALL_REALHBBF16_TYPES(PRINT_TENSOR_DATA)
164164
default:
165165
os << "[<unhandled scalar type " << (int)tensor.scalar_type() << ">]";
166166
}

0 commit comments

Comments
 (0)