Skip to content

Commit 6837130

Browse files
committed
rm redundant code
1 parent c9ccbec commit 6837130

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/llama-hparams.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,6 @@ struct llama_hparams {
201201

202202
uint32_t n_pos_per_embd() const;
203203

204-
// for NoPE interval
205-
uint32_t no_rope_layer_interval = 0;
206-
207204
bool is_swa(uint32_t il) const;
208205
};
209206

src/llama-model.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15575,7 +15575,6 @@ llama_rope_type llama_model_rope_type(const llama_model * model) {
1557515575
case LLM_ARCH_ERNIE4_5:
1557615576
return LLAMA_ROPE_TYPE_NORM;
1557715577

15578-
1557915578
// the pairs of head values are offset by n_rot/2
1558015579
case LLM_ARCH_FALCON:
1558115580
case LLM_ARCH_GROK:

0 commit comments

Comments
 (0)