Skip to content

Commit

Permalink
fix: ARM's KVCache INFINITY
Browse files Browse the repository at this point in the history
  • Loading branch information
yirongjie committed Nov 30, 2023
1 parent 433d0d7 commit 9d63e57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/Types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ enum DataType {
MLLM_TYPE_COUNT,
};
enum ChlType {
BHSD = 0,
BSHD = 1,
BSHD = 0,
BHSD = 1,
};

enum Chl {
Expand Down
2 changes: 1 addition & 1 deletion src/backends/cpu/CPUKVCache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CPUKVCache final : public Op {

private:
bool support_multi_thread_ = false;
int cache_seq_len_= -INFINITY;
int cache_seq_len_= -999;
bool isK_;

int cache_limit_ ;
Expand Down

0 comments on commit 9d63e57

Please sign in to comment.