Skip to content

Remove setting hardcoded value for n_seq_max in IContextParamsExtensions#1354

Merged
martindevans merged 1 commit intoSciSharp:masterfrom
Ed-Pavlov:patch-1
Mar 6, 2026
Merged

Remove setting hardcoded value for n_seq_max in IContextParamsExtensions#1354
martindevans merged 1 commit intoSciSharp:masterfrom
Ed-Pavlov:patch-1

Conversation

@Ed-Pavlov
Copy link
Contributor

It's already set from passed argument result.n_seq_max = @params.SeqMax;

Overwriting it with hardcoded value is removed
result.n_seq_max = Math.Min(Math.Max(10U, result.n_ctx / 8U), 64U /0x40/);

Ref: #1353

It's already set from passed argument `result.n_seq_max = @params.SeqMax;`

Overwriting it with hardcoded value is removed
result.n_seq_max = Math.Min(Math.Max(10U, result.n_ctx / 8U), 64U /*0x40*/);

Ref: SciSharp#1353
@martindevans
Copy link
Member

Thanks!

@martindevans martindevans merged commit c932cc6 into SciSharp:master Mar 6, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants