llama: various bug fixes (#26051)
This commit is contained in:
@@ -819,7 +819,12 @@ void llama_memory_recurrent::state_read(llama_io_read_i & io, llama_seq_id seq_i
|
||||
bool res = true;
|
||||
|
||||
res = res && state_read_meta(io, cell_count, seq_id);
|
||||
res = res && state_read_data(io, cell_count);
|
||||
|
||||
try {
|
||||
res = res && state_read_data(io, cell_count);
|
||||
} catch (...) {
|
||||
res = false;
|
||||
}
|
||||
|
||||
if (!res) {
|
||||
if (seq_id == -1) {
|
||||
|
||||
Reference in New Issue
Block a user