Commit c7d9568
committed
Add -igm / --ignore-recurrent-model flag to disable recurrent model checkpoint behavior
When a recurrent model (e.g. Qwen3.5-MoE) is used with the server,
checkpoints, banned strings disabling, and ctx_shift disabling are
automatically applied (from commit 'server: enable checkpoint for
recurrent models (ikawrakow#1310)'). The new -igm / --ignore-recurrent-model
flag skips all this, making recurrent models behave as non-recurrent.
- Added ignore_recurrent_model field to gpt_params (default: false)
- Added CLI parsing for -igm / --ignore-recurrent-model
- Wrapped the recurrent model block in server-context.cpp with the flag check1 parent 659526c commit c7d9568
3 files changed
Lines changed: 24 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2945 | 2945 | | |
2946 | 2946 | | |
2947 | 2947 | | |
| 2948 | + | |
| 2949 | + | |
| 2950 | + | |
| 2951 | + | |
2948 | 2952 | | |
2949 | 2953 | | |
2950 | 2954 | | |
| |||
3162 | 3166 | | |
3163 | 3167 | | |
3164 | 3168 | | |
| 3169 | + | |
3165 | 3170 | | |
3166 | 3171 | | |
3167 | 3172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
| 565 | + | |
565 | 566 | | |
566 | 567 | | |
567 | 568 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1999 | 1999 | | |
2000 | 2000 | | |
2001 | 2001 | | |
2002 | | - | |
2003 | | - | |
2004 | | - | |
2005 | | - | |
2006 | | - | |
2007 | | - | |
2008 | | - | |
2009 | | - | |
2010 | | - | |
2011 | | - | |
2012 | | - | |
2013 | | - | |
2014 | | - | |
2015 | | - | |
2016 | | - | |
2017 | | - | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
2018 | 2020 | | |
2019 | 2021 | | |
2020 | 2022 | | |
| |||
0 commit comments