Sampler order for NovelAI problems
Describe the bug When you're logged in and edit a NovelAI preset and change sampler order:
- changes are not saved, when the preset is reopened (it reverts to the default order),
- trying to use the preset in a chat results in an error from NovelAI API:
("RepeatedLogitId: '%s' was repeated in 'order'", 'temperature')
To Reproduce Steps to reproduce the behavior:
- Log in.
- Create a new NovelAI preset.
- Change the sampler order and save.
- Reopen the preset, changes are not saved.
- Create a new chat using the created preset.
- Send a message, you either receive a NovelAI API error (when streaming is off) or the chat hangs waiting for the response (streaming on).
Expected behavior
- Preset changes are saved and cause no errors.
Additional context
- This happens only when you're logged in.
- When changing the sampler order, the saved order in the DB is an array of zeros:
[0, 0, ...] - When these zeros are sent to NovelAI API, it treats it as if temperature (id = 0) was repeated multiple times.
Hopefully resolved now.
I'm sorry but at least on my end it's still not resolved 😭
When I change the sampler order and save it, it saves nicely. However, if I disable any sampler by hitting its respective icon at the bottom, save and then refresh the page, the sampler order goes back to being scrambled.
The samplers I try to disable are CFG Scale and Mirostat Tau, I don't know if that has any influence.
From: Sceik @.> Sent: Sunday, March 10, 2024 12:16:39 PM To: agnaistic/agnai @.> Cc: Kalpira @.>; Manual @.> Subject: Re: [agnaistic/agnai] Sampler order for NovelAI problems (Issue #826)
Hopefully resolved now.
— Reply to this email directly, view it on GitHubhttps://github.com/agnaistic/agnai/issues/826#issuecomment-1987206960, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BGJMBDRWTY4FJ5SWSSKY6D3YXRFKPAVCNFSM6AAAAABC6UEGV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGIYDMOJWGA. You are receiving this because you are subscribed to this thread.Message ID: @.***>